Exam 4: The Sequence 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
Every time a module is called, the computer suspends execution of the main program, runs the module, and then returns to the next statement in the main program.
(True/False)
4.8/5
(39)
The following statement is an example of a(n) ____ structure.
"For one week, you will pay $3 for a subway ticket. After that, you will receive a discount."
(Multiple Choice)
4.9/5
(35)
A ____ structure consists of one or more statements performed in order with no variation.
(Multiple Choice)
4.8/5
(32)
A common example used for a sequence structure is the ______ part of a recipe.
(Multiple Choice)
4.8/5
(28)
The following statement is an example of a(n) ____ structure.
"If the baby gets sick, take her to the hospital."
(Multiple Choice)
4.8/5
(41)
The following is an example of a nonstructured program:
100 PRINT "Enter a number (or 0 to quit): "
110 INPUT N
120 WHILE N <> 0
120 IF N < 0 THEN PRINT "Your number is negative."
130 IF N > 0 THEN PRINT "Your number is positive."
140 PRINT "Enter a number (or 0 to quit): "
150 INPUT N
160 END WHILE
200 PRINT "Thank you!"
(True/False)
4.8/5
(40)
Left-brained people tend to favor flowcharts as a method of developing algorithms for programs.
(True/False)
4.9/5
(41)
The ____ structure evaluates a logical condition, one that's true or false, then performs one or more statements (or ignores those statements), based on the evaluation of this condition.
(Multiple Choice)
4.7/5
(40)
Showing 41 - 50 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)