Multiple choice technology testing

What is the actual and potential result when a human being makes a mistake while writing code? I. A bug II. A failure III. A fault IV. An error V. A defect

  1. I, II, III and IV

  2. I, III and IV

  3. V only

  4. II, III and IV

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

When a human makes a mistake writing code, it's called an ERROR. This error can introduce a FAULT (defect) in the code. When the faulty code executes, it may produce a BUG (unexpected behavior), and if this bug causes the system to deviate from specified requirements, it's a FAILURE. Defect is often used synonymously with fault or bug. So the chain is: human mistake → error → fault/defect in code → bug → failure.