Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. What is the difference between “Save” and “Save All” buttons on ToolBar of Vi

ID: 3593820 • Letter: 1

Question

1. What is the difference between “Save” and “Save All” buttons on ToolBar of Visual Studio application?

2. Where can we find controls used to build GUI?

a)Menu bar

b)Toolbar

c)Solution Explorer window

d)Toolbox

3. Which event occurs before a Form is displayed for the first time?

a)Enter

b)Activated

c)GotFocus

d)Load

4. Which event closes a Form?

a)Close

b)Stop

c)End

d)Exit

5.During run time, the text displayed in a TextBox can be changed by the person using the application.

                        True                 False

6.Which property of the TextBox control do you have to change, if you want indicate the character for password input?

a)Asterisk

b)Password

c)PIN

d)PasswordChar

7. What does “Clear” method of the TextBox control stand for?

8. During run time, the text displayed in a Lable can be changed by the person using the application.

                        True                 False

9. What does TextAlign property of the control determine?

        

        

10. When does “Click” event of the Button control occur?

11.What property of the VB .NET controls determine whether an object displays at run time?

a)Visible

b)Show

c)LookAtMe

d)Enabled

12. What property of the VB .NET controls do we use to disable the control?

a)Name

b)Visible

c)Enable

d)Text

13. What is GroupBox control used for?

14.Which property of the CheckBox control determines whether it is selected or not?

a)Text

b)Selected

c)Checked

d)AutoCheck

15. Examine the following code. What message will appear when Button1 is clicked?

Private Sub Button1_Click (…)…

TextBox1.Text = “Hi”

Label1.Text = “Bye”

Label1.Text = TextBox1.Text

MessageBox.Show(Label1.Text)

End Sub

16. You have Button btn1 and TextBox txt1 on the form.

Please, write the code, which would show the message “I like [text from the TextBox]” when btn1 is clicked.

Explanation / Answer

1.

Save is used to save the files to the local disk

Save All is used to save the files to the local disk and also it will save the files to the database.

2.

Answer: b)Toolbar

The controls used to build GUI will in the tool bar. By using the the toolbar we have the different option in order to control the GUI.

3.

Answer: d)Load

Before a Form is displayed for the first time the event will be the Load.
Why because if anything is opening for the first time then processor will take some time to load and fetch the data.

4.

Answer: a)Close

Close is the event in order to close the form.

5.

Answer: True

Its true that during the run time the text displayed in a TextBox can be changed by the person using the application.
If it is off time then the application will not work in that case we can edit the text.

6.

Answer: d)PasswordChar

PasswordChar is the property for the TextBox control to have change if we want indicate the character

If the PasswordChar property is set then the cut and copy options will be in the control by using the keyboard which cannot be performed.
  

7.

The “Clear” method of the TextBox control stand for clearing the text from the textbox.


13.

GroupBox controls are used for providing the identifiable grouping for other controls.

14.

Answer: c)Checked

This property of the CheckBox control determines whether the CheckBox control is checked.