CS FundamentalsVery hardGATE CS

A flight-control system uses N-version programming: three teams independently write the same module from one specification, and a voter takes the majority output. What is the main weakness found in experiments such as Knight and Leveson's?

  1. A. The voter is always the slowest component
  2. B. Three versions cost exactly three times as much as one
  3. C. Majority voting cannot be used with floating-point outputs
  4. D. Independent teams tend to make correlated mistakes (often from the shared specification), so versions fail together more often than independence assumes

Correct answer: D. Independent teams tend to make correlated mistakes (often from the shared specification), so versions fail together more often than independence assumes

The reliability gain assumes the versions fail independently, but teams err on the same hard parts of the problem and share specification errors. Coincident failures then defeat the vote.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic