Question
Which one of the following assertions concerning code inspection and code walkthrough is true?
Official answer and solution
- Official answer
- C
- From
- Official GATE 2015 answer key
Solution
Review standard IEEE / Fagan definitions of software inspection and walkthrough reviews.
Definitions:
- Code Walkthrough: An informal, developer-led peer review where the author guides team members through code to discover discrepancies and logic flaws.
- Code Inspection: A formal, checklist-driven review process introduced by Michael Fagan. It is led by a trained moderator (not the author) to verify adherence to design specifications, coding guidelines, and organizational standards.
Evaluating the assertions:
- (A) Inspections occur during implementation before dynamic unit testing, not after.
- (B) Inspections and walkthroughs differ significantly in formality, role definitions, and meeting structure; they are not synonyms.
- (C) 'Adherence to coding standards is checked during code inspection' is a core objective of formal inspection checklists. This assertion is true.
- (D) Walkthroughs are conducted by peers and the development team, not an independent test team.
Final answer
C
Common trap
Conflating formal Fagan code inspection with informal peer walkthroughs.
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2015 Computer Science and Information Technology (CS) Session 2
- Question
- 53 of 65, printed as CS Q.43
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.