Chapter 3 Practice Quiz

.docx

School

Ivy Tech Community College, Indianapolis *

*We aren’t endorsed by this school

Course

120

Subject

Computer Science

Date

Jan 9, 2024

Type

docx

Pages

4

Uploaded by MasterBaboon3951

Report
Chapter 3 Practice Quiz 1. Snarled program logic is called code. a. snake b. spaghet c. linguini d. gnarly 2. The three structures of structured programming are . a. sequence, selection, and loop b. decision, loop, and iteration c. sequence, order, and process d. loop, iteration, and refraction 3. A sequence structure can contain . a. only one task b. exactly three tasks c. no more than three tasks d. any number of tasks 4. Which of the following is not another term for a selection structure? a. loop structure b. decision structure c. dual-alternative if structure d. if-then-else structure 5. A expression has one of two values, often expressed as true or false. a. Georgian b. Boolean c. Selection d. Caesarian 6. Placing a structure within another structure is called the structures. a. untangling b. nesting c. building d. stacking 7. Attaching structures end to end is called . a. nesting b. untangling c. building
d. stacking 8. When an action is required if a condition is true, but no action is needed if it is false, you use a . a. sequence b. loop c. dual-alternative selection d. single-alternative selection 9. To take action as long as a condition remains true, you use a . a. sequence b. stack c. loop d. selection 10. When you must perform one action when a condition is true and a different one when it is false, you use a . a. sequence b. loop c. dual-alternative selection d. single-alternative selection 11. Which of the following attributes do all three basic structures share? a. Their flowcharts all contain exactly three processing symbols. b. They all begin with a process. c. They all have one entry and one exit point. d. They all contain a conditional test. 12. Which is true of stacking structures? a. Two incidences of the same structure cannot be stacked adjacently. b. When you stack structures, you cannot nest them in the same program. c. Each structure has only one point where it can be stacked on top of another. d. When you stack structures, the top structure must be a sequence. 13. When you input data in a loop within a program, the input statement that precedes the loop . a. is the only part of the program allowed to be unstructured b. cannot result in eof c. is called a priming input d. executes hundreds or even thousands of times in most business programs
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help