Skip to content
AmzhyronLearning Solutions

Computer Science tuition

Name the syllabus year and programming language. Use a separate practice problem to develop testing skills while keeping your assessed development independently authored.

What to discuss

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

  • Programming and computational thinking
  • Systems and networks
  • Data representation and organisation
  • Testing and evaluating software
View curriculum or exam details

Try a sample exercise

For a zero-indexed list [7, 4, 4, 9], a search function should return the first index matching the target and a “not found” result otherwise. Give two tests that distinguish required behaviours.

Check your answer

A search for 4 should return index 1, exposing an implementation that overwrites the first match with index 2. A search for 6 should return the documented “not found” result, rather than a misleading valid index.