Filters
Question type

Study Flashcards

Match each term with a statement below. -With this,you ask a question,and,depending on the answer,you take one of two courses of action


A) structure
B) priming read
C) module
D) decision structure
E) null case
F) stacking structures
G) spaghetti code
H) loop structure
I) case structure
J) nesting structures

K) C) and F)
L) A) and G)

Correct Answer

verifed

verified

D

The following pseudocode is an example of a ____ structure. get number While number is positive Add to sum Get number Endwhile


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

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

Correct Answer

verifed

verified

Match each term with a statement below. -An added statement that gets the first input value in a program


A) structure
B) priming read
C) module
D) decision structure
E) null case
F) stacking structures
G) spaghetti code
H) loop structure
I) case structure
J) nesting structures

K) A) and G)
L) A) and B)

Correct Answer

verifed

verified

B

Match each term with a statement below. -A case in which no action is taken


A) structure
B) priming read
C) module
D) decision structure
E) null case
F) stacking structures
G) spaghetti code
H) loop structure
I) case structure
J) nesting structures

K) A) and G)
L) D) and F)

Correct Answer

verifed

verified

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

Structured programs use spaghetti code logic.

A) True
B) False

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) B) and C)
F) A) 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) A) and D)
F) None of the above

Correct Answer

verifed

verified

Structured programming is sometimes called goto-less programming.

A) True
B) False

Correct Answer

verifed

verified

Match each term with a statement below. -Describe a loop structure.

Correct Answer

verifed

verified

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

View Answer

Structured programming is sometimes called ____________________-less programming.

Correct Answer

verifed

verified

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


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

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

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

Because you may stack and nest structures while retaining the overall structure,it might be difficult to determine whether a flowchart as a whole is structured.

A) True
B) False

Correct Answer

verifed

verified

You may hear programmers refer to looping as ____.


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

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

Correct Answer

verifed

verified

The case structure is a variation of the ____ structure.


A) selection
B) while
C) sequence
D) do

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

Correct Answer

verifed

verified

A

Match each term with a statement below. -Logically snarled program statements


A) structure
B) priming read
C) module
D) decision structure
E) null case
F) stacking structures
G) spaghetti code
H) loop structure
I) case structure
J) nesting structures

K) None of the above
L) D) and F)

Correct Answer

verifed

verified

Fill in the blank in the following pseudocode: if someCondition is true then Do oneProcess ____ Do theOtherProcess Endif


A) then
B) while
C) do
D) else

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

Correct Answer

verifed

verified

Match each term with a statement below. -Often can be used in multiple programs


A) structure
B) priming read
C) module
D) decision structure
E) null case
F) stacking structures
G) spaghetti code
H) loop structure
I) case structure
J) nesting structures

K) I) and J)
L) A) and B)

Correct Answer

verifed

verified

Showing 1 - 20 of 60

Related Exams

Show Answer