Filters
Question type

Study Flashcards

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

A) True
B) False

Correct Answer

verifed

verified

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


A) segments
B) modules
C) units
D) sequences

E) B) and D)
F) B) and C)

Correct Answer

verifed

verified

Match each term with a statement below.

Premises
Continue to repeat actions while a condition remains true
Responses
stacking structures
module
priming read
structure
decision structure
nesting structures
null case
spaghetti code
loop structure
case structure

Correct Answer

stacking structures
module
priming read
structure
decision structure
nesting structures
null case
spaghetti code
loop structure
case structure

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


A) end
B) endstructure
C) endloop
D) endif

E) C) and D)
F) A) and D)

Correct Answer

verifed

verified

Structured programs use spaghetti code logic.

A) True
B) False

Correct Answer

verifed

verified

Describe how you can straighten out an unstructured flowchart segment.

Correct Answer

verifed

verified

One way to straighten out an unstructure...

View Answer

The do loop is a variation of the ____ loop.


A) if-then-else
B) while
C) case
D) sequence

E) B) and C)
F) None of the above

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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?

Correct Answer

verifed

verified

You can have a sequence of tasks followe...

View Answer

Match each term with a statement below.

Premises
Often can be used in multiple programs
Responses
null case
spaghetti code
structure
priming read
module
decision structure
loop structure
stacking structures
case structure
nesting structures

Correct Answer

null case
spaghetti code
structure
priming read
module
decision structure
loop structure
stacking structures
case structure
nesting structures

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

A) True
B) False

Correct Answer

verifed

verified

The following pseudocode is an example of ____. The following pseudocode is an example of ____.   A) nesting B) stacking C) a posttest D) a pretest


A) nesting
B) stacking
C) a posttest
D) a pretest

E) B) and D)
F) A) and C)

Correct Answer

verifed

verified

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


A) entry points only
B) exit points only
C) entry or exit points
D) entry or combination points

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

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.

A) True
B) False

Correct Answer

verifed

verified

The following pseudocode is an example of a ____ structure. The following pseudocode is an example of a ____ structure.   A) sequence B) decision C) loop D) nested


A) sequence
B) decision
C) loop
D) nested

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

Structured programming is sometimes called ____________________-less programming.

Correct Answer

verifed

verified

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


A) loop
B) go next
C) next
D) go to

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

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
null case
stacking structures
module
structure
spaghetti code
priming read
decision structure

Correct Answer

case structure
loop structure
nesting structures
null case
stacking structures
module
structure
spaghetti code
priming read
decision structure

Repetition and sequence are alternate names for a loop structure.

A) True
B) False

Correct Answer

verifed

verified

What are the characteristics of a structured program?

Correct Answer

verifed

verified

• A structured program includes only com...

View Answer

Showing 21 - 40 of 60

Related Exams

Show Answer