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/Thinking Logically/Determine how decisions affect flow through…

Determine how decisions affect flow through a program

Determine how decisions affect flow through a program.

2.1.4 Thinking Logically

Practise exam questions

Thinking Logically — Note 3 of 3

Candidates need to understand that there can be many different routes through a program, and how decisions influence these routes and outcomes.

What you need to know

Decisions determine which route the program takes through its code. You need to understand how different inputs lead to different paths and outcomes.

What to know

  • Each decision splits the flow of a program into different routes, and loops repeat sections of code depending on a condition.
  • The number of possible routes through a program grows quickly as decisions are added.
  • Tracing a program with different test data shows which path is followed and helps find logic errors.
  • Nested decisions (decisions inside decisions) create more complex flows and need careful testing.

Exam technique

  • Tip:When asked how a decision affects flow, describe what happens for each outcome of the condition. Give the condition, what happens if True and what happens if False, using the names in the program you are given.
  • Example:A heating controller reads the room temperature. Decision 1: is it below 18°C? True: switch the heating on. False: go to decision 2. Decision 2: is it above 22°C? True: switch the heating off. False: leave the heating as it is.

Past exam questions

  • June 2024Paper 2Q9(b)(iii)3marks
  • June 2019Paper 2Q4(b)(ii)2marks

Ready to test yourself?

Practise 2.1.4 questions
← Previous noteDetermine the logical conditions that affect the outcome of a decision2.1.4 Thinking LogicallyNext topic →Determine the parts of a problem that can be tackled at the same time2.1.5 Thinking Concurrently

Back to Thinking Logically

Thinking Logically

Note 3 of 3

  1. 1Identify the points in a solution where a decision has to be taken
  2. 2Determine the logical conditions that affect the outcome of a decision
  3. 3Determine how decisions affect flow through a program
Topic overview