SHSubjectHub

Classification of algorithms: Big-O, tractability and the Halting problem

AQA 75174.4 L5A-levelLesson packSubscription
Also online

This worksheet marks itself

Set it as homework or classwork and every answer is marked as pupils go, with feedback on what they got wrong. The scores go straight into your mark book, so you can see who needs help before the next lesson.

  • 12 questions
  • 39 marks
  • about 40 minutes
  • marked instantly

Question types: short answer, multiple choice, true or false, matching.

One question from this worksheet

  1. 1. The question
  2. 2. A pupil answers
  3. 3. Marked instantly

About this resource

11 C# programming challenges in three sets, each with exact test data, plus a count-the-steps Do Now, a short key idea, two exam questions with mark schemes and a worksheet. Covers AQA 7517 4.4.4.1-4.4.4.7 Classification of algorithms: comparing algorithms, maths for Big-O, order of complexity, l…

21 slides.

Lesson outline

  1. Do Now: count the steps
  2. Do Now: answers
  3. Key idea: Comparing algorithms: functions of n
  4. Key idea: Big-O: how the steps grow
  5. Quick check: which grows fastest?
  6. Key idea: Deriving the complexity of an algorithm
  7. Key idea: Tractable and intractable problems
  8. Quick check: tractable or not?
  9. Key idea: Heuristics: the nearest neighbour
  10. Key idea: Computable? The Halting problem
  11. Set 1: factorials, permutations and powers
  12. Set 2: count the steps, find the order
Unit bundle4.4 Theory of computation · full lessons
Part of: 4.4 Theory of computation · full lessons: the whole unitEvery resource in the unit in one zip.

More from 4.4 Theory of computation · full lessons