Upgrade to remove ads
In a For...Next statement, if stepvalue is positive, then startvalue must be ____ endvalue for the loop instructions to be processed.
less than or equal to
You can use a ____ to display a list of choices from which the user can select zero choices, one choice, or more than one choice.
If the stepvalue is omitted when coding a For...Next statement, at execution time the stepvalue is ____.
A Function procedure does not return a value after performing its assigned task.
The procedure footer for a Sub procedure is always 'End Procedure'
When the ByVal keyword is used on a Sub procedure's parameterlist the original data may be changed.
In Visual Basic, passing a variable's address is referred to as passing 'by reference'.
In Visual Basic, the Insert method is used to insert characters within a string.
In most cases, the last statement in a Function procedure is the ____ statement.
In a ____ combo box, the text portion is editable, and the user must click the list arrow to view the list portion
Like list boxes, combo boxes have a ____ property that you can use to arrange the items in the list in order.
To get or set the value that appears in the text portion of the combo box, you use the ____ property.
You invoke a function that you create in exactly the same way as you invoke a built-in function: you ____.
include the function's name in a statement or assignment statement
When passing arguments, if the programmer wants to preserve the original variable, the programmer should pass the variable by ____.
When passing arguments, if the programmer wants to grant access to the original variable, the programmer should pass the variable by ____.
Each character in a string is assigned a unique number that indicates its position in the string; the number is called a(n) ____.
The following instruction will remove which character from the string first? Dim myString as string = 'ABCDEFGH' myString = myString.Remove(2, 3)
Assume that a text box named PhoneNumberTextBox appears on the form, and contains the phone number 414-555-5555. What value will display for the length of the phone number text box?
What is the value returned from the expression stateName.Substring(1,1) when stateName contains 'North Dakota'?
Assume that the value of the string message is 'Happy New Year'. What value would message.IndexOf('New') yield?
Each menu element is considered a(n) ____
The ____ property of a menu element is used by a programmer to refer to the menu element in code.
What is the value of stringIn after executing the following code segment in Visual Basic? Dim stringIn as String = 'abc1234' Mid(stringIn, 3, 1) = 'd'
You can use the ____ method to insert characters anywhere within a string.
You can ____ For Each...Next statements, which means that you can place one For Each...Next statement within another For Each...Next statement.
Which of the following statements can be used to code a loop whose instructions you want to process 10 times?
Either Do...Loop or For...Next
Which of the following methods allows you to add items to a list box?
The items in a list box belong to the ____ collection
Which of the following properties stores the index of the item selected in a list box?
A function can return one or more values to the statement that invoked it.
The items listed in the Call statement are referred to as _____
Each memory location listed in the parameterList in the procedure header is referred to as ____
To determine whether a variable is being passed to a procedure by value or by reference you examine
the procedure header
The name of each argument in the Call statement should be identical to the name of its corresponding parameter in the procedure header
THe memory locations listed in the parameterList in a procedure header have procedure scope and are removed from the computer's internal memory when a procedure ends
Which property is used to specify a combo box's style
The ________ Event occurs when the user either types a value in the text portion of a combo box or selects a different item in the list portion
A form's ____ event is triggered when you click the Close button on its title bar or process Me.Close
A horizontal line in a menu is called ____
a separator bar
You should assign shortcut keys to commonly used menu titles
Which of the following statements sorts the intQualities array in ascending order?
If the elements in two arrays are related by their subscripts, the arrays are called ________ arrays.
Which statement is used to create a user-defined data type?
In most applications, the code to define a user-defined data type is entered into the form's ________
If the file to be opened exists, the _______ method erases the files contents
The AppendText method creates a ________ object.
WHich object connects a database to a DataSet
The ____ property stores an integer that represents the location of the record pointer in a dataset.
BindingSource object's Position
Which object provides the connection between a DataSet object and a control on a form?
Upgrade to remove ads