Filters
Question type

Study Flashcards

The maximum number of entry points that any programming structure can have is ____.


A) zero
B) one
C) three
D) five

E) A) and D)
F) All of the above

Correct Answer

verifed

verified

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


A) nesting
B) stacking
C) single alternative structures
D) a posttest

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

Correct Answer

verifed

verified

Describe a loop structure.

Correct Answer

verifed

verified

In a loop structure, you continue to rep...

View Answer

Match each term with a statement below.

Premises
A basic unit of programming logic
Responses
module
loop structure
spaghetti code
priming read
stacking structures
decision structure
structure
case structure
nesting structures
null case

Correct Answer

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

A group of statements that execute as a single unit are called a(n)____________________.

Correct Answer

verifed

verified

The case structure is a variation of the sequence structure and the do loop is a variation of the while loop.

A) True
B) False

Correct Answer

verifed

verified

Match each term with a statement below.

Premises
With this, you ask a question, and, depending on the answer, you take one of two courses of action
Responses
nesting structures
null case
structure
loop structure
module
case structure
priming read
spaghetti code
decision structure
stacking structures

Correct Answer

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

Match each term with a statement below.

Premises
Logically snarled program statements
Responses
priming read
decision structure
spaghetti code
loop structure
nesting structures
case structure
stacking structures
structure
null case
module

Correct Answer

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

As a general rule, an eof question should always come immediately after an input statement because the end-of-file condition will be detected at input.

A) True
B) False

Correct Answer

verifed

verified

With a(n) ____, you perform an action or task, and then you perform the next action, in order.


A) ordered structure
B) sequence problem
C) sequence structure
D) loop sequence

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

Correct Answer

verifed

verified

Why is it best to use only three programming structures?

Correct Answer

verifed

verified

• Clarity -The number-doubling program i...

View Answer

A structured program includes only combinations of the three basic structures: ____.


A) sequence, iteration, and loop
B) iteration, selection, and loop
C) sequence, selection, and loop
D) identification, selection, and loop

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

Correct Answer

verifed

verified

Some people call the selection structure a(n)____________________ statement.

Correct Answer

verifed

verified

if-then-el...

View Answer

if-else examples can also be called ____ because they contain the action taken when the tested condition is true and the action taken when it is false.


A) do loops
B) single-alternative selections
C) repetition
D) dual-alternative selections

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

Correct Answer

verifed

verified

Why does spaghetti code have a shorter shelf life than structured code?

Correct Answer

verifed

verified

Software developers say that spaghetti c...

View Answer

A(n)____________________ can contain any number of tasks, but there is no option to branch off and skip any of the tasks.

Correct Answer

verifed

verified

The priming read is an example of a(n) ____ task.


A) declaration
B) exit
C) housekeeping
D) selection

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

Correct Answer

verifed

verified

You may hear programmers refer to looping as ____.


A) execution
B) selection
C) iteration
D) case

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

Correct Answer

verifed

verified

Rewrite the following as a while loop: do pay bills while more bills remain to be paid

Correct Answer

verifed

verified

pay bills
while the...

View Answer

One way to straighten out an unstructured flowchart segment is to use the ____ method.


A) spaghetti code
B) spaghetti bowl
C) restructuring
D) priming

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

Correct Answer

verifed

verified

Showing 41 - 60 of 60

Related Exams

Show Answer