Exam Questions and CORRECT Answers
TF: structured programming leads to more readable code. - CORRECT ANSWER - True
TF: structured programming leads to more testable code. - CORRECT ANSWER - True
Name the logical constructs used in structural programming. - CORRECT ANSWER -
Sequence, conditional (if else, select-case), loops (do while, repeat until)
TF: structured programming is all you need to achieve high software quality. - CORRECT
ANSWER - False
This is a programming paradigm aimed on improving the clarity, quality, and development time
of a computer program by making extensive use of subroutines,block structures and for and
while loops - CORRECT ANSWER - Structured programming
In structured programming, every block has these two things. - CORRECT ANSWER -A
single entrance and a single exit.
Define: the number of times control paths cross. - CORRECT ANSWER - Knots
This represents the algorithm at a level of detail that can be reviewed for quality. - CORRECT
ANSWER - Algorithm design model
Name the four options for algorithm design model. - CORRECT ANSWER - •graphical (e.g.
flowchart, box diagram)
•pseudocode (e.g., PDL)
•programming language
•decision table
, What does IPO stand for in an IPO chart? - CORRECT ANSWER - Input, processing, output
This is a graphical design representation for structured programming that forces designers to put
algorithm into predefined boxes - CORRECT ANSWER - Nassi-Schneiderman Diagram
Name four advantages of program design language. - CORRECT ANSWER - 1. Machine
readable
2. Can be embedded into source code
3. Can be represented in great detail
4. Easy to review
The following are reasons why we do what?
•assess the status of an ongoing project
•track potential risks
•uncover problem areas before they go "critical,"
•adjust work flow or tasks,
•evaluate the project team's ability to control quality of software work products. - CORRECT
ANSWER - Measure
A thermometer is an example of ______ measurement. - CORRECT ANSWER - Direct
A pedometer is an example of ______ measurement. - CORRECT ANSWER - Direct
Using a pedometer and a watch is an example of ______ measurement. - CORRECT
ANSWER - Indirect