What is LessonUp
Search
Channels
Log in
Register
‹
Return to search
Year 10c programming fund 1
Year 10c programming fund 1
Key objective - you will be able to create different types of variables and apply different operations to those variables.
Learning objectives
- Use and identify different data types
- Use and identify constants and variables
- Use assignment statements & arithmetic operators
- Use the constructs Sequence, Selection & Iteration
1 / 15
next
Slide 1:
Slide
Computing
Upper Secondary (Key Stage 4)
GCSE
This lesson contains
15 slides
, with
interactive quizzes
and
text slides
.
Lesson duration is:
120 min
Start lesson
Save
Share
Print lesson
Items in this lesson
Year 10c programming fund 1
Key objective - you will be able to create different types of variables and apply different operations to those variables.
Learning objectives
- Use and identify different data types
- Use and identify constants and variables
- Use assignment statements & arithmetic operators
- Use the constructs Sequence, Selection & Iteration
Slide 1 - Slide
What is a data type?
Slide 2 - Mind map
Complete the table
3.14535
"Geoff"
G
314535
True
String
Real/Float
Char
Boolean
Integer
Slide 3 - Drag question
Complete the
Data Types Topic Test
on Classroom
Slide 4 - Slide
What is a variable? and what is a constant?
name = str(input("Enter your name?")
DOB = int(input("What is your Date of birth?")
pi = 3.142
radius = float(input("What is the radius?")
print("The circumference is: " 2 * pi * radius)
Slide 5 - Slide
Add 4 to 5
Print the result
A
Variable
B
Constant
Slide 6 - Quiz
Ask the user to type in a whole number
Add 5 to that number
Print the result
A
variable
B
constant
Slide 7 - Quiz
If 4 is less than 5
Add 5 to 4
Print the result
Otherwise
Print "no"
A
variable
B
constant
Slide 8 - Quiz
Ask the user to type in a whole number
If the number typed in is less than 5
Add 5 to the number typed in
Print the result Otherwise
Print "no"
A
variable
B
constant
Slide 9 - Quiz
Slide 10 - Slide
Slide 11 - Slide
Slide 12 - Slide
Read section 5 Cambridge GO (Operators)
- Interactive Activity 10a, 10b, 10c, 10d1, 10d2, 10e
- Complete the Operators Topic Test on Google
Classroom you should use Visual Studio Code for the calculations
Slide 13 - Slide
Sequence - The order processes are carried out
Selection - a condition to decide the path through the program and which set of instructions to execute next
Iteration -where a group of instructions are repeated.
Slide 14 - Slide
Generate a random number and store it as a variable ask the user to input a number.
Tell the user if the number is higher or lower than the random number.
Keep guessing until the player guesses the number.
Slide 15 - Slide
More lessons like this
Lesson 4
May 2023
- Lesson with
17 slides
Python lesson 3
September 2024
- Lesson with
20 slides
Computing
Lower Secondary (Key Stage 3)
Year 9 Python recap
March 2024
- Lesson with
21 slides
Computing
Lower Secondary (Key Stage 3)
Year 9 Python recap
7 days ago
- Lesson with
21 slides
Computing
Lower Secondary (Key Stage 3)
Cover Year 9 Python Lesson 2 180923
September 2023
- Lesson with
19 slides
Computing
Lower Secondary (Key Stage 3)
Algorithms
March 2024
- Lesson with
34 slides
Python lesson 2
September 2024
- Lesson with
23 slides
Computing
Lower Secondary (Key Stage 3)
Python lesson 1
September 2023
- Lesson with
20 slides
Computing
Lower Secondary (Key Stage 3)