GATE / CS ARCHIVE

GATE CSE 2015 SET 2 / QUESTION 64

GATE CSE 2015 Set 2 Q64

Engineering Mathematics & Other Topics · Software Engineering · Full GATE CSE 2015 Set 2 paper

GATE 2015 Set 2, Q64 2 marks · MCQ
Not in GATE 2027 syllabusReport issue

Software Engineering

Question 64, GATE 2015: Which statement about code inspection and walkthrough is true? A inspection is carried out once code has been unit tested; B inspection and walkthrough are synonyms; C inspection checks adherence to coding standards; D walkthrough is usually conducted by an independent test team.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

Formal code inspection includes checking adherence to coding standards, C. Inspection is static and need not wait until unit testing; a walkthrough is typically author-led and is not synonymous with formal inspection or necessarily performed by an independent test team.

An inspection is a systematic static review against defect classes and a checklist, which can include naming, formatting, safety and other coding standards. It need not wait for execution or unit testing, so A imposes an unnecessary ordering. A walkthrough is usually author-led and less formal, so it is not simply a synonym or necessarily an independent-test-team activity. Therefore C is the defensible general assertion. These are software-engineering concepts retained as supplemental coverage outside the requested subject taxonomy.

Original paper, page 50 · Answer key