3. Scientific Programming

Testing And Validation — Quiz

Test your understanding of testing and validation with 5 practice questions.

Read the lesson first

Practice Questions

Question 1

Which testing practice involves creating an exact analytical solution to a PDE by inserting a manufactured source term, enabling direct verification of numerical solvers?

Question 2

In a grid convergence study, the error scales as $E\propto h^p$. Given $E_1=0.01$ at $h_1=0.1$ and $E_2=0.0025$ at $h_2=0.05$, what is the observed order $p$?

Question 3

Which term describes a mechanism for determining the expected outcome of a test against which actual test results are compared?

Question 4

In a continuous integration (CI) pipeline for computational science software, when is the full validation suite against benchmark datasets typically executed?

Question 5

What is the primary purpose of test fixtures in unit testing frameworks?
Testing And Validation Quiz — Computational Science | A-Warded