What is LessonUp
Search
Channels
AI tools
Beta
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
Science subjects - Inspiration slides
August 2023
- Lesson with
14 slides
by
LessonUp Academy
LessonUp
Primary Education
Lower Secondary (Key Stage 3)
Upper Secondary (Key Stage 4)
Further Education (Key Stage 5)
Higher Education (degree)
LessonUp Academy
Programming A Screen Turtle
August 2024
- Lesson with
19 slides
by
Science
Computing
Primary Education
Science
Programming A Screen Turtle
December 2023
- Lesson with
19 slides
by
LessonUp Inspiration
Computing
Primary Education
LessonUp Inspiration
Illegal Fishing Lesson 3 (Primary)
December 2020
- Lesson with
32 slides
by
SEA SHEPHERD
Social Studies
Mathematics
+4
4-6 Grade
6th,7th Grade
SEA SHEPHERD
Case Study - Operation SISO (Primary)
December 2020
- Lesson with
16 slides
by
SEA SHEPHERD
Science
Geography
+4
4-6 Grade
6th,7th Grade
SEA SHEPHERD
Illegal Fishing Lesson 3 (Secondary)
November 2020
- Lesson with
35 slides
by
SEA SHEPHERD
Social Studies
Mathematics
+4
7-9 Grade
9-11 Grade
SEA SHEPHERD
Illegal Fishing Lesson 3 (Secondary)
April 2021
- Lesson with
35 slides
by
SEA SHEPHERD
Social Studies
Mathematics
+4
7-9 Grade
9-11 Grade
SEA SHEPHERD
Case Study - Operation SISO (Secondary)
November 2020
- Lesson with
17 slides
by
SEA SHEPHERD
Science
Geography
+4
7-9 Grade
9-11 Grade
SEA SHEPHERD