1. If, Then, Else are examples of:
2. Which of the following, when inputted into the command prompt, will successfully launch the Visual Basic script file_name.vbs?
3. Visual Basic 6.0 has been replaced by:
4. The three types of Visual Basic operators are:
5. Visual Basic can do which of the following?
6. Visual Basic applications display a Windows style screen called a form.
7. When you save a project as an executable file, you are actually:
8. LoadPicture is a function of an Image control that can:
9. A variable can be assigned a value.
10. Which character must be placed at the beginning of a line to indicate that it is a comment (not considered part of the code)?
11. To declare a variable in Visual Basic, you must use the ___________ function:
12. The code to cancel out of a Loop event is:
13. What is the proper syntax for adding items to a listbox?
14. The default file type for a Visual Basic project is:
15. How to declare a variable in VB?
16. What keyword(s) end every procedure
17. Press _________ to run a program.
18. Which control can be data bound?
19. Visual Basic is an ____________ driven language.
20. What keyword starts every procedure?
21. Visual Basic is derived from:
22. Once you complete a program, you can compile it into a _________ file.
23. To create a function that returns a value you must use a:
24. How do you enter in comments without having an output?
25. To show a form, use the ____________ command.
26. The programmer can enter, edit, and view the language of Visual Basic in the:
27. The Enterprise Edition of Visual Basic is aimed at:
28. Integer is an example of a:
29. Visual Basic is considered a ___________ programming language.
30. The '&' symbol is the safest _________ operator to use in Visual Basic.
31. What is MAPI ?
32. Can you access and modify the Windows Registry by using VB Scripting?
33. How do you prevent the screen from flickering while running a macro?
34. B=2 C=3 What does A=B=C output?
35. What code will adjust the Zoom Level on a worksheet in Excel to 80%?
36. What type of executable can VB6 not produce?
37. MDI is an IDE developed by Microsoft and stands for:
38. What keyword ends a For loop?
39. Lower bound of arrays in VB 6 is
40. What is the difference between LockPessimistic and LockOptimistic ADO locking types.
41. Which of the following is a correct example of Windows API import declaration in VB6
42. What does Option Explicit refer to?
43. What is the max size allowed in characters for Msgbox Prompt and Input Box?
44. Dim x, y as integer. What is x and y data type?
45. Which of the following is NOT the value of StartUpPosition property in Visual Basic 6?
46. True or False? In Visual Basic 6, to enable automatic re-painting of MDI Form, we have to set AutoRedraw=True
47. To debug VB 6 applications with source code using a native debugger like Visual Studio, one must
48. In Visual Basic 6, How will you disable/hide the control box on a form?
49. Which one of the following property pages is not provided by Visual Basic 6
50. How do you make a property default in VB 6?
51. What two methods are called from the ObjectContext object to inform MTS that the transaction was successful or unsuccessful?
52. What is the correct entry:
53. For Excel, what is the shortest code that would change the column width of columns L & X to 30?
54. For Excel... What is the shortest code that would AutoFit all rows in the active worksheet?
55. Which one of the following cannot be added to a UserControl in VB6
56. When an ActiveX project is compiled, its COM interface can be preserved by using Binary Compatibility. Between compilations VB creates different interfaces for modified parts of classes. This is called:
57. In Visual Basic 6, which one is NOT a parameter of connection objects open method?
58. To make a UserControl transparent
59. KeyDown is an example of a:
60. Which property is required to place a control on Visual Basic 6 MDI Form?
61. What is the numeric value for the boolean "True"?
62. What is the window class of a debugged MDI application in VB6
63. What command line argument is passed to an out of process COM server to register it
64. For Excel, what will the following code do? Range("A2").Select: ActiveWindow.FreezePanes = True
65. How do you bold an output text?
66. What is the maximum value of the Interval Property for a timer?
67. You have to parse all the rows in a ListView control. What is the correct statement?
68. From CPU performance point of view, in a loop, is it recommended to use DoEvents?
69. ____ error messages indicate coding errors detected by the compiler.
70. A ____ is an item that is a visible part of a gui.
71. A ____ is the general shape of the characters in the text.
72. A class ____ is a collection of classes that can be made available for developers to use.
73. A class-level variable ________.
74. A form’s ____ property specifies the text that appears in the form’s title bar.
75. A module-level variable declared public is also known as a __________ variable.
76. A sub procedure ____ argument(s).
77. Another term for a selection structure is a ____ structure.
78. Arguments are contained inside ____ after the name of the procedure to be called.
79. Arrays that are ____ can be resized at run time.
80. Comparison operators are also referred to as ____ operators.
81. In a case selection structure, you use the ____ keyword when you know only one end of the range.
82. In microsoft visual basic, use the ____ statement to create a string variable.
83. In the code editor, ____ is used to indicate the location of an error.
84. The color of the text in a label control is determined by the ________ property.
85. The select case statement ends with the ____ clause.
86. You create a named constant using the ____ statement.
87. You declare a class-level variable using the ____ keyword.
88. String variables are automatically initialized using ____.
89. The ____ indicates that a statement is an assignment statement.
90. The ____ method returns an integer that represents the location of the substring within the string.
91. The ____ of a programming language is the set of usage rules for that language.
92. The ____ of a variable is defined by where it is declared within a program.
93. The ____ of a variable specifies where a variable can be referenced within a program.
94. The ____ property of a control is used to specify the position of the text within the control.
95. The ________ control uses a label to display program status information and messages to the user.
96. The ________ operator performs division and returns the remainder.
97. The ________ operator performs string concatenation.
98. The assignment operator in visual basic is the ____ symbol.
99. The contents of a text box may be cleared in visual basic code by ________.
100. The entries in a listbox are stored in the __________ property.
101. The toolbox window ____.
102. Each data type is a class from which a variable can be ____.
103. A statement that tests a value is called a ____ statement.
104. A variable that has ____ scope can be used anywhere within the procedure.
105. A(n) ____ is a predefined procedure that performs a specific task and then returns a value.
106. The following is an example of a module ________.
107. The loop created by the for...next statement is a ____ loop.
108. The syntax ____ assigns a return value to a variable.
109. When defining a variable, the keyword ____ appears at the beginning of the statement.
110. When you use a range check, you compare a variable to the _____ value in the range.
111. You use the _________ operator to access members of an object.
112. Common ides include visual studio and ____.
113. The symbol used in code for assignment is the ____ symbol.
114. By default, parameters are defined as ______________ parameters.
115. If you want to display multiple lines of information in a message box, use the constant ________.
116. Programs should use comments (remarks) to ________.
117. A derived class always ____ case or instance of the more general base class.
118. All objects in an object-oriented program are instantiated (created) from a ____.
119. The method that removes characters from only the right end of a string is the ____ method.
120. The windows ____ window allows you to create the graphical user interface for your application.
121. To remove characters from only the beginning of a string, use the ____ method.
122. The _____ keyword is required to use relational operators in a case statement.
123. The character d is the literal-type character for the ____ data type.
124. The data type string has a named constant, ____, associated with it.
125. A ____ exception occurs when code attempts to divide a number by zero.
126. The inputbox function always returns a __________ value.
127. When a project executes, its __________ is automatically displayed.
128. Traditional database application programs are written in object-oriented languages like ________.
129. A variable that has block scope can be used ____.
130. The ____ control element is used to create a custom button.
131. A ____ procedure completes its task but does not return any data to the calling procedure.
132. A ____ provides an area in the form for the user to enter data.
133. A unique number called a(n) ____ identifies each item in a collection.
134. A(n) _____ describes information about an object.
135. You use the ____ keyword when you know only one end of a range (either the upper or lower end).
136. To execute code in a procedure, a procedure ____ must be made.
137. You can use a(n) ____ to visually separate related controls from other controls on the form.
138. Visual basic provides the ____ method for accessing any number of characters contained in a string.
139. The expression isnumeric(13.75) returns the value __________.
140. In recent years, artists have produced ____ sculptures by welding, riveting, and soldering.
141. The code template for an event handler identifies it as a type of __________ procedure.
142. The statement ____ assigns the string madrid to the first element in the strcities array.
143. The ____ operator is evaluated last in the following expression: 9 * 2 - 8>5 + 2 / 2.
144. The default combo box style in visual basic is ____.