Mathematics I / Scientific Computing in Practice
Practice question · Multiple choice

A simulation can produce plausible-looking output while being completely wrong. What distinguishes verification from validation, and why are both needed?

Hints
  1. Two things can be wrong: the equations you chose, and the code that solves them. Which check catches which?
  2. Ask what a bug-free implementation of the wrong physics would produce.
Show the answer

A. Verification asks if the code implements the model; validation, if the model fits reality.

Why

Verification asks whether we are solving the equations right; validation asks whether they are the right equations, and they catch different failures. A flawless implementation of a model missing a force runs cleanly and produces confident nonsense. Which is why plausible output is weak evidence, a simulation is built to produce it, so 'the results look reasonable' begins the checking.

Read the lesson: Scientific Computing in Practice →

Practise Scientific Computing in Practice

The app has 5 more questions on this lesson, and keeps your place in the course. Mathematics I is free to start.

More questions on Scientific Computing in Practice