COSC 1436 MAIN EXAMINATION SET QUESTIONS AND
ANSWERS GRADED A+
✔✔Object Code - ✔✔Each programming language uses a piece of software to translate
programming language statements into
✔✔Modularity - ✔✔An important feature of modern programming is the ability to build
programs from smaller segments. This is known as ____.
✔✔Psuedocode - ✔✔is an English-like representation of the logical steps it takes to
solve a problem
✔✔Maintaining the program - ✔✔The Billing Department manager, Anna, asked the
programmer, Jerry, for a list of customers who owe the ABC Company more than $500.
The program is now in production. The Billing Department manager, Anna, asks Jerry to
change the report to show only customers who owe more than $500 and who are more
than 30 days overdue on their payments. What part of the program development cycle
is this?
✔✔Compiler - ✔✔The language translation software that converts a programmer's
statements to binary form is called a ____.
✔✔False - ✔✔The programmer's job can be broken down into five development steps
✔✔Nesting - ✔✔Placing a structure within another structure is called
✔✔Stacking Structures - ✔✔structures are attached end-to-end
✔✔Sequence - ✔✔The following pseudocode is an example of a ____ structure.
if firstNumber is bigger than secondNumber then
print firstNumber
else
print secondNumber
✔✔Spaghetti - ✔✔Programs that use ____ code are so difficult to alter that when
improvements are required, developers often find it easier to abandon the existing
program and start from scratch.
✔✔Loop - ✔✔In a ____ structure, you continue to repeat actions while a condition is
true.
✔✔True - ✔✔In code, it is perfectly correct for one branch of the selection to be a "do
nothing" branch.
, ✔✔dual-alternative selections - ✔✔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
✔✔"goto-less" - ✔✔Some programmers call structured programming ____
programming
✔✔while...do - ✔✔A repetition or iteration loop is known as a(n) ____ structure.
✔✔structure - ✔✔A ____ is a basic unit of programming logic; each structure is a
sequence, selection, or loop.
✔✔True - ✔✔Whether you are drawing a flowchart or writing pseudocode, to represent
decision outcomes you can use either: Yes and No, or True and False.
✔✔Dual-alternative Selection - ✔✔Case 1
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.
✔✔Loop Body - ✔✔The action or actions that occur within a loop are known as ____.
✔✔Unstructured - ✔✔Programs that do not follow the rules of structured logic are ____
programs.
✔✔Shape indent - ✔✔The ____ used in the pseudocode reflects the logic you can see
laid out graphically in the flowchart.
✔✔returns to the question that started the loop - ✔✔In a loop, if the answer to the
question results in the loop being entered and the loop statements executing, then the
logic ____.
✔✔Modules - ✔✔Structured programs can be easily broken down into routines or ____
that can be assigned to any number of programmers
✔✔Compiler - ✔✔Consider the following C++ program.
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World "
return 0;
ANSWERS GRADED A+
✔✔Object Code - ✔✔Each programming language uses a piece of software to translate
programming language statements into
✔✔Modularity - ✔✔An important feature of modern programming is the ability to build
programs from smaller segments. This is known as ____.
✔✔Psuedocode - ✔✔is an English-like representation of the logical steps it takes to
solve a problem
✔✔Maintaining the program - ✔✔The Billing Department manager, Anna, asked the
programmer, Jerry, for a list of customers who owe the ABC Company more than $500.
The program is now in production. The Billing Department manager, Anna, asks Jerry to
change the report to show only customers who owe more than $500 and who are more
than 30 days overdue on their payments. What part of the program development cycle
is this?
✔✔Compiler - ✔✔The language translation software that converts a programmer's
statements to binary form is called a ____.
✔✔False - ✔✔The programmer's job can be broken down into five development steps
✔✔Nesting - ✔✔Placing a structure within another structure is called
✔✔Stacking Structures - ✔✔structures are attached end-to-end
✔✔Sequence - ✔✔The following pseudocode is an example of a ____ structure.
if firstNumber is bigger than secondNumber then
print firstNumber
else
print secondNumber
✔✔Spaghetti - ✔✔Programs that use ____ code are so difficult to alter that when
improvements are required, developers often find it easier to abandon the existing
program and start from scratch.
✔✔Loop - ✔✔In a ____ structure, you continue to repeat actions while a condition is
true.
✔✔True - ✔✔In code, it is perfectly correct for one branch of the selection to be a "do
nothing" branch.
, ✔✔dual-alternative selections - ✔✔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
✔✔"goto-less" - ✔✔Some programmers call structured programming ____
programming
✔✔while...do - ✔✔A repetition or iteration loop is known as a(n) ____ structure.
✔✔structure - ✔✔A ____ is a basic unit of programming logic; each structure is a
sequence, selection, or loop.
✔✔True - ✔✔Whether you are drawing a flowchart or writing pseudocode, to represent
decision outcomes you can use either: Yes and No, or True and False.
✔✔Dual-alternative Selection - ✔✔Case 1
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.
✔✔Loop Body - ✔✔The action or actions that occur within a loop are known as ____.
✔✔Unstructured - ✔✔Programs that do not follow the rules of structured logic are ____
programs.
✔✔Shape indent - ✔✔The ____ used in the pseudocode reflects the logic you can see
laid out graphically in the flowchart.
✔✔returns to the question that started the loop - ✔✔In a loop, if the answer to the
question results in the loop being entered and the loop statements executing, then the
logic ____.
✔✔Modules - ✔✔Structured programs can be easily broken down into routines or ____
that can be assigned to any number of programmers
✔✔Compiler - ✔✔Consider the following C++ program.
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World "
return 0;