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: D
PTS:1REF:19210.A mistake programmers often make with loops is that they ____.
PTS:1REF:19611.A comparison is correct only when the correct ____ and operator are used.
PTS:1REF:20012.Programmers use the term “____” to describe programs that are well designed and easy to understand and maintain.
PTS:1REF:20313.You usually use the forloop with ____ loops.a.indefinitec.innerb.definited.outer
ANS: B
PTS:1REF:20614.The ____ loop provides three actions in one compact statement.
PTS:1REF:20615.The amount by which a forloop control variable changes is often called a(n) ____ value.
PTS:1REF:20716.The ____ loop is particularly useful when processing arrays.
PTS:1REF:20717.Business reports that list only totals, with no individual item details, are called ____.a.detail reportsc.transaction reportsb.summary reportsd.control-break reportsANS: B
PTS:1REF:20818.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:20819.Programmers employ the acronym ____ to mean that if your input is incorrect, your output is worth-less.
PTS:1REF:211

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture