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?
- A. The voter is always the slowest component
- B. Three versions cost exactly three times as much as one
- C. Majority voting cannot be used with floating-point outputs
- 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.
Practise more Software Engineering, Git and Cloud Basics questionsSoftware Engineering, Git and Cloud Basics: notes and key points
More Software Engineering, Git and Cloud Basics questions
- A team adds hundreds of snapshot tests that compare whole rendered pages with stored output. Six months later, which problem is most…
- A coverage-guided fuzzer runs a parser for hours with random mutations of seed inputs, and AddressSanitizer is enabled. What can it find…
- After a production outage a team draws a diagram with the problem at the head and branches for People, Process, Tools, Environment and…
- In a RACI matrix for a release task, which rule is standard?
- COCOMO II computes Effort = 2.94 × Size^E × EAF person-months, with E = 0.91 + 0.01 × (sum of scale factors). For a 40 KSLOC project with…
- A project is behind schedule. The manager can either add people to critical-path activities or start some critical activities in parallel…