Exam 3: Understanding Structure

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Repetition and sequence are alternate names for a loop structure.

(True/False)
4.7/5
(42)

Pseudocode uses the end-structure statement ____ to clearly show where the structure ends.

(Multiple Choice)
4.8/5
(45)

In older languages, you could leave a selection or loop before it was complete by using a ____ statement.

(Multiple Choice)
4.8/5
(32)
Match each term with a statement below.
Premises:
Continue to repeat actions while a condition remains true
Responses:
stacking structures
module
priming read
Correct Answer:
Verified
Premises:
Responses:
Continue to repeat actions while a condition remains true
stacking structures
(Matching)
4.8/5
(30)

The following pseudocode is an example of ____. The following pseudocode is an example of ____.

(Multiple Choice)
4.9/5
(38)

Structured programs use spaghetti code logic.

(True/False)
4.8/5
(33)

In a selection structure, you perform an action or task, and then you perform the next action in order.

(True/False)
4.9/5
(45)

The do loop is a variation of the ____ loop.

(Multiple Choice)
4.9/5
(37)
Match each term with a statement below.
Premises:
Often can be used in multiple programs
Responses:
null case
spaghetti code
structure
Correct Answer:
Verified
Premises:
Responses:
Often can be used in multiple programs
null case
(Matching)
4.8/5
(39)

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 ways structures can be combined?

(Essay)
4.8/5
(38)

Structured programming is sometimes called ____________________-less programming.

(Short Answer)
4.9/5
(27)

What are the characteristics of a structured program?

(Essay)
4.9/5
(40)

Structured programs can be easily broken down into routines or ____ that can be assigned to any number of programmers.

(Multiple Choice)
4.8/5
(32)

In a structured program, any structure can be nested within another structure.

(True/False)
4.9/5
(40)

Structures can be stacked or connected to one another at their ____.

(Multiple Choice)
4.9/5
(32)

The following pseudocode is an example of a ____ structure. The following pseudocode is an example of a ____ structure.

(Multiple Choice)
4.8/5
(45)
Match each term with a statement below.
Premises:
An added statement that gets the first input value in a program
Responses:
case structure
loop structure
nesting structures
Correct Answer:
Verified
Premises:
Responses:
An added statement that gets the first input value in a program
case structure
(Matching)
4.8/5
(32)

Describe how you can straighten out an unstructured flowchart segment.

(Essay)
4.7/5
(36)

A structured program must contain a sequence, selection, and loop structure.

(True/False)
4.8/5
(46)

No matter how complicated it is, any set of steps can always be reduced to combinations of the two basic structures of sequence and loop.

(True/False)
4.9/5
(36)
Showing 21 - 40 of 60
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)