Your progress:

Variables, Values and Sequence: Iteration: Selection: Subroutines: Arrays: String handling:
0 points

Instructions

Pseudocode is a way of describing the logical steps that a program will have to follow. It's not code that a computer will run: it's designed for programmers to use to plan how to solve a problem.

OCR have defined the syntax that they'll use in pseudocode exam questions here. You need to be able to understand it but you can write pseudocode in an exam using any style of pseudocode providing "its meaning could be reasonably inferred by a competent programmer"

Click on the Challenges button in the top right of the screen to get started

Note:

The password to each challenge is the output that the algorithm sends to the display

Challenges

Variables, Values and Sequence

Intro

Getting started.
This challenge is worth 10 points

Variables 1

Variables store data that might change when the program runs
This challenge is worth 10 points

Variables 2

Variables store data that might change when the program runs
This challenge is worth 10 points

Variables 3

Variables store data that might change when the program runs
This challenge is worth 10 points

Variables 4

str() casts a a number to a string
This challenge is worth 10 points

Variables 5

Variables store data that might change when the program runs
This challenge is worth 10 points

Iteration

Iteration 1

For loops repeat a known number of times
This challenge is worth 10 points

Iteration 2

For loops repeat a known number of times
This challenge is worth 10 points

Iteration 3

For loops repeat a known number of times
This challenge is worth 10 points

Iteration 4

While loops keep going until a condition is no longer met
This challenge is worth 10 points

Iteration 5

While loops keep going until a condition is no longer met
This challenge is worth 10 points

Iteration 6

While loops keep going until a condition is no longer met
This challenge is worth 10 points

Iteration 7

Repeat until loops will always loop once and keep going until a condition is met
This challenge is worth 10 points

Iteration 8

Repeat until loops will always loop once and keep going until a condition is met
This challenge is worth 10 points

Iteration 9

Nested loops mean one loop repeats inside another loop
This challenge is worth 10 points

Iteration 10

Nested loops mean one loop repeats inside another loop
This challenge is worth 10 points

Selection

Selection 1

If statements allow code to be run if a condition is met
This challenge is worth 10 points

Selection 2

If statements allow code to be run if a condition is met
This challenge is worth 10 points

Selection 3

If statements allow code to be run if a condition is met
This challenge is worth 10 points

Selection 4

If statements allow code to be run if a condition is met
This challenge is worth 10 points

Selection 5

If statements allow code to be run if a condition is met
This challenge is worth 10 points

Subroutines

Procedures 1

Procedures are reusable sections of code with a name
This challenge is worth 10 points

Procedures 2

Procedures are reusable sections of code with a name
This challenge is worth 10 points

Procedures 3

Each procedure or function has its own scope for variables
This challenge is worth 10 points

Procedures 4

Each procedure or function has its own scope for variables
This challenge is worth 10 points

Functions 1

Functions are like procedures but they return a value
This challenge is worth 10 points

Functions 2

Functions are like procedures but they return a value
This challenge is worth 10 points

Functions 3

Functions are like procedures but they return a value
This challenge is worth 10 points

Arrays

Arrays 1

Arrays can store multiple items in order
This challenge is worth 10 points

Arrays 2

Arrays can store multiple items in order
This challenge is worth 10 points

Arrays 3

Arrays can store multiple items in order
This challenge is worth 10 points

Arrays 4

2D Arrays can store a grid of data
This challenge is worth 10 points

Arrays 5

2D Arrays can store a grid of data
This challenge is worth 10 points

String handling

Strings 1

Strings are made up of multiple characters
This challenge is worth 10 points

Strings 2

Strings can be thought of as arrays of characters
This challenge is worth 10 points

Strings 3

Strings can be thought of as arrays of characters
This challenge is worth 10 points

Strings 4

Strings can be thought of as arrays of characters
This challenge is worth 10 points

Strings 5

Strings can be thought of as arrays of characters
This challenge is worth 10 points

Sources:

This resource was adapted for OCR Computer Science by J. Sharp from the original by P. Dring and is released under a Creative Commons Share Alike Attribution Licence