ÌÇÐÄVlog

Please consent to cookies to view content.

' ); iframeDoc.close(); } } } } } const observer = new MutationObserver(switchSrc); observer.observe(document.documentElement, { childList: true, subtree: true, }); })();

ÌÇÐÄVlog

Last updated

23 August 2026

pdf, 59.65 KB
pdf, 59.65 KB
pdf, 67.72 KB
pdf, 67.72 KB
pdf, 67.74 KB
pdf, 67.74 KB
pdf, 68.03 KB
pdf, 68.03 KB
pdf, 67.68 KB
pdf, 67.68 KB
pdf, 60.21 KB
pdf, 60.21 KB
pdf, 60.33 KB
pdf, 60.33 KB
pdf, 67.14 KB
pdf, 67.14 KB
pdf, 68.01 KB
pdf, 68.01 KB
pdf, 60.54 KB
pdf, 60.54 KB
pdf, 59.87 KB
pdf, 59.87 KB
pdf, 66.78 KB
pdf, 66.78 KB
pdf, 59.78 KB
pdf, 59.78 KB
pdf, 59.59 KB
pdf, 59.59 KB
pdf, 67.38 KB
pdf, 67.38 KB
pdf, 67.25 KB
pdf, 67.25 KB
pdf, 67.35 KB
pdf, 67.35 KB
pdf, 67.94 KB
pdf, 67.94 KB
pdf, 59.71 KB
pdf, 59.71 KB
pdf, 59.28 KB
pdf, 59.28 KB
pdf, 71.75 KB
pdf, 71.75 KB
pdf, 71.17 KB
pdf, 71.17 KB
pdf, 72.4 KB
pdf, 72.4 KB
pdf, 71.8 KB
pdf, 71.8 KB
pdf, 71.67 KB
pdf, 71.67 KB
pdf, 72.25 KB
pdf, 72.25 KB
pdf, 71.51 KB
pdf, 71.51 KB
pdf, 72.9 KB
pdf, 72.9 KB
pdf, 71 KB
pdf, 71 KB
pdf, 71.31 KB
pdf, 71.31 KB
pdf, 71.38 KB
pdf, 71.38 KB
pdf, 72.13 KB
pdf, 72.13 KB
pdf, 71.8 KB
pdf, 71.8 KB
pdf, 71.96 KB
pdf, 71.96 KB
pdf, 72.31 KB
pdf, 72.31 KB
pdf, 72.03 KB
pdf, 72.03 KB
pdf, 72.57 KB
pdf, 72.57 KB
pdf, 71.1 KB
pdf, 71.1 KB
pdf, 72.04 KB
pdf, 72.04 KB
pdf, 70.28 KB
pdf, 70.28 KB
txt, 4.4 KB
txt, 4.4 KB

Big-O and the complexity of algorithms for AQA A Level Computer Science
(7517): twenty different fragments of pseudocode, each derived all the way
through, and each with a complete answer key.

Section 4.4.4.3 asks candidates to BE ABLE TO DERIVE the time complexity of an
algorithm. Most resources on this topic are tables of orders to memorise.
Every sheet here starts from code.

WHAT YOU GET

  • 20 worksheets, 3 pages each, numbered 01 to 20
  • 20 matching answer keys
  • A contents table giving each sheet’s fragment and its order, so you can pick
    one without opening all twenty

WHAT IS ON EVERY SHEET

Question 1 prints a numbered fragment of pseudocode and names one line. How
many times does that line run for a given n? Then as an expression in n. Then
the order in Big-O notation. The answer key explains where the count comes
from, not just what it is.

Question 2 does the same on two more fragments, each of a different order from
the first.

Question 3 covers the maths: the order of a polynomial, five orders to put in
increasing order of growth, and two algorithms whose exact operation counts
are given, compared at one particular size.

Question 4 covers permutations and n factorial, which of two problems is
tractable and why, and what is used when a problem is not.

Question 5 is a written question on the Halting problem, on tractability, on
why constant factors are dropped, on best case against worst case, or on the
limits of computation.

Every sheet is 30 marks.

THE TWO CONVENTIONS THAT DECIDE THE ANSWERS

Only the numbered line a question names is counted - not the FOR or WHILE
lines, not the lines that set a variable up. Without that, “how many
operations does this algorithm do� has no answer at all: textbooks count
operations, comparisons or statements by turns, and three students who are all
right write three different numbers. Naming a line removes the question rather
than settling it arbitrarily.

The second is the one marks are lost on: Big-O here always describes the WORST
case, so a linear search of n items is O(n) even though it may find the item
at the first comparison. Both are printed at the top of every sheet, and one
of the five written questions asks the student to justify the second.

EVERY COUNT IS EXACT

No fragment relies on a rounding. The loop that halves n is only ever given a
power of two, so the count is exactly log2 n rather than a floor or a ceiling
depending on which textbook you read; the loop that steps by two is only ever
given an even n. Where a question asks for a number, there is one number.

FORMAT

PDF, A4, print-ready. Twenty genuinely different fragments, so you already
have a fresh sheet for every class, every resit and every homework.

Licensed for the purchasing teacher and their own classes.

Reviews

Something went wrong, please try again later.

This resource hasn't been reviewed yet

To ensure quality for our reviews, only customers who have purchased this resource can review it

to let us know if it violates our terms and conditions.
Our customer service team will review your report and will be in touch.