0
Alien head

Visual Studio .net Quiz - 3

Description: Visual Studio .net Quiz - 3
Number of Questions: 10
Created by:
Tags: .net visual-studio
Attempted 0/10 Correct 0 Score 0

With A = False and B = True, which statement evaluates as False?

  1. A OR A

  2. A OR B

  3. B OR A

  4. B OR B

  5. None are true.


Correct Option: A

Which TextBox method does not use the clipboard?

  1. Clear

  2. Copy

  3. Cut

  4. Paste

  5. All of these methods use the clipboard


Correct Option: A

Which TextBox property should always be changed first?

  1. AcceptsReturn

  2. BorderStyle

  3. Font

  4. Name

  5. Text


Correct Option: D

Which is not a valid value for the ListBox SectionMode Property?

  1. None

  2. One

  3. MultiSimple

  4. MultiExtended

  5. All of the above.


Correct Option: E

Setting the SelectedIndex property of a ListBox to -1 will:

  1. cause an error.

  2. cannot be done.

  3. de-select any selected item.

  4. Both a and b.

  5. All of the above.


Correct Option: C

Which method of a ListBox will remove just one item at a time?

  1. Items.RemoveAt

  2. Item.RemoveAt

  3. Items.ClearAt

  4. Item.ClearAt

  5. Items.Clear


Correct Option: A

The Items property of a ComboBox:

  1. is a collection of items.

  2. is the same as the Items property of a ListBox.

  3. contains methods and properties.

  4. Both a and b.

  5. All of the above.


Correct Option: E

Which value for the ComboBox DropDownStyle property allows a user to type in data?

  1. DropDown

  2. DropDownSimple

  3. DropDownList

  4. Both a and b.

  5. All of the above.


Correct Option: A

Which two controls combined to form the ComboBox control?

  1. ListBox and TextBox

  2. ListBox and InputBox

  3. ListBox and MsgBox

  4. Label and TextBox

  5. Label and InputBox


Correct Option: A

When a condition in an If...Then statements tests true:

  1. the next Else statement is activated.

  2. the next If statement is activated.

  3. the next Then statement is activated.

  4. the End If statement is activated.

  5. a condition can never test true.


Correct Option: C
+ View questions