Qu'est-ce que LessonUp
Rechercher
Canaux
Connectez-vous
S'inscrire
‹
Revenir à la recherche
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
suivant
Slide 1:
Diapositive
Computing
Upper Secondary (Key Stage 4)
GCSE
Cette leçon contient
15 diapositives
, avec
quiz interactifs
et
diapositives de texte
.
La durée de la leçon est:
120 min
Commencer la leçon
Partager
Imprimer la leçon
Éléments de cette leçon
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 - Diapositive
What is a data type?
Slide 2 - Carte mentale
Complete the table
3.14535
"Geoff"
G
314535
True
String
Real/Float
Char
Boolean
Integer
Slide 3 - Question de remorquage
Complete the
Data Types Topic Test
on Classroom
Slide 4 - Diapositive
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 - Diapositive
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 - Diapositive
Slide 11 - Diapositive
Slide 12 - Diapositive
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 - Diapositive
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 - Diapositive
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 - Diapositive
Plus de leçons comme celle-ci
Lesson 4
Mai 2023
- Leçon avec
17 diapositives
Python lesson 3
Septembre 2024
- Leçon avec
20 diapositives
Computing
Lower Secondary (Key Stage 3)
Year 9 Python recap
Mars 2024
- Leçon avec
21 diapositives
Computing
Lower Secondary (Key Stage 3)
Year 9 Python recap
il y a 7 jours
- Leçon avec
21 diapositives
Computing
Lower Secondary (Key Stage 3)
Cover Year 9 Python Lesson 2 180923
Septembre 2023
- Leçon avec
19 diapositives
Computing
Lower Secondary (Key Stage 3)
Algorithms
Mars 2024
- Leçon avec
34 diapositives
Python lesson 2
Septembre 2024
- Leçon avec
23 diapositives
Computing
Lower Secondary (Key Stage 3)
Python lesson 1
Septembre 2023
- Leçon avec
20 diapositives
Computing
Lower Secondary (Key Stage 3)