Ch03_Logic8e_Solutions - Programming Logic and Design 8e Solutions 3-1 Programming Logic and Design 8th Edition Chapter 3 Review Questions 1 Snarled

Ch03_Logic8e_Solutions - Programming Logic and Design 8e...

This preview shows page 1 - 5 out of 46 pages.

Programming Logic and Design, 8eSolutions 3-1Programming Logic and Design, 8th EditionChapter 3Review Questions1.Snarled program logic is called _____ code.a.snakeb.stringc.spaghettid.gnarly
2.The three structures of structured programming are _____.
3.A sequence structure can contain _____.
4.Which of the following is notanother term for a selection structure?
5. The structure that tests a condition, takes action if the result is true, and then
Programming Logic and Design, 8eSolutions 3-2tests the condition again can be called all of the following except a(n) _____.a.iterationb.loopc.repetitiond.if-then-else6.Placing a structure within another structure is called _____ the structures.a.stackingb.untanglingc.buildingd.nesting
7.Attaching structures end to end is called _____.
8.When an action is required when a condition is true, but no action is needed if it isfalse, you use a _____.
9.To take action as long as a condition remains true, you use a _____.
Programming Logic and Design, 8eSolutions 3-3
10.When you must perform one action when a condition is true and a different one when it is false, you use a _____.a.sequenceb.loopc.dual-alternative selectiond.single-alternative selection
11.Which of the following attributes do all three basic structures share?
12.Which is true of stacking structures?
13.When you input data in a loop within a program, the input statement that precedes the loop _____.
Programming Logic and Design, 8eSolutions 3-4
Image of page 5

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture