Term
|
Definition
| The right side of an assignment statement will hold: |
|
|
Term
Both A and B (an object property and a variable.)
|
|
Definition
The left side of an assignment statement will hold: |
|
|
Term
|
Definition
Which is a valid statement for declaring a variable? |
|
|
Term
Both A and B (Integer and Floating Point.)
|
|
Definition
Which is a numeric data type? |
|
|
Term
|
Definition
| The TextBox can both get input from the user and give output to the user. |
|
|
Term
|
Definition
| A dialog box is like a pop-up window that gets input from and provides output to the end user. |
|
|
Term
|
Definition
| The equal sign (=) is used both as a comparison operator and an assignment operator. |
|
|
Term
|
Definition
|
|
Term
|
Definition
|
|
Term
|
Definition
If X = 2 and Y = 6, then 4 + Y / X = 5. |
|
|
Term
|
Definition
| If X = 3 and Y = 2, then X ^ 2 * Y = 18. |
|
|
Term
|
Definition
Using comparison operators will always result in a logical output. |
|
|
Term
|
Definition
| Using arithmetic operators will always result in a logical output. |
|
|
Term
|
Definition
Variables, constants, and operators are combined to form expressions. |
|
|
Term
|
Definition
| You can declare more than one variable with a single Dim statement. |
|
|
Term
|
Definition
Boolean data types have three possible values: true, false, or null. |
|
|
Term
|
Definition
| There are two types of integer data types: numeric and floating point. |
|
|
Term
|
Definition
| Every variable has a name, data value, and data type. |
|
|
Term
|
Definition
| Document remarks are comments found at the beginning of a project file that state the author, purpose, and creation date of the project. |
|
|
Term
|
Definition
The term MOD is used for: |
|
|
Term
|
Definition
| What is the correct result of the equation: 2 + 3 * 4? |
|
|
Term
|
Definition
| What is the correct result of the equation: 2 * 2 ^ 3? |
|
|
Term
All of the above are appropriate rules for naming variables.
(Use a descriptive name for the variable; do not use a reserved programming language word as a variable; Use nothing but letters, digits, or the underscore character; Start the name of a variable with a letter)
|
|
Definition
| Which is not a rule for naming variables? |
|
|
Term
| language used to create a computer program. |
|
Definition
|
|
Term
| logical design of a computer program. |
|
Definition
|
|
Term
|
Definition
| The operations of Division and Integer Division have the same precedence. |
|
|
Term
|
Definition
| The Exponentiation Operation has the highest precedence. |
|
|
Term
|
Definition
| The programmer can change the operator precedence by using parentheses. |
|
|
Term
|
Definition
| A flow chart is a graphical representation of a program's logic. |
|
|
Term
|
Definition
| A variable has two parts, a name and the data value, both of which can change while the program is running. |
|
|
Term
|
Definition
| The assignment statement has two parts: an expression and a variable. |
|
|
Term
|
Definition
| GUI stands for Graphical User Interface. |
|
|
Term
|
Definition
| The Designer Window holds the forms that belong to the project. |
|
|
Term
|
Definition
| Controls, such as buttons and labels, can be found in the Toolbar. |
|
|
Term
|
Definition
| Comments begin with the double quote symbol ("). |
|
|
Term
|
Definition
| Visual Basic allows developers to quickly create a Windows application by using pre-built components. |
|
|
Term
|
Definition
| Two examples of pre-built graphical objects are Forms and Controls. |
|
|
Term
|
Definition
| Visual Basic is considered a Rapid Application Development system because it is easy to create new Windows application with the reuse of existing objects. |
|
|
Term
|
Definition
| The only way to write a comment in Visual Basic is to use the single quote ('). |
|
|
Term
|
Definition
| There are three blocks of statements in an IF statement. |
|
|
Term
|
Definition
For the following questions, evaluate the compound conditions based on X = 4, Y = 7, and Z = 4.
(Z = 6) OR (Y=7)
|
|
|
Term
|
Definition
All conditions of an IF statement can evaluate to a Boolean expression. |
|
|
Term
|
Definition
For the following questions, evaluate the conditions based on C = 10, D = 3, and E = 8.
C = D
|
|
|
Term
|
Definition
For the following questions, evaluate the conditions based on C = 10, D = 3, and E = 8.
D <> E
|
|
|
Term
|
Definition
For the following questions, evaluate the conditions based on C = 10, D = 3, and E = 8.
C > E
|
|
|
Term
|
Definition
For the following questions, evaluate the conditions based on C = 10, D = 3, and E = 8.
C < D
|
|
|
Term
|
Definition
For the following questions, evaluate the conditions based on C = 10, D = 3, and E = 8.
D >= E
|
|
|
Term
|
Definition
For the following questions, evaluate the conditions based on C = 10, D = 3, and E = 8.
C <= E
|
|
|
Term
|
Definition
The logical operator joins two conditions. |
|
|
Term
|
Definition
| The OR operator is a logical operator. |
|
|
Term
|
Definition
For the following questions, evaluate the compound conditions based on X = 4, Y = 7, and Z = 4.
NOT (Z = 5)
|
|
|
Term
|
Definition
For the following questions, evaluate the compound conditions based on X = 4, Y = 7, and Z = 4.
(X = Z) AND (X = Y)
|
|
|
Term
|
Definition
For the following questions, evaluate the compound conditions based on X = 4, Y = 7, and Z = 4.
(X = Z) AND (Y = 7)
|
|
|
Term
|
Definition
For the following questions, evaluate the compound conditions based on X = 4, Y = 7, and Z = 4.
(Z = 6) OR (Y=7)
|
|
|
Term
|
Definition
| For A = 4 and B = 8 which evaluates as true? |
|
|
Term
|
Definition
| For A = 4 and B = 4 which evaluates as true? |
|
|
Term
|
Definition
| What does a compound condition use to join two conditions? |
|
|
Term
|
Definition
| Which is not a type of error programmers look for? |
|
|
Term
| Signals the end of a list of data |
|
Definition
|
|
Term
| A block of statements is executed a known number of times |
|
Definition
The For...Next Loop is used when: |
|
|
Term
|
Definition
| Each For loop has an initial, final and step value. |
|
|
Term
|
Definition
If you don't initialize a counter or accumulator, the program will fail. |
|
|
Term
|
Definition
To use a While Loop the programmer must know how many times the body of the loop will be executed. |
|
|
Term
|
Definition
| A sentinel value is used to indicate that the user is done inputting data. |
|
|
Term
|
Definition
| Processing the number of students in a class is best done with a While loop because the number of students might change. |
|
|
Term
|
Definition
The body of the While loop will not run if the condition evaluates to true. |
|
|
Term
|
Definition
| The difference between the pre-test and post-test While loop is that the pre-test will always go through the body of the loop at least once before testing the condition statement. |
|
|
Term
|
Definition
| A nested loop is a loop inside the body of another loop. |
|
|
Term
|
Definition
| The Count variable of an outer loop can be used as the Final value of an inner loop. |
|
|
Term
|
Definition
| Only a loop of the same type can be used as an inner loop. |
|
|
Term
| Counters and accumalators are typically found inside loops. |
|
Definition
|
|
Term
| Counters are updated by 1; accumalators are updated by the value of a variable |
|
Definition
| Which statement is true? . |
|
|
Term
All are valid types of statements
(other loops; assignment; input; output)
|
|
Definition
| Which type of statement cannot be run inside a loop? |
|
|
Term
|
Definition
| If a While condition evaluates to true the loop will continue. |
|
|
Term
|
Definition
| Any For...Next statement can be re-written as a Do...Loop. |
|
|
Term
|
Definition
| Negative values are not allowed for the stepvalue. |
|
|
Term
|
Definition
| The For...Next loop exits when the loop variable exceeds the end value. |
|
|
Term
|
Definition
| Logic errors are the hardest types to find. |
|
|
Term
|
Definition
In the For...Next statement the default value for the Step is: |
|
|
Term
Both A and B
(creating controls and assigning them to the array; assigning existing controls to the array)
|
|
Definition
An array of controls can be populated by: |
|
|
Term
|
Definition
| The methodology where code is broken into small, logical procedures is called: |
|
|
Term
All of the above
(sub; event; function)
|
|
Definition
| Which is a type of procedure found in VB.Net? |
|
|
Term
|
Definition
| An array can hold controls as their datatype. |
|
|
Term
|
Definition
| An array consists of multiple elements. |
|
|
Term
|
Definition
| A function can act like an expression in an assignment statement. |
|
|
Term
|
Definition
| Double clicking on a Button control in the Designer window will automatically create a click event procedure stub in the Code Editor window. |
|
|
Term
|
Definition
| The upper bound is the highest index value in an array. |
|
|
Term
|
Definition
| In a zero base array the upper bound is one less than the length of the array. |
|
|
Term
|
Definition
| Arrays are composed of multiple elements. |
|
|
Term
|
Definition
| Indexes hold the data values of an array. |
|
|
Term
|
Definition
The first index of an array is typically has a value of 1. |
|
|
Term
|
Definition
| The default value of the elements in an array is set to 0. |
|
|
Term
|
Definition
| An element in an array is identified by an index value in parentheses after the array name. |
|
|
Term
|
Definition
| If no element is specified by an index value after the array name the first element of the array will be returned. |
|
|
Term
|
Definition
| An out-of-bounds error is generated when the index value is larger than the upper bound. |
|
|
Term
|
Definition
| The index of an array can be an integer constant or expression, but not a variable. |
|
|
Term
|
Definition
| For Loops are used to cycle through every element in an array. |
|
|
Term
| The array length is one larger than the upper bound |
|
Definition
|
|
Term
Both A and B
(a collection of related data items; a collection of data elements)
|
|
Definition
|
|
Term
|
Definition
| Each element has its own: |
|
|
Term
|
Definition
| An index can be of the data type: |
|
|
Term
All of the above
(constant; expression; variable)
|
|
Definition
| Which can be used as an index in an array? |
|
|
Term
| An out-of-bounds error will occur |
|
Definition
If the index value is larger than the upper bound then: |
|
|
Term
|
Definition
Arrays are especially useful in conjunction with: |
|
|
Term
|
Definition
Procedures make it possible to create modular programming. |
|
|
Term
|
Definition
| Once a procedure is called during the lifetime of the program, it cannot be called again. |
|
|