Exam 5: Making Decisions in a Program
Exam 1: Overview an Introduction to Programming17 Questions
Exam 2: An Introduction to Visual Basic 201542 Questions
Exam 3: Creating a User Interface42 Questions
Exam 4: Memory Locations and Calculations42 Questions
Exam 5: Making Decisions in a Program42 Questions
Exam 6: More on the Selection Structure42 Questions
Exam 7: Repeating Program Instructions42 Questions
Exam 8: More on the Repetition Structure42 Questions
Exam 9: Sub and Function Procedures42 Questions
Exam 10: Arrays42 Questions
Exam 11: String Manipulation and Menus42 Questions
Exam 12: Structures and Sequential Files42 Questions
Exam 13: Access Databases and Linq42 Questions
Exam 14: Creating Simple Web Applications42 Questions
Exam 15: Creating Classes and Objects42 Questions
Select questions type
Match each item with a statement below.
Correct Answer:
Premises:
Responses:
(Matching)
4.8/5
(48)
What are the similarities and differences between variables declared at the beginning of a procedure and variables declared within a statement block?
(Essay)
4.8/5
(43)
Explain logical operators in terms of how they are used and evaluated within an expression. Provide an example of a logical operator.
(Essay)
4.7/5
(41)
In a single-alternative selection structure, the tasks to perform when the condition is true are called the ____ path.
(Multiple Choice)
4.8/5
(42)
____________________ operators allow you to combine two or more conditions into one compound condition.
(Short Answer)
4.8/5
(34)
In Visual Basic, ____ is the greater than or equal to operator.
(Multiple Choice)
4.9/5
(36)
If intQuantity >= 10 Then dblTotal = intQuantity * 2.5
Else
dblTotal = intQuantity * 3.5
End If
The intQuantity variable contains the number 8 before the code above is processed. What value will be in the dblTotal variable after the code is processed?
(Multiple Choice)
5.0/5
(39)
You create a Random object by declaring it in a(n) ____________________ statement.
(Short Answer)
4.9/5
(39)
Truth tables summarize how the computer evaluates the ____ operators in an expression.
(Multiple Choice)
4.7/5
(46)
Within a Visual Basic expression, logical operators are evaluated after any arithmetic or ____ operators in an expression.
(Multiple Choice)
4.9/5
(46)
Another term for a selection structure is a ____ structure.
(Multiple Choice)
4.8/5
(29)
The Pseudo-random number generator produces a sequence of numbers that are ____.
(Multiple Choice)
4.8/5
(42)
In a dual-alternative selection structure, the word "else" to denote the beginning of the ____ path.
(Multiple Choice)
4.7/5
(40)
Showing 21 - 40 of 42
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)