COP1000C Quiz#3 Multiple Choice

Your page rank:

Total word count: 424
Pages: 2

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

Spaghetti

Programs that use _____ code logic are unstructured programs that do not follow the rules of structured logic.

Sequence Structure

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

Sequence

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

Endif

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

Decision

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

Else

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

Dual-Alternative Selection

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.

Loop body

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

Iteration

You may hear programmers refer to looping as ____.

Loop

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

Stacking

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

Stacking

Attaching structures end to end is called ____ structures.

Nesting

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

Nesting

Placing a structure within another structure is called ____ structures.

One

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

Sequence, selection, and loop

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

Entry or exit Points

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

Priming

A ____ read is an added statement that gets the first input value in a program.

House Keeping

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

Go to

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

Modules

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

Spaghetti Bowl

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

Start Loop

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

While

The do loop is a variation of the ____ loop.

Selection

The case structure is a variation of the ____ 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