0% found this document useful (0 votes)
296 views

VB One Mark

This document contains 47 multiple choice questions about Visual Basic concepts and features. Some key points covered include: - Option buttons can allow for multiple selections from choices. - The menu bar contains controls for the form. - Variables declared at the module level are available to all procedures in the module. - Static variables retain their value between procedure calls. - Dynamic arrays can be declared without knowing the exact size at design time. - The IDE stands for Integrated Development Environment.

Uploaded by

Vimal Kumar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
296 views

VB One Mark

This document contains 47 multiple choice questions about Visual Basic concepts and features. Some key points covered include: - Option buttons can allow for multiple selections from choices. - The menu bar contains controls for the form. - Variables declared at the module level are available to all procedures in the module. - Static variables retain their value between procedure calls. - Dynamic arrays can be declared without knowing the exact size at design time. - The IDE stands for Integrated Development Environment.

Uploaded by

Vimal Kumar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 12

VISUAL BASIC

Multiple Choice Questions.

1. One or more option button controls can be selected from choices.


A. multiple.
B. single.
C. dual.
D. parallel.
ANSWER: A

2. bar contains a set of tools to provide controls in the Form.


A. Status.
B. Tool
C. Menu.
D. Progress.
ANSWER: C

3. Debug window is the same as window.


A. procedure.
B. object.
C. form.
D. code.
ANSWER: D

4. is a data type that can be used to declare a text of maximum 10 million characters.
A. String.
B. Numeric.
C. Single precision.
D. Date.
ANSWER: A

5. A module-level is available to all the in the module.


A. data.
B. procedures.
C. event.
D. task.
ANSWER: B

6. variables are not reinitialized each time Visual basic invokes a procedure and thus retains or
preserves value even when a procedure ends.
A. Static.
B. Dynamic.
C. Virtual.
D. Currency.
ANSWER: A

7. Code window consists of a box and procedure list box.


A. object.
B. event.
C. tool.
D. message.
ANSWER: A
of 36 8/16/2013 2:21 AM
8. The statement checks in the module for usage of any undeclared variables and reports an error to
the user.
A. looping.
B. iteration.
C. dim.
D. external.
ANSWER:
C

9. Dynamic arrays can be declared when the user may not know the of the array at design time.
A. exact column.
B. exact variable.
C. exact value.
D. exact size.
ANSWER: D

10. Variables are named storage locations in memory, the value of which does not change during program
.
A. design.
B. execution.
C. debug.
D. modification.
ANSWER: B

11. Variables of different data types when combined as a single variable to hold several related information
is called as data types.
A. numeric.
B. user defined.
C. string.
D. byte.
ANSWER:
B

12. function translates a numeric value to a variable.


A. Message.
B. Build In.
C. Val.
D. Mod.
ANSWER: C
13. box provides a set of choices to the user.
A. List.
B. Command.
C. Combo.
D. Text.
ANSWER: A

14. All the controls in an array will have the same .


A. Value.
B. properties.
C. address.
D. location
ANSWER:
of 36 8/16/2013 2:21 AM
B
E.

15. The property in Visual basic is common for many a tools.


A. location.
B. place.
C. window status.
D. name.
ANSWER: D

16. Option button can be grouped in a control.


A. label.
B. text box.
C. frame.
D. check box.
ANSWER: C

17. A bar appears in the top of the screen.


A. title.
B. menu.
C. tool.
D. debug.
ANSWER: A

18. A disabled menu item does not appear in the bar.


A. menu.
B. standard.
C. status.
D. title.
ANSWER: A

19. A menu can include a maximum of levels of sub menus.


A. 2.
B. 4.
C. 6.
D. 8.
ANSWER:
C

20. Form_Mouse Down ( ) procedure is executed when any mouse button is clicked in a free area of the
.
A. window.
B. form.
C. screen.
D. property.
ANSWER:
B

21. is a tool used in visual basic to draw rectangle in the form.


