Skip to content

Course home

x
Sign up
x

Decisions change program flow

Decisions change program flow

Flowchart of cinema ticket selection showing the decisions age < 16 and hasStudentCard == TRUE, with child, student, and adult outputs

A program does not always follow one fixed route. When it reaches a decision point, the next instruction depends on whether a condition is TRUE or FALSE.

Thinking logically Lesson

  1. A Level
  2. /Computer Science
  3. /Thinking logically

Step-by-step lessons on OCR A Level Computer Science Thinking logically. Each one builds up to exam-style questions.

Lessons