Wk1 - Session 2


Programming Fundamentals

Session 2

1 / 11
next
Slide 1: Slide
New lesson editor

This lesson contains 11 slides, with text slides.

Report this lesson

Items in this lesson


Programming Fundamentals

Session 2

Class Expectations




  • Do you have your ID?

  • Drinks and food away

  • Are mobile phones away?

  • Are you logged in and ready to learn?

  • Please ask if you think you have nothing to do

  • WEX - 15th to 19th June 2026





Variables and Data Types





Starter – What is it?





The Variable "Box"





Writing Code (Python)






Guided Task – Exercise 1 Prep

  • Open your Assessment Workbook to Exercise 1.

  • The brief asks you to:

Set up two variables.

Perform an addition.

Show the result to the user.

  • Let's do step 1 together!






Step-by-Step Guide (Exercise 1)

  • Open your Python editor (e.g., Notepad++ or IDLE).

  • Create your first variable: num1 = 10.

  • Create your second variable: num2 = 5.

  • Write print(num1 + num2).

  • Run your code! If it shows 15, you are successful.






Capturing Your Evidence

  • OCN London requires proof of your work.

  • Task: Take a screenshot of your code AND the result window.

  • Action: Paste this screenshot into the box labeled "Insert Screenshot of your code" in Exercise 1.



Learning Check

  • What symbol do we use to give a value to a variable? (The = sign) .

  • If I want to store the word "Hello", do I need quote marks? (Yes—it is a String).

  • Can we have spaces in a variable name? (No!).








Plenary – Workbook Check

  • Check your workbook: Is Exercise 1 started?.

  • Have you saved your Python file into your evidence folder?.

  • Next session, we will finish the math functions (subtraction, multiplication, and division).