COSC TEST 2 WITH QUESTIONS AND
ANSWERS LATEST UPDATE 2026
The ____ used in the pseudo code reflects the logic you can
see laid out graphically in the flowchart. - ANSWER-!shape
You are making your favorite cookie recipe. You have all the
ingredients on hand.
You follow the recipe step by step. This is an example of a ____
structure. - ANSWER-sequence
The endif and endwhile statements are know as ____
statements. - ANSWER-end-structure
A repetition or iteration loop is known as a(n) ____ structure. -
ANSWER-!do...while
With a decision structure or ____ structure you ask a question,
and, depending on the ANSWER, you take one of two courses
of action. - ANSWER-selection
, Page | 2
Structured programs can be easily broken down into routines or
____ that can be assigned to any number of programmers. -
ANSWER-modules
The following pseudocode is an example of a ____ structure.
if firstNumber is bigger than secondNumber then
print firstNumber
else
print secondNumber - ANSWER-selection
Placing a structure within another structure is called ____. -
ANSWER-nesting
You are making your favorite cookie recipe. You have all the
ingredients on hand.
You realize that the recipe has both the instructions for baking
the cookies in the oven or the microwave. This is an example of
a ____ structure. - ANSWER-dual-alternative selection
You are making your favorite cookie recipe. You have all the
ingredients on hand.