Usually when you create nested loops each loop has

This preview shows page 2 - 4 out of 7 pages.

9.Usually, when you create nested loops, each loop has its own ____.a.sentinel valuec.entrance conditionb.goto statementd.loop control variableANS: DPTS:1REF:192
10.A mistake programmers often make with loops is that they ____.PTS:1REF:196
11.A comparison is correct only when the correct ____ and operator are used.PTS:1REF:200
12.Programmers use the term “____” to describe programs that are well designed and easy to understandand maintain.PTS:1REF:203
13.You usually use theforloop with ____ loops.a.indefinitec.innerb.definited.outer
ANS: BPTS:1REF:206
14.The ____ loop provides three actions in one compact statement.PTS:1REF:206
15.The amount by which aforloop control variable changes is often called a(n) ____ value.PTS:1REF:207
16.The ____ loop is particularly useful when processing arrays.PTS:1REF:207
17.Business reports that list only totals, with no individual item details, are called ____.a.detail reportsc.transaction reportsb.summary reportsd.control-break reportsANS: BPTS:1REF:208
18.A(n) ____ is very similar to a counter that you use to count loop iterations, except that you usually adda value other than one to this type of variable.PTS:1REF:208
19.Programmers employ the acronym ____ to mean that if your input is incorrect, your output is worth-less.PTS:1REF:211

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 7 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Winter
Professor
N/A
Tags
d, loop, c IOCW

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture