Exam 5: The Selection Structure
Exam 1: The Craft of Programming50 Questions
Exam 2: The Javascript Language49 Questions
Exam 3: Objects, Events, and Graphical User Interfaces48 Questions
Exam 4: The Sequence Structure50 Questions
Exam 5: The Selection Structure50 Questions
Exam 6: The Repetition Structure50 Questions
Exam 7: Complex Conditions49 Questions
Exam 8: Modules and Functions50 Questions
Exam 9: Menus and Data Validation50 Questions
Exam 10: Arrays50 Questions
Exam 11: Building Programs50 Questions
Exam 12: Sorting Data30 Questions
Exam 13: Recursion50 Questions
Select questions type
A ____ evaluates to a true or false value.
Free
(Multiple Choice)
4.8/5
(34)
Correct Answer:
C
Programs with several levels of nesting can be hard to follow.
Free
(True/False)
4.8/5
(38)
Correct Answer:
True
A Case structure is used most often when conditions are treated separately.
Free
(True/False)
4.7/5
(31)
Correct Answer:
True
Based on the grading scale below, what is the most efficient way of determining a grade?
• A if the grade percentage is greater than or equal to 90
• B if it's greater than or equal to 80 and less than 90
• C if it's greater than or equal to 70 and less than 80
• D if it's greater than or equal to 60 and less than 70
• F if the grade percentage is less than 60
(Multiple Choice)
4.9/5
(47)
In some languages, including JavaScript, the Case structure can test only for equality of values, not inequalities using ranges of numbers.
(True/False)
4.9/5
(45)
Which of the following statements corresponds to the question below?
Is the value of status not equal to "denied"?
(Multiple Choice)
4.9/5
(38)
-The flowchart segment in the accompanying figure depicts a ____.

(Multiple Choice)
4.8/5
(42)
Which of the following is an example of a single-outcome selection?
(Multiple Choice)
4.8/5
(45)
Pseudocode uses indentation and the keywords End If to define the scope.
(True/False)
4.9/5
(37)
On a flowchart, a question mark at the end of the expression emphasizes that the condition must be evaluated.
(True/False)
4.8/5
(34)
Which of the following statements corresponds to the question below?
Is the value of hours greater than 40?
(Multiple Choice)
4.9/5
(45)
Which of the following statements corresponds to the question below?
Is the value of grade greater than or equal to 90?
(Multiple Choice)
4.8/5
(42)
A ____ performs one set of steps if the condition is true and a different set of steps if the condition is false.
(Multiple Choice)
4.7/5
(34)
A selection structure depends on a(n) ____, an expression describing the relationship between two values that's evaluated when it appears in program code.
(Multiple Choice)
4.8/5
(31)
Which of the following programs displays a "passing grade" message if the score is 60 or above?
(Multiple Choice)
4.9/5
(42)
A Case structure is limited in most languages to integers (whole numbers), text characters and decimal numbers.
(True/False)
4.8/5
(47)
Showing 1 - 20 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)