T-Level DigitalYears 12–13Digital Production, Design and Development

Programming fundamentals — variables, data types, control flow

T-Level: Digital Production, Design & Development: Programming fundamentals — variables, data types, control flow

What you'll learn

  1. 1

    Imagine a labelled box in your room — you can put different things inside and change what's in it later. That's a variable! 🧰

  2. 2

    What is a variable? 🧠

  3. 3

    Variables can hold different types of data: numbers (integers), text (strings), true/false (booleans). Think of them as different-shaped boxes! 📦🔢📝

  4. 4

    Let's see how a variable changes in a program. 🧩

  5. 5

    Now you try! Change the variable 'total' from 5 to 15 by adding 10. 🎮

  6. 6

    If 'name = 'Alice'' and later 'name = 'Bob'', what happens to the old value 'Alice'? 🤔

  7. 7

    A variable can store different data types. Which of these is a boolean? 🧪

Practise Programming fundamentals — variables, data types, control flow with Whizlo

Free AI-tutored lessons, unlimited practice questions, and progress tracking for ages 16–18. Aligned to the UK National Curriculum.