Applying a harness tolerance at its boundary

A test harness checks a sensor-conversion function that returns temperatures in degrees Celsius. Its absolute error is the magnitude of the difference between the returned temperature and the expected temperature:


e=∣Treturned−Texpected∣.e = |T_{\text{returned}}-T_{\text{expected}}|.


The harness reports pass when e≤0.10 ∘Ce \leq 0.10\ ^\circ\text{C} and fail otherwise. Treat the recorded decimal values as exact for this exercise.


Complete the table with each absolute error in degrees Celsius and its verdict. Enter exact decimals for errors and either pass or fail for verdicts.

CaseExpected temperature (°C)Returned temperature (°C)Absolute error (°C)Verdict
A12.5012.42
B6.256.35
C8.008.11
D0.200.10

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Test Harnesses Questions: