Business and technology qualifications, Levels 3-6, in Brussels. Explore qualifications
Portal login
Diploma in Higher Education Studies

Checking a solution with test data

HES 212 · Further Mathematics for University Study — Week 13 of 16

CourseHES 212
Week13 of 16
SemesterII
TutorOnline in the course chat

This week’s topics

Checking a solution with test data

  1. Normal, boundary and wrong data
  2. Comparing results with what you expect

What you will be able to do

  • 4.2 Verify a solution using test data.

Activity

Test your pseudocode with a table of test data.

Study materials

Further resources

  • Introduction to Computer Science, 9.3: Testing · PDF · OpenStax Introduction to Computer Science (2024), 9.3 Testing: choosing test data and comparing results with expectations, pp. 468–472 · for registered students
  • Prealgebra 2e, 9.1: Check your answer · PDF · OpenStax Prealgebra 2e (2020), 9.1: the final step of checking a solution makes sense, pp. 651–665 · for registered students
  • Software-testing education: a systematic literature mapping · Open-access article · Garousi et al. (2020), Journal of Systems and Software. How testing with normal, boundary and erroneous data is taught. · for registered students
  • Transition from passive learner to critical evaluator through peer-testing of programming… · Open-access article · Grov et al. (2017), New Directions in the Teaching of Physical Sciences. Students learn to design test cases by peer-testing programs. · for registered students
Materials marked “for registered students” open in the student portal, which is set up as soon as you receive final acceptance.
Course chat

Admitted students ask questions on this week’s page in the student portal: an AI assistant trained on the course answers first, and during the course’s timetabled classes Connect to your tutor brings your tutor into the chat, who may start a call if needed.

Open this week in the portal
Course plan
  • Week 1: Coordinates and straight-line graphs
  • Week 2: Gradient and y-intercept (y = mx + c)
  • Week 3: Plotting quadratic graphs
  • Week 4: Using graphs to solve problems
  • Week 5: Number sequences and the nth term
  • Week 6: Geometric sequences
  • Week 7: Sequences and how fast programs grow
  • Midterm: Midterm evaluation
  • Week 9: Probability basics
  • Week 10: Probability of two events
  • Week 11: Statistics for a dataset
  • Week 12: From a problem to pseudocode
  • Week 13: Checking a solution with test data
  • Week 14: Maths problem-solving project
  • Week 15: Review and coursework completion
  • Final: Final assessment and submission
Back to the course
Scroll