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
When do you use a selection structure?
Free
(Essay)
4.8/5
(41)
Correct Answer:
Procedures that need the computer to make a decision require the use of the selection structure (also called the decision structure.
Comparison operators are also referred to as ____ operators.
Free
(Multiple Choice)
4.8/5
(35)
Correct Answer:
D
Programmers refer to the process of verifying that the input data is within the expected range as ____.
Free
(Multiple Choice)
4.8/5
(33)
Correct Answer:
C
The diamond in a flowchart is called the decision symbol, because it is used to represent the condition in both the selection and repetition structures.
(True/False)
4.9/5
(33)
You do not always need to include the ____ clause in an If ... Then ... Else statement.
(Multiple Choice)
4.7/5
(34)
The ____________________ structure indicates that a decision (based on some condition) needs to be made before any further processing can occur.
(Short Answer)
4.8/5
(33)
When you use the ____ operator to combine two sub-conditions, the resulting compound condition evaluates to True only when both sub-conditions are True .
(Multiple Choice)
4.8/5
(28)
The set of statements contained in each path of the If...Then...Else statement is referred to as a(n) ____.
(Multiple Choice)
4.9/5
(45)
If the intAge variable contains the number 30 , the condition If intAge > 20 AndAlso intAge will evaluate to
(Multiple Choice)
4.7/5
(40)
Visual Basic provides the ____ statement for coding single-alternative and dual-alternative selection structures.
(Multiple Choice)
5.0/5
(29)
____________________ tables summarize how the computer evaluates the logical operators in an expression.
(Short Answer)
4.9/5
(36)
The condition in a selection structure must evaluate to either a True or False answer only.
(True/False)
4.8/5
(41)
You use the ____ operator to connect or link together strings.
(Multiple Choice)
4.9/5
(44)
Variables declared within a statement block are referred to as ____ variables.
(Multiple Choice)
5.0/5
(40)
A(n) ______________________________ is a device that produces a sequence of numbers that are sufficiently random for practical purposes.
(Short Answer)
4.9/5
(32)
Showing 1 - 20 of 42
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)