Skip to main content

← Computer Science syllabus

SingaporeComputer Science

Algorithms and Problem Solving

6 dot points across 6 inquiry questions. Click any dot point for a focused answer with worked past exam questions where available.

How do we measure and compare the efficiency of algorithms independently of the machine they run on?

How do simple comparison sorts work, and why are they quadratic?

How do we systematically visit every node in a graph, and when do we use breadth-first versus depth-first search?

How do we find an item in a collection, and why is a sorted list so much faster to search?

How do divide-and-conquer sorts achieve O(n log n), and how do merge sort and quicksort differ?

How does a function that calls itself solve a problem, and when is recursion the right tool?