Program Design & Development

Your page rank:

Total word count: 755
Pages: 3

Calculate the Price

- -
275 words
Looking for Expert Opinion?
Let us have a look at your work and suggest how to improve it!
Get a Consultant

The following pseudocode is an example of ____.
do stepA
do stepB
if conditionC is true then
do stepD
else
do stepE
endif
while conditionF is true
do stepG
endwhile

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

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

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

The do loop is a variation of the ____ loop.

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

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

**A) True B) False

The following pseudocode is an example of ____.
if conditionA is true then
do stepE
else
do stepB
do stepC
do stepD
endif

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

The following pseudocode is an example of a(n) ____ structure.
if firstNumber is bigger than secondNumber then
print firstNumber
else
print secondNumber

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

A loop must return to the ____ question at some later point in a structure.

A) master loop **B) loop-controlling C) start loop D) continue loop

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

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

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) False B) True

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

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

You can use an ____ statement to clearly show where the actions that depend on a decision end.

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

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

**A) True B) False

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

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

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

A) True **B) False

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

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

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

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

The following pseudocode is an example of a(n) ____ structure.
get firstNumber
get secondNumber
add firstNumber and secondNumber
print result

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

Placing a structure within another structure is called ____ structures.

A) selecting B) shelling **C) nesting D) stacking

You may hear programmers refer to looping as ____.

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

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

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

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

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

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

The action or actions that occur within a loop are known as a(n) ____.

**A) loop body B) loop internals C) action body D) structure body

Case in which nothing is done

loop structure

Often can be used in multiple programs

module

Logically snarled program statements

spaghetti code

Basic unit of programming logic

structure

Variation of the selection structure

case structure

Continue to repeat actions while a condition remains true

loop structure

Attaching structures end-to-end

stacking structures

Added statement that gets the first input value in a program

priming read

With this, you ask a question, and, depending on the answer, you take one of two courses of action

decision structure

A________read is an added statement that gets the first input value in a program

A) stacked B) nested **C) priming D) posttest

The following pseudocode is an example of a(n) ____ structure.
get number
while number is positive
add to sum
get number

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

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

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

Share This
Flashcard

More flashcards like this

NCLEX 10000 Integumentary Disorders

When assessing a client with partial-thickness burns over 60% of the body, which finding should the nurse report immediately? a) ...

Read more

NCLEX 300-NEURO

A client with amyotrophic lateral sclerosis (ALS) tells the nurse, "Sometimes I feel so frustrated. I can’t do anything without ...

Read more

NASM Flashcards

Which of the following is the process of getting oxygen from the environment to the tissues of the body? Diffusion ...

Read more

Unfinished tasks keep piling up?

Let us complete them for you. Quickly and professionally.

Check Price

Successful message
sending