Skip to content
AmzhyronLearning Solutions

Computer Science tuition

Tell us which language you use for practical preparation. Bring your own runnable program or pseudocode, with a description of the input where it fails.

What to discuss

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

  • Data representation and computer architecture
  • Programming paradigms and algorithms
  • Networks, security and databases
  • Practical program design and testing
View curriculum or exam details

Try a sample exercise

A recursive routine adds n to sum(n − 1), returning zero when n is zero. Trace the return values for sum(3), then explain what happens if the base case is omitted.

Check your answer

The calls descend through 3, 2, 1 and 0. The returns are 0, 1, 3 and 6. Without termination the calls would continue past zero until execution fails or runs out of available resources.