A. Textbox.
B. Option button.
C. Command button.
D. Shape.
of 36 8/16/2013 2:21 AM
ANSWER: D

22. In visual basic is the extension to represent project file.


A. .frm.
B. .vbp.
C. .cls.
D. .txt.
ANSWER:
B

23. In default numbers of tools exist in


toolbox. A. 20.
B. 15.
C. 10.
D. 8.
ANSWER: A

24. method removes a dialog box from view.


A. Display.
B. Active.
C. Hide.
D. Enabled.
ANSWER: C

25. The property of a form automatically sizes the picture loaded to it.
A. auto size.
B. default.
C. size.
D. height.
ANSWER: A

26. While entering a new project option to be select from the dialog box.
A. open exe.
B. standard exe.
C. activex exe.
D. activex dll .
ANSWER: B

27. The control used to insert image to the form.


A. text box.
B. shape.
C. option.
D. picture.
ANSWER: D

28. The Line method can be used to draw shape in VB.


A. rectangle.
B. circle.
C. ellipse
D. oval
of 36 8/16/2013 2:21 AM
ANSWER: A

29. There can be only MDI form in an application.


A. four.
B. two.
C. one.
D. zero.
ANSWER: C

30. In Visual basic more than one child is allowed to add in project.
A. form.
B. window.
C. property.
D. codings.
ANSWER: A

31. Status bar appears at the of the MDI form.


A. top.
B. bottom.
C. left.
D. right.
ANSWER:
B

32. The keyboard refers to current form in Vb project.


A. me.
B. current.
C. form.
D. case.
ANSWER: A

33. Scroll bar is of types in Visual basic for usage.


A. two.
B. four.
C. five.
D. six.
ANSWER: A

34. The width of any tool in visual basic can be changed at time.
A. run.
B. debug.
C. design.
D. edit.
ANSWER: C

35. The Visual basic programming is based programming concept in general.


A. CUI.
B. logical.
C. concept.
of 36 8/16/2013 2:21 AM
D. GUI.
ANSWER: D

of 36 8/16/2013 2:21 AM
36. . The IDE stands for .
A. Integrated Development Environment.
B. Integer Development Environment.
C. Information Development Environment
D. Internal Development
Environment. ANSWER: A

37. The is a tool used for both the Input and output purpose.
A. command button.
B. text box.
C. label.
D. list box.
ANSWER: B

38. property is related with Command button specific for displaying picture
A. Down picture.
B. Picture.
C. Height.
D. Object.
ANSWER: A

39. is a tool used in form window for grouping the option button.
A. Label.
B. Group.
C. Frame.
D. Shape.
ANSWER:
C

40. The list of forms will display in tree like structure in window.
A. form.
B. project explorer.
C. property.
D. form layout.
ANSWER: B

41. The menu used for adding tools in to existing tools box.
A. file.
B. view.
C. project.
D. format.
ANSWER:
C
42. The menu is used for executing the program in Visual basic.
A. run.
B. tools.
C. insert.
D. window.
ANSWER: A

of 36 8/16/2013 2:21 AM
43. In visual basic the declaration of variables is done by key word.
A. int.
B. dim.
C. else
D. declare.
ANSWER:
B

44. In visual basic types of scroll bars available in visual basic.


A. two.
B. three.
C. four.
D. five.
ANSWER: A

45. While designing the visual basic there are methods used for adding a tools in to form window.
A. five.
B. four.
C. three.
D. two.
ANSWER: D

46. In VB the main form consist of more than one sub form is called .
A. subordinate.
B. child.
C. super.
D. second level.
ANSWER: B

47. The is shortcut key used for execution of visual basic program.
A. F7.
B. F2.
C. F5.
D. F9.
ANSWER:
C

48. Among the events in VB, the Load event is associated with .
A. command button.
B. label.
C. text box.
D. form.
ANSWER: D

49. The Data Report designer is broken into different sections.


A. two.
B. six.
C. eight.
D. ten.
ANSWER: B

