Skip to main content

← back to the guide

Eduqas A-Level Computer Science data structures and algorithms overview quiz quiz

13questions. Pick an answer and you'll see why right away.

  1. An integer array based at address 300300 stores 44-byte elements. What is the address of element 55?

  2. Which structure follows last-in, first-out (LIFO) behaviour?

  3. In a circular queue of size 66, the rear pointer is at index 55. After one more enqueue, the rear index becomes

  4. What is the main advantage of a linked list over a static array?

  5. An in-order traversal of a binary search tree outputs the keys in

  6. Which graph representation is most space-efficient for a sparse graph?

  7. A collision in a hash table occurs when

  8. What is the time complexity of binary search, and what does it require?

  9. A breadth-first traversal of a graph uses which auxiliary data structure?

  10. After one complete pass of a bubble sort (ascending), which element is guaranteed to be in its final position?

  11. Which pair of sorting algorithms both run in O(nlogn)O(n \log n) on average?

  12. Why does a recursive function need a base case?

  13. Order these complexities from most to least efficient for large nn: O(n2)O(n^2), O(1)O(1), O(logn)O(\log n), O(n)O(n).