COM
Ch03_Logic8e_Solutions

# Ch03_Logic8e_Solutions - Programming Logic and Design 8e...

• Assignment
• 46
• 93% (138) 129 out of 138 people found this document helpful

This preview shows pages 1–5. Sign up to view the full content.

Programming Logic and Design, 8e Solutions 3-1 Programming Logic and Design, 8th Edition Chapter 3 Review Questions 1. Snarled program logic is called _____ code. a. snake b. string c. spaghetti d. gnarly 2. The three structures of structured programming are _____. a. sequence, selection, and loop b. selection, loop, and iteration c. sequence, order, and process d. if, else, and then 3. A sequence structure can contain _____. 4. Which of the following is not another term for a selection structure? 5. The structure that tests a condition, takes action if the result is true, and then

This preview has intentionally blurred sections. Sign up to view the full version.

Programming Logic and Design, 8e Solutions 3-2 tests the condition again can be called all of the following except a(n) _____.a. iteration b. loop c. repetition d. if-then-else 6. Placing a structure within another structure is called _____ the structures. 7. Attaching structures end to end is called _____. a. stacking b. untangling c. building d. nesting 8. When an action is required when a condition is true, but no action is needed if it is false, you use a _____. 9. To take action as long as a condition remains true, you use a _____.
Programming Logic and Design, 8e Solutions 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 _____. 11. Which of the following attributes do all three basic structures share? a. Their flowcharts all contain exactly three processing symbols. b. They all have one entry and one exit point. c. They all contain a decision. d. They all begin with a process. 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 _____.

This preview has intentionally blurred sections. Sign up to view the full version.

Programming Logic and Design, 8e Solutions 3-4
This is the end of the preview. Sign up to access the rest of the document.
• Fall '15
• Control flow, Programming paradigm, B., 90 degrees

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern