Signed up recently but had issues with the confirmation email?

Click Forgot password and follow the reset steps. You can choose the same password you used when you signed up. This should then provide access.

Remember to check Spam and Junk. The email will be from auth@progressbytes.co.uk.

Revision notesQuestionsFor schools
Revise Computing
Log inStart revising free
Revision notesQuestionsFor schoolsLog in

© 2026 Revise Computing · revisecomputing.co.uk

Worried about something?Question Bank UpdatesPrivacy noticeTermsContact

Revise Computing is an independent revision resource. It is not affiliated with, or endorsed by, OCR (Oxford Cambridge and RSA Examinations).

Knowledge/A Level/H446/02 Algorithms and programming/Algorithms/Analysis and design of algorithms for a given…

Analysis and design of algorithms for a given situation

Analysis and design of algorithms for a given situation.

2.3.1 Algorithms

Practise exam questions

Algorithms — Note 1 of 6

Candidates need to be able to write algorithms using flowcharts, pseudocode and program code. Candidates need to be able to follow the OCR pseudocode guide but are not expected to write in its syntax. Code does not need to be syntactically perfect but must use appropriate structures and techniques.

What you need to know

You need to be able to design algorithms for a given situation and express them using flowcharts, pseudocode or program code. Your code does not need to be syntactically perfect, but it must use appropriate structures and techniques.

What to know

  • Start by identifying the inputs, outputs, processes and any preconditions.
  • Decompose the problem and choose suitable data structures.
  • Express the algorithm using a flowchart, pseudocode or program code. You can follow the OCR pseudocode guide, but you do not have to write in its syntax.
  • Analyse the algorithm by tracing it with test data (including boundary cases) to check it is correct.
  • Consider the efficiency of the algorithm in terms of time and memory.

Exam technique

  • Tip:Section B questions are based on a scenario; read it carefully and use the variable and data names it gives.
  • Tip:Make your algorithm general: it must work for ANY valid input, not just the worked example in the question. Every calculation must be stored or used: assigned to a variable, tested in a condition, output or returned. A calculation on a line by itself, like x MOD 2, does nothing and earns no marks.
  • Tip:Use DIV (or // in Python) when you need a whole-number result, e.g. a midpoint or how many full boxes; / gives a real number. MOD gives the remainder.
  • Mistake:Writing code that asks for new input inside a function instead of using the parameters passed to it. The reverse loses marks too: if the question says the user enters a value, your algorithm must include that input.

Past exam questions

  • June 2023Paper 2Q66marks
  • November 2021Paper 2Q8(d)4marks
  • November 2020Paper 1Q68marks

Ready to test yourself?

Practise 2.3.1 questions
← Previous topicBacktracking, data mining, heuristics, performance modelling, pipelining and visualisation2.2.2 Computational MethodsNext note →The suitability of different algorithms for a given task and data set, in terms of execution time and space2.3.1 Algorithms

Back to Algorithms

Algorithms

Note 1 of 6

  1. 1Analysis and design of algorithms for a given situation
  2. 2The suitability of different algorithms for a given task and data set, in terms of execution time and space
  3. 3Measures and methods to determine efficiency, Big O notation
  4. 4Comparison of the complexity of algorithms
  5. 5Algorithms for stacks, queues, trees, linked lists, depth-first (post-order) and breadth-first traversal
  6. 6Standard algorithms: sorts, Dijkstra's shortest path, A*, binary search and linear search
Topic overview