Note: This Question is unanswered, help us to find answer for this one
38. The loop created by the for...next statement is a ____ loop.
Answer
Correct Answer:
Pretest
Note: This Question is unanswered, help us to find answer for this one
39. The following is an example of a module ________.
Answer
Correct Answer:
Execution
Note: This Question is unanswered, help us to find answer for this one
40. A(n) ____ is a predefined procedure that performs a specific task and then returns a value.
Answer
Correct Answer:
Function.
Note: This Question is unanswered, help us to find answer for this one
41. A variable that has ____ scope can be used anywhere within the procedure.
Answer
Correct Answer:
Procedure
Note: This Question is unanswered, help us to find answer for this one
42. A statement that tests a value is called a ____ statement.
Answer
Correct Answer:
Conditional.
Note: This Question is unanswered, help us to find answer for this one
43. Each data type is a class from which a variable can be ____.
Answer
Correct Answer:
Instantiated
Note: This Question is unanswered, help us to find answer for this one
44. The toolbox window ____.
Answer
Correct Answer:
Displays the tools you use when creating your application's interface
Note: This Question is unanswered, help us to find answer for this one
45. The entries in a listbox are stored in the __________ property.
Answer
Correct Answer:
Items
Note: This Question is unanswered, help us to find answer for this one
46. The contents of a text box may be cleared in visual basic code by ________.
Answer
Correct Answer:
Assigning the predefined constant String.Empty to the text property
Note: This Question is unanswered, help us to find answer for this one
47. The assignment operator in visual basic is the ____ symbol.
Answer
Correct Answer:
=
Note: This Question is unanswered, help us to find answer for this one
48. The ________ operator performs string concatenation.
Answer
Correct Answer:
Ampersand (&)
Note: This Question is unanswered, help us to find answer for this one
49. The ________ operator performs division and returns the remainder.
Answer
Correct Answer:
Modulus %
Note: This Question is unanswered, help us to find answer for this one
50. The ________ control uses a label to display program status information and messages to the user.
Answer
Correct Answer:
StatusStrip
Note: This Question is unanswered, help us to find answer for this one
51. The ____ property of a control is used to specify the position of the text within the control.
Answer
Correct Answer:
TextAlign
Note: This Question is unanswered, help us to find answer for this one
52. The ____ of a variable specifies where a variable can be referenced within a program.
Answer
Correct Answer:
Scope
Note: This Question is unanswered, help us to find answer for this one
53. The ____ of a variable is defined by where it is declared within a program.
Answer
Correct Answer:
Scope
Note: This Question is unanswered, help us to find answer for this one
54. The ____ of a programming language is the set of usage rules for that language.
Answer
Correct Answer:
Syntax
Note: This Question is unanswered, help us to find answer for this one
55. The ____ method returns an integer that represents the location of the substring within the string.
Answer
Correct Answer:
IndexOf
Note: This Question is unanswered, help us to find answer for this one
56. The ____ indicates that a statement is an assignment statement.
Answer
Correct Answer:
Equal sign (=)
Note: This Question is unanswered, help us to find answer for this one
57. String variables are automatically initialized using ____.
Answer
Correct Answer:
The keyword Nothing (no data at all
Note: This Question is unanswered, help us to find answer for this one
58. You declare a class-level variable using the ____ keyword.
Answer
Correct Answer:
Private
Note: This Question is unanswered, help us to find answer for this one
59. You create a named constant using the ____ statement.
Answer
Correct Answer:
Const
Note: This Question is unanswered, help us to find answer for this one
60. The select case statement ends with the ____ clause.
Answer
Correct Answer:
End Select
Note: This Question is unanswered, help us to find answer for this one
61. The color of the text in a label control is determined by the ________ property.
Answer
Correct Answer:
ForeColor
Note: This Question is unanswered, help us to find answer for this one
62. In the code editor, ____ is used to indicate the location of an error.
Answer
Correct Answer:
A blue squiggly line
Note: This Question is unanswered, help us to find answer for this one
63. In microsoft visual basic, use the ____ statement to create a string variable.
Answer
Correct Answer:
Dim
Note: This Question is unanswered, help us to find answer for this one
64. In a case selection structure, you use the ____ keyword when you know only one end of the range.
Answer
Correct Answer:
Is
Note: This Question is unanswered, help us to find answer for this one
65. Comparison operators are also referred to as ____ operators.
Answer
Correct Answer:
Relational
Note: This Question is unanswered, help us to find answer for this one
66. Arrays that are ____ can be resized at run time.
Answer
Correct Answer:
Dynamic
Note: This Question is unanswered, help us to find answer for this one
67. Arguments are contained inside ____ after the name of the procedure to be called.
Answer
Correct Answer:
Parentheses
Note: This Question is unanswered, help us to find answer for this one
68. Another term for a selection structure is a ____ structure.
Answer
Correct Answer:
Decision
Note: This Question is unanswered, help us to find answer for this one
69. A sub procedure ____ argument(s).
Answer
Correct Answer:
Can accept any number
Note: This Question is unanswered, help us to find answer for this one
70. A module-level variable declared public is also known as a __________ variable.
Answer
Correct Answer:
Global
Note: This Question is unanswered, help us to find answer for this one
71. A form’s ____ property specifies the text that appears in the form’s title bar.
Answer
Correct Answer:
Text
Note: This Question is unanswered, help us to find answer for this one
72. A class-level variable ________.
Answer
Correct Answer:
All the three choices here. (is declared inside a class but outside any procedure, is accessible to all procedures in a class, is visible to all statements inside the class)
Note: This Question is unanswered, help us to find answer for this one
73. A class ____ is a collection of classes that can be made available for developers to use.
Answer
Correct Answer:
library
Note: This Question is unanswered, help us to find answer for this one
74. A ____ is the general shape of the characters in the text.
Answer
Correct Answer:
Font
Note: This Question is unanswered, help us to find answer for this one
75. A ____ is an item that is a visible part of a gui.
Answer
Correct Answer:
Control
Note: This Question is unanswered, help us to find answer for this one
76. ____ error messages indicate coding errors detected by the compiler.
Answer
Correct Answer:
Build
Note: This Question is unanswered, help us to find answer for this one
77. From CPU performance point of view, in a loop, is it recommended to use DoEvents?
Answer
Correct Answer:
No, but use workarounds such as: GetQueueStatus or GetInputState APIs
Note: This Question is unanswered, help us to find answer for this one
78. You have to parse all the rows in a ListView control. What is the correct statement?
Answer
Correct Answer:
for i=1 to ListView1.ListItems.Count
Note: This Question is unanswered, help us to find answer for this one
79. What is the maximum value of the Interval Property for a timer?
Answer
Correct Answer:
65.5 seconds
Note: This Question is unanswered, help us to find answer for this one
80. How do you bold an output text?
Answer
Correct Answer:
.SelBold=true
Note: This Question is unanswered, help us to find answer for this one
81. For Excel, what will the following code do? Range("A2").Select: ActiveWindow.FreezePanes = True
Answer
Correct Answer:
Freeze Row 1
Note: This Question is unanswered, help us to find answer for this one
82. What command line argument is passed to an out of process COM server to register it
Answer
Correct Answer:
regserver
Note: This Question is unanswered, help us to find answer for this one
83. What is the numeric value for the boolean "True"?
Answer
Correct Answer:
-1
Note: This Question is unanswered, help us to find answer for this one
84. Which property is required to place a control on Visual Basic 6 MDI Form?
Answer
Correct Answer:
Align Property
Note: This Question is unanswered, help us to find answer for this one
85. KeyDown is an example of a:
Answer
Correct Answer:
procedure
Note: This Question is unanswered, help us to find answer for this one
86. To make a UserControl transparent
Answer
Correct Answer:
Set BackStyle to Transparent
Note: This Question is unanswered, help us to find answer for this one
87. In Visual Basic 6, which one is NOT a parameter of connection objects open method?
Answer
Correct Answer:
Source
Note: This Question is unanswered, help us to find answer for this one
88. 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:
Answer
Correct Answer:
Interface Forwarding
Note: This Question is unanswered, help us to find answer for this one
89. Which one of the following cannot be added to a UserControl in VB6
Answer
Correct Answer:
OLE Control
Note: This Question is unanswered, help us to find answer for this one
90. For Excel... What is the shortest code that would AutoFit all rows in the active worksheet?
Answer
Correct Answer:
Cells.EntireRow.AutoFit
Note: This Question is unanswered, help us to find answer for this one
91. For Excel, what is the shortest code that would change the column width of columns L & X to 30?
Answer
Correct Answer:
Range("L:L,X:X").ColumnWidth= 30
Note: This Question is unanswered, help us to find answer for this one
92. What two methods are called from the ObjectContext object to inform MTS that the transaction was successful or unsuccessful?
Answer
Correct Answer:
SetComplete and SetAbort.
Note: This Question is unanswered, help us to find answer for this one
93. How do you make a property default in VB 6?
Answer
Correct Answer:
Set "Procedure ID" property of property to "(Default)" in "Procedure Attributes" dialog
Note: This Question is unanswered, help us to find answer for this one
94. Which one of the following property pages is not provided by Visual Basic 6
Answer
Correct Answer:
StandardLayout
Note: This Question is unanswered, help us to find answer for this one
95. In Visual Basic 6, How will you disable/hide the control box on a form?
Answer
Correct Answer:
By Setting ControlBox Property to False or by using Windows API
Note: This Question is unanswered, help us to find answer for this one
96. To debug VB 6 applications with source code using a native debugger like Visual Studio, one must
Answer
Correct Answer:
"Compile to Native Code" and enable "Create Symbolic Debug Info"
Note: This Question is unanswered, help us to find answer for this one
97. Which of the following is NOT the value of StartUpPosition property in Visual Basic 6?
Answer
Correct Answer:
4 - Automatic
Note: This Question is unanswered, help us to find answer for this one
98. What does Option Explicit refer to?
Answer
Correct Answer:
All variables must be declared before use. Their type is not required.
Note: This Question is unanswered, help us to find answer for this one
99. Which of the following is a correct example of Windows API import declaration in VB6
Answer
Correct Answer:
Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (lpvDest As Any, lpvSource As Any, ByVal cbCopy As Long)
Note: This Question is unanswered, help us to find answer for this one
100. What is the difference between LockPessimistic and LockOptimistic ADO locking types.
Answer
Correct Answer:
LockPessimistic Locks the row once after any edits occur. LockOptimistic Locks the row only when Update is called.
Note: This Question is unanswered, help us to find answer for this one
101. Lower bound of arrays in VB 6 is
Answer
Correct Answer:
Default is 0. Can be set to 1 by "Option Base 1"
Note: This Question is unanswered, help us to find answer for this one
102. What keyword ends a For loop?
Answer
Correct Answer:
Next
Note: This Question is unanswered, help us to find answer for this one
103. MDI is an IDE developed by Microsoft and stands for:
Answer
Correct Answer:
Multiple Document Interface
Note: This Question is unanswered, help us to find answer for this one
104. What type of executable can VB6 not produce?
Answer
Correct Answer:
Native DLL
Note: This Question is unanswered, help us to find answer for this one
105. What code will adjust the Zoom Level on a worksheet in Excel to 80%?
Answer
Correct Answer:
ActiveWindow.Zoom = 80
Note: This Question is unanswered, help us to find answer for this one
106. B=2 C=3 What does A=B=C output?
Answer
Correct Answer:
False
Note: This Question is unanswered, help us to find answer for this one
107. How do you prevent the screen from flickering while running a macro?