Skip to content
GK24
Computer AwarenessMediumAsked in: Delhi · 7 Aug 2021, Shift 2

Which of the following statements is/are correct regarding code walk-through in software development? I. It is an informal technique for analyzing code. II. It is performed just before coding the module.

  1. A.Neither I nor II
  2. B.Only I
  3. C.Both I and II
  4. D.Only II

Correct answer

B. Only I

Explanation

The correct answer is B, only I. A code walk-through is an informal review technique: a few team members read a module line by line, mentally execute it on sample data and note the defects they find, without the checklists, metrics and formal records of an inspection. Statement I is therefore correct. Statement II is wrong on timing, because a walk-through can only be held after the module has been coded; there is no code to walk through before coding. That makes option D, only II, wrong, and option C, both, wrong as well. Option A is wrong because statement I is sound. The learning point is the pair: a walk-through is informal and conducted after coding, while a code inspection is formal, uses a checklist of common error types and produces a written report.

Read the full article: Algorithms, Flowcharts and SDLC: Symbols, Models and PYQs

View all
Q2.Computer AwarenessEasy

In a flowchart, the oval or rounded shape is used to show:

  1. A.Start and Stop
  2. B.A subroutine call
  3. C.A decision
  4. D.The direction of flow
Show answer
Correct answer: A. Start and Stop

The oval is the terminal symbol, and a well-formed flowchart has exactly one Start terminal and at least one Stop terminal; a chart that can never reach a Stop describes an infinite loop and so breaks the finiteness property of an algorithm.

Q3.Computer AwarenessEasy

The word algorithm is derived from the name of which mathematician?

  1. A.Euclid
  2. B.Al-Khwarizmi
  3. C.Charles Babbage
  4. D.Blaise Pascal
Show answer
Correct answer: B. Al-Khwarizmi

Muhammad ibn Musa al-Khwarizmi was a ninth-century Persian mathematician and astronomer whose treatise on calculation with Hindu-Arabic numerals reached Europe in Latin translation; his Latinised name produced the word algorithm, and another of his works gave the word algebra.

Q5.Computer AwarenessAsked in: Delhi · 7 Aug 2021, Shift 1Medium

What is the other name of Linear Sequential model in software engineering?

  1. A.Spiral model
  2. B.Prototype model
  3. C.Waterfall model
  4. D.RAD model
Show answer
Correct answer: C. Waterfall model

The Waterfall model is called the linear sequential model because the project flows in one direction through requirement analysis, design, coding, testing, deployment and maintenance, with each phase completed and signed off before the next begins and no overlap between them.