Case in which nothing is done 5 continue to repeat

This preview shows page 5 - 7 out of 8 pages.

We have textbook solutions for you!
The document you are viewing contains questions related to this textbook.
Invitation to Computer Science
The document you are viewing contains questions related to this textbook.
Chapter 2 / Exercise 23
Invitation to Computer Science
Gersting/Schneider
Expert Verified
Case in which nothing is done5.Continue to repeat actions while a condition remains true6.Attaching structures end-to-end7.Added statement that gets the first input value in a program8.Often can be used in multiple programs9.Variation of the selection structure1.ANS: GPTS:1REF:93
PTS:1REF:95
PTS:1REF:96
PTS:1REF:975.ANS: HPTS:1REF:97
PTS:1REF:98
PTS:1REF:107
PTS:1REF:111
PTS:1REF:121SHORT ANSWER1.Why does spaghetti code have a shorter shelf life than structured code?
PTS:1REF:93TOP:Critical Thinking2.Define the term structure as it relates to programming.
We have textbook solutions for you!
The document you are viewing contains questions related to this textbook.
Invitation to Computer Science
The document you are viewing contains questions related to this textbook.
Chapter 2 / Exercise 23
Invitation to Computer Science
Gersting/Schneider
Expert Verified
PTS:1REF:95TOP:Critical Thinking3.Describe a loop structure.
PTS:1REF:97TOP:Critical Thinking4.Rewrite the following as a while loop:dopay billswhile more bills remain to be paid
PTS:1REF:97-98TOP:Critical Thinking5.All logic problems can be solved using only these three structures—sequence, selection, and loop. The three structures, of course, can be combined in an infinite number of ways. What are two general waysstructures can be combined?

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture