ch03 - Chapter 3 Understanding Structure TRUE/FALSE 1 With...

• Test Prep
• 8
• 96% (119) 114 out of 119 people found this document helpful

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

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 2 / Exercise 23
Invitation to Computer Science
Gersting/Schneider
Expert Verified
Chapter 3: Understanding StructureTRUE/FALSE1.With a selection structure, you perform an action or task, and then you perform the next action, in or-der.
PTS:1REF:952.In a structured program, any structure can be nested within another structure.
PTS:1REF:1033.Because you may stack and nest structures while retaining overall structure, it might be difficult to de-termine whether a flowchart as a whole is structured.
PTS:1REF:1044.As a general rule, an eofquestion should always come immediately after an input statement because the end-of-file condition will be detected at input.
PTS:1REF:1095.No matter how complicated it is, any set of steps can always be reduced to combinations of the two ba-sic structures of sequence and loop.
PTS:1REF:121MULTIPLE CHOICE1.With a(n) ____, you perform an action or task, and then you perform the next action, in order.
PTS:1REF:952.The following pseudocode is an example of a(n) ____ structure.get firstNumberget secondNumberadd firstNumber and secondNumberprint result
PTS:1REF:963.The following pseudocode is an example of a(n) ____ structure.if firstNumber is bigger than secondNumber thenprint firstNumberelseprint secondNumber
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 2 / Exercise 23
Invitation to Computer Science
Gersting/Schneider
Expert Verified
PTS:1REF:964.Fill in the blank in the following pseudocode:if someCondition is true thendo oneProcess____do theOtherProcessa.thenc.dob.whiled.elseANS: D
PTS:1REF:965.The following pseudocode is an example of a(n) ____ structure.get numberwhile number is positiveadd to sumget number
PTS:1REF:976.You may hear programmers refer to looping as ____.
PTS:1REF:977.The action or actions that occur within a loop are known as a(n) ____.
PTS:1REF:978.The following pseudocode is an example of ____.do stepAdo stepBif conditionC is true thendo stepDelsedo stepEendifwhile conditionF is truedo stepGendwhilea.nestingc.single alternative structuresb.stackingd.a posttestANS: B
PTS:1REF:98