IGCSE Computer Science 0478: Variables, constants and assignment
Students learn what variables and constants are, how to name them, and how to declare them and assign values using DECLARE, CONSTANT and the ← operator.
One content description from the full IGCSE Computer Science 0478 — 8.1a Data Types and Variables journey. All 13 modules below are in that journey too, with the same content — add just these to a class, or the whole strand.
Modules (13)
1
What a variable is
2
What a constant is
3
Identifier rules in Cambridge pseudocode
4
Identifiers are case insensitive
5
Declaring a variable with DECLARE (8.1a)
6
Declaring CHAR and STRING variables
7
Assignment with the ← operator
8
Assigning the result of an expression
9
Assigned value must match the variable's data type
10
Declaring a constant with CONSTANT
11
A constant's value must be a literal
12
Why use constants in a program
13
Choosing a variable or a constant
For Teachers
Add this journey to your class and track every student in real time.
Create a free teacher account →No credit card. No setup fee. Make a class and invite students in under three minutes.
For Students
Start this journey on Cloodit — track progress, earn badges, and play live sprints with your class.
Start Learning Free →