Friday, December 17, 2010

Code Inspection - Multiple Choice Questions

Code Inspection - Multiple Choice Questions

1)
The goal of the inspection is to identify defects.

A) True
B) False

2)
An inspection is regarded as a proper testing activity rather than an activity to evaluate a work product for suitability.

A) True
B) False

3)
It’s important to note that Inspections are a way to remove defects at a lower cost, not a way to prevent defects from occurring.

A) True
B) False

4)
Code inspector teams consist of ....... individuals.

A) 9-11
B) 8-10
C) 5-8
D) 2-5

5)
Usually a single code inspector should cover no more than ................., including comments, but not including whitespace.

A) 350 source code lines
B) 250 source code lines
C) 150 source code lines
D) 450 source code lines

6)
Additional inputs are: Inspection reporting forms, Inspection checklists, Hardware product specifications, Hardware performance data. Some of these inputs are optional. The reporting form is mandatory as well as the inspection checklist.

A) True
B) False

7)
To do the inspection, go through the code line by line, attempting to fully understand what you are reading. At each line or block of code, skim through the ............, looking for questions which apply. For each applicable question, find whether the answer is "yes." A yes answer means a probable defect.

A) inspection questionnaire
B) inspection security list
C) inspection checklist
D) inspection document

8)
The formalism in the inspection process is heavy. However, the formalism does not guarantee that bugs are detected!

A) True
B) False

9)
A .......... runs the inspection process. He finds a conference room, distributes listings to the participants, and runs the meeting. That person is one of us, not a manager, and smart teams insure everyone takes turns being ......... so one person isn't viewed as the perennial bad guy.

A) Team Lead
B) manager
C) inspector
D) moderator

10)
At the end of the inspection the decision has to be made to accept the work product, close the inspection, but require a rework, reject the work product and require a re-inspection after the rework is done.

A) True
B) False

1)a, 2)a, 3) a, 4) d, 5)b, 6) a, 7)c, 8) a, 9)d, 10) a