of 36 8/16/2013 2:21 AM
50. window is used to align the form execution in desired position or location.
A. form layout.
B. property.
C. project explorer.
D. coding.
ANSWER: A

51. In coding window, the programming statement has been written in the .
A. block.
B. group.
C. event.
D. property.
ANSWER:
C

52. event will execute automatically at the activation of the tool.


A. GotFocus
B. LostFocus
C. Enabled.
D. Click.
ANSWER: A

53. The key is used as control key on moving around the form without mouse.
A. Spacebar.
B. enter.
C. shift
D. tab.
ANSWER: D

54. In command button the property is used to change the label value for any content.
A. name.
B. font.
C. caption.
D. height.
ANSWER:
C

55. In visual basic the file consist of complete coding and form design.
A. project.
B. form.
C. class.
D. module.
ANSWER: A

56. Self Length Property is supported by control in VB.


A. label.
B. text box.
C. command button.
D. option button.
ANSWER: B

of 36 8/16/2013 2:21 AM
57. In multiple form based project the current form represented by keyword.
A. me.
B. load.
C. class.
D. form.
ANSWER: A

58. Like text box, is another tool used for display / output the information.
A. input box.
B. frame.
C. label.
D. message box.
ANSWER: D

59. Among the various properties of the tools in VB, in general property in not supposed to change
the value at maximum time.
A. caption.
B. name.
C. height.
D. color.
ANSWER:
B

60. property is used to hide the tool in run time by setting value as false.
A. visible.
B. enabled.
C. hide.
D. delete.
ANSWER: A

61. SDI stands for .


A. Simple Document Interface.
B. Single Document Interface.
C. Sample Document Interface.
D. Simple Document Internal.
ANSWER: A

62. is a command used to come out of the loop.


A. break.
B. continue.
C. case.
D. elseif.
ANSWER: A

63. The component option is used to insert new tool in to the toolbox, menu is used.
A. file.
B. view.
C. project.
D. help.
ANSWER: C

of 36 8/16/2013 2:21 AM
64. boxes display information in a dialog box superimposed on the form.
A. Input.
B. Message.
C. Text.
D. List.
ANSWER:
B

65. In VB the order in which you create the controls is the order used by using key
A. tab.
B. Spacebar.
C. caps.
D. scroll.
ANSWER: A

66. In visual basic the value is equivalent to the vb YES NO button in message box.
A. 2.
B. 4.
C. 6
D. 8.
ANSWER:
B

67. The F5 is key pressed the event of form is executed first.


A. activate.
B. got focus.
C. initialize.
D. paint procedure.
ANSWER: C

68. ASCII stands for .


A. American Standard Code for Information Interchange.
B. American Source Code for Information Interchange.
C. American Source Code for Information Interface.
D. American Standard Code for Interval Interface.
ANSWER: A

69. In coding window the shortcut key is used to find the particular character or code.
A. Ctrl + Q.
B. Ctrl + F.
C. Alt + F.
D. Alt + Q.
ANSWER:
B

70. The right hand drop down list box in the coding window is called list box.
A. procedure.
B. event.
C. task.
D. content.
ANSWER: A
of 36 8/16/2013 2:21 AM
71. The shortcut is used to get the QuickInfo option in visual basic.
A. Ctrl + Q.
B. Ctrl + Z.
C. Ctrl + I.
D. Ctrl + F.
ANSWER:
C

72. In visual basic the, Visible property consists state.


A. 6.
B. 4.
C. 2.
D. 1.
ANSWER:
C

73. The data type is the default and standard type used in programming side.
A. variant.
B. string.
C. numeric.
D. byte.
ANSWER: A

74. In data type the prefix used to represent the Boolean data.
A. bcl.
B. bln.
C. bct.
D. bty.
ANSWER:
B

75. The function returns a string stored in a variant data type.


A. Chr.
B. Str.
C. Char.
D. String.
ANSWER: A

of 36 8/16/2013 2:21 AM

You might also like