Visual Basic MCQ-5



1.    Which is not a standard dialog box?
[a] ColorDialog
[b] FontDialog
[c] OpenDialog
[d] PrintDialog
[e] ZoomDialog
2.    Why are standard dialog boxes used?
[a] They are easy to create.
[b] They provide functionality familiar to users.
[c] Developers can create their own versions of Dialog boxes.
[d] Both a and b.
[e] All of the above.
3.    The standard prefix for a dialog control is:
[a] dal.
[b] dia.
[c] dil.
[d] dlc.
[e] dlg.
  1. A RichTextBox Control support ............... file  
[a] .doc
[b] .txt
[c] .rtf
[d] None.
5.    What is the method used to activate the color dialog box?
[a] ActivateDialog
[b] DisplayDialog
[c] ExhibitDialog
[d] ShowDialog
[e] StartDialog
6.    The name of the class used to programmatically create a font dialog box is:
[a] Font.
[b] FontBox.
[c] FontDialog.
[d] FontDisplay.
[e] FontDialogBox.
7.    Which control lets you display information in a hierarchical structure.
[a] TreeView
[b] ListView
[c] ListBox
[d] StatusBar
8.    Which style of StatusBar panel can be modified by your program ?
[a] sbrText
[b] sbrCaps
[c] sbrNum
[d] sbrIns
9.    What property of the ProgressBar determines how much of the bar is filled.
[a] Min
[b] Max
[c] Value
[d] All of the above.
10. All of the following statement are true about toolbars except :
[a] You can have only one toolbar on a form
[b] Toolbar can be positioned anywhere on the form
[c] Toolbars can be customized by the user.
[d] Toolbar buttons can display both text and images.
11. How many root nodes can a TreeView control have ?
[a] One
[b] Up to five
[c] Maximum of two
[d] No limit
12. Which property of the ListView control determines which field a sort I
[a] Sorted
[b] SortOrder
[c] SortField
[d] SortKey