All control flow graphs contain which two nodes that abstractly represent entering the
method and leaving the method? - ANSWERSentry/exit
In a control flow graph, the labeled outgoing edges of a node, when there are two or
more outgoing edges are called what? - ANSWERSbranches
"For loops" are a particularly weird construct that exists in many programming
languages. For an accurate representation in a control flow graph, how many nodes
should be used to represent this line:
for (int i = 0; i < 10; i++) - ANSWERS3
For this question, mark all correct answers.
Structural models (such as a control flow graph) are useful for what purposes? -
ANSWERS-Inform what test cases can and should be written
-Inform a criterion for how much testing is enough
-Allow for automated analyses
Which of the following is NOT a structural test-adequacy criterion? - ANSWERSAll
transitions in a finite state machine
Which of these instrumentation types is the most descriptive and has the highest
runtime overhead? - ANSWERSTrace
The weaved-in instructions that monitor and record the runtime execution information
for a program are called what? - ANSWERSprobes
The process of weaving in those recording instructions (described in the previous
question), is called what? - ANSWERSinstrumentation
Match the instrumentation type on the left to the example output on the right for
statement-level instrumentation. - ANSWERSTrace: S1, S2, S3, S2, S3, S2, S3, S5
Profile: S1: 1, S2: 3, S3: 3, S4: 0, S5: 1
Coverage: S1: True, S2: True, S3: True, S4: False, S5: True
The "V" process model introduced which idea to the prior "Waterfall model"? -
ANSWERSPairing development activities with testing activities
Over the years, software development process models evolved, got more nuanced, and
recognized more intricacies of real software development. What was one of those
observed intricacies in regards to quality assurance (QA) activities? - ANSWERSQA