Site MapHelpFeedbackMultiple Choice Quiz
Multiple Choice Quiz
(See related pages)

1
Use the _______ control from the toolbox to create list boxes on a form
A)List
B)ListBox
C)ComboBox
D)SimpleList
2
A _______ control contains a text box as part of the control
A)Frame
B)ListBox
C)ComboBox
D)DropDownList
3
Which of the following is NOT a style for combo boxes?
A)Simple
B)DropDown
C)DropDownList
D)SimpleList
4
List boxes and combo boxes _______.
A)Are created with the same tool from the toolbox
B)Have a Text property during design time
C)Hold a list of values
D)Always have scroll bars
5
Items can be added to a list during design time using the _________ collection.
A)AddLists
B)Items
C)ItemsAdd
D)AddItems
6
Values for the items in a list _______.
A)Can be entered in the Items collection in the Properties window
B)Can be entered in the Values collection in the Properties window
C)Can be entered in the AddItem collection in the Properties window
D)Must be entered in alphabetical order
7
The data that appears in a combo box when it is first displayed can be added to the combo box _______.
A)Using the Form_Load procedure and the combo box Items.Add method
B)During design time in the Items Collection of the combo box
C)Using the ComboBox.Add () method
D)Answers A and B are correct.
8
Items can be added to a list during run time using the _________ method
A)AddLists
B)Lists
C)ItemsAdd
D)Items.Add
9
Items in a list can be placed in alphabetical order by _______.
A)Setting the Sorted property to true
B)Selecting the item in the list and then using the arrow keys to move the item up or down the list
C)Setting the Alphabetize property to true
D)Setting the Index property to 1
10
Which of the following instructions will add the word, monkey, to a list box named AnimalsListBox?
A)AnimalsListBox.Insert(monkey)
B)AnimalsListBox.Insert ("monkey")
C)AnimalsListBox.Items.Add(monkey)
D)AnimalsListBox.Items.Add("monkey")







Bradley:Programming in VB 2008Online Learning Center

Home > Chapter 7 > Multiple Choice Quiz