Skip to content
AmzhyronLearning Solutions

Computer Science tuition

Bring one tested algorithm and one unseen problem. Working through boundary conditions can show whether the issue is coding or interpreting the problem specification.

What to discuss

trace an algorithm against a test table with ordinary and boundary cases

  • Data and computational systems
  • Programming and validation
  • Algorithms and trace tables
  • Security and software concepts
View curriculum or exam details

Try a sample exercise

An algorithm reads four marks. It adds a mark to a total only when it is at least 50, then reports the total divided by four. Is that the mean of the qualifying marks?

Check your answer

No. The program divides their sum by the number of all inputs even when some are below 50. It needs a separate qualifying count and a defined response if no marks meet the threshold.