COP1000C Quiz#3 Multiple Choice

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

Priming

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

Start Loop

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

Sequence, selection, and loop

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

Stacking

Attaching structures end to end is called ____ structures.

Else

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

Go to

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

Spaghetti Bowl

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

Nesting

Placing a structure within another structure is called ____ structures.

Spaghetti

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

Endif

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

While

The do loop is a variation of the ____ loop.

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

One

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

Sequence Structure

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

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.

Modules

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

Entry or exit Points

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

Loop body

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

Selection

The case structure is a variation of the ____ structure.

Nesting

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

Sequence

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

Loop

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

Decision

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

House Keeping

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

Iteration

You may hear programmers refer to looping as ____.


संबंधित स्टडी सेट्स

Chapter 91- flouroquinolones : exam 5

View Set

Module A - Agency and Property Disclosure

View Set