# Ch05_Logic8e_Solutions - Programming Logic and Design, 8e...

• Homework Help
• 53
• 95% (222) 211 out of 222 people found this document helpful

This preview shows page 1 - 3 out of 53 pages.

Programming Logic and Design, 8eSolutions 5-1Programming Logic and Design, 8th EditionChapter 5Review QuestionsREVIEW QUESTIONS1.The structure that allows you to write one set of instructions that operates onmultiple, separate sets of data is the _____.a.sequenceb.loopc.selectiond.case
2.The loop that frequently appears in a program’s mainline logic _____.
3.Which of the following isnota step that must occur with every correctly workingloop?
4.The statements executed within a loop are known collectively as the _____.
5.A counter keeps track of _____.a.the number of times an event has occurredb.the number of machine cycles required by a segment of a programc.the number of loop structures within a programd.the number of times software has been revised
6.Adding 1 to a variable is also called _____ it.
##### We have textbook solutions for you!
The document you are viewing contains questions related to this textbook.
Chapter 5 / Exercise 12
Programming Logic and Design, Introductory
Farrell
Expert Verified
Programming Logic and Design, 8eSolutions 5-2c.decrementingd.incrementing7.Which of the following is a definite loop?
8.Which of the following is an indefinite loop?
9.When you decrement a variable, you _____.a.set it to 0b.reduce it by one-tenthc.subtract a value from itd.remove it from a program
10.When two loops are nested, the loop that is contained by the other is the _____loop.
11.When loops are nested, _____.
12.Most programmers use aforloop _____.

Course Hero member to access this document

Course Hero member to access this document

End of preview. Want to read all 53 pages?

Course Hero member to access this document

Term
Fall
Professor
N/A
Tags
NUM
##### We have textbook solutions for you!
The document you are viewing contains questions related to this textbook.
The document you are viewing contains questions related to this textbook.
Chapter 5 / Exercise 12
Programming Logic and Design, Introductory
Farrell
Expert Verified