Term
What are the only two answers for a computer? |
|
Definition
|
|
Term
If…Then is a decision structure that executes a set of statements when..... |
|
Definition
|
|
Term
¨When the question is ______, the statements after THEN (and down to ENDIF) execute. They are skipped if the question is _____. |
|
Definition
|
|
Term
In Visual Studio we use the ________ statement to tell the computer we want it to make a decision. |
|
Definition
|
|
Term
What is this an example of?
If a = b then c= 10 Else c=13 End If
|
|
Definition
|
|
Term
|
Definition
|
|
Term
If ELSE is used, the statements after the ELSE will execute if the “question” is ________. |
|
Definition
|
|
Term
If…Then…Else statement is within an If…Then…Else statement it is called what? |
|
Definition
|
|
Term
What is this an example of?
If intNum = 10 Then
Me. lblMsg.text = “Ten”
Else
If IntNum > 10 Then
Me.lblMsg.text = “More than 10”
Else
Me. lblMsg.text = “Less than 10”
End If
End If |
|
Definition
|
|
Term
An IF statement can have multiple else statements- each one a new question or condition to check. This is also called a(n) ___________.
|
|
Definition
|
|
Term
The following code is an example of what?
If a = b Then
c = 10
ElseIf a > b Then
c = 14
ElseIf a < b Then
c = 16
Else
c = 12
End If |
|
Definition
|
|
Term
What is used instead of multiple else if statements? |
|
Definition
|
|
Term
In select case, the _______ type should match the _______ type.
|
|
Definition
|
|
Term
What muse you use with relational operators? |
|
Definition
|
|
Term
¨In most cases _____ is good for a ____ decision and a ______ is correct to use when there are multiple possible answers with only one correct answer. |
|
Definition
If..Then/Single/Select Case |
|
|
Term
__________ are used to create compound Boolean expressions. |
|
Definition
|
|
Term
Which two operators do you use to form a boolean expression? |
|
Definition
|
|
Term
The order of precedence for logical operators is what? |
|
Definition
|
|
Term
When using And or & with IF, both (all) conditions MUST be ______ for the entire IF (or else if) question to evaluate to ______. |
|
Definition
|
|
Term
An _____ can also be used in assignment statements to set the value of a variable. |
|
Definition
|
|
Term
To generate a random integer, we can use the what? |
|
Definition
|
|
Term
What What returns a random number between 0.0 and 1.0? |
|
Definition
|
|
Term
________ returns a nonnegative random number between 0 and the MaxValue (2,147,483,647) |
|
Definition
|
|