Qu'est-ce que LessonUp
Rechercher
Canaux
Connectez-vous
S'inscrire
‹
Revenir à la recherche
Block based programming lesson 2
Do Now
Predict the outcome of the code.
1 / 13
suivant
Slide 1:
Question ouverte
Computing
Lower Secondary (Key Stage 3)
Cette leçon contient
13 diapositives
, avec
quiz interactifs
et
diapositives de texte
.
La durée de la leçon est:
50 min
Commencer la leçon
Partager
Imprimer la leçon
Éléments de cette leçon
Do Now
Predict the outcome of the code.
Slide 1 - Question ouverte
Lesson 2: Block based programming
Year 7 – Understanding the fundamentals of programming
Slide 2 - Diapositive
Lesson objectives
Conquer: Understand the concept of loops in a program
Aspire: Create a set of loops to make a program more efficient.
Slide 3 - Diapositive
Making tea
Last week we looked at the process we would follow to make 1 cup of tea.
If this was a program we have coded, and we wanted to create 5 cups of tea we would have to repeat the instructions 5 times.
Slide 4 - Diapositive
Our instructions would look like this
Slide 5 - Diapositive
For 25 cups of tea
This would take a really long time if we were writing this program, so we created a coding concept called a
loop
.
Slide 6 - Diapositive
What could you do to these
instructions to loop them?
Slide 7 - Question ouverte
Using a Loop
A
loop
in a computer program is set of instructions that are repeated until the loop meets a STOP condition.
A STOP condition will tell the program when it’s completed.
Slide 8 - Diapositive
So instead of 10 lines of code, we can do it in 2.
Slide 9 - Diapositive
Lets have a go at programming some sequences.
(ISL)
We now want BB8 to reach his treasured scrap, but we have a limit on the amount of code we can use.
Click here to get started.
Limited blocks
Slide 10 - Diapositive
What is sequencing?
A
A set of instructions
B
A set of instructions in order.
C
A program created by code.
D
The result of our program when run.
Slide 11 - Quiz
What is a loop?
A
A set of instructions to complete a task.
B
A set of instructions in order.
C
A repeated section of code
D
The end result of your program.
Slide 12 - Quiz
What is programming?
A
The order in which we write our code.
B
The programs we use.
C
A set of instructions to complete a task.
D
The result of our program when run.
Slide 13 - Quiz
Plus de leçons comme celle-ci
Block based programming Lesson 1
Février 2024
- Leçon avec
22 diapositives
Computing
Lower Secondary (Key Stage 3)
Block based programming lesson 3
Mars 2024
- Leçon avec
10 diapositives
Computing
Lower Secondary (Key Stage 3)
Block based programming lesson 2
Mars 2024
- Leçon avec
10 diapositives
Computing
Lower Secondary (Key Stage 3)
Block based programming
Février 2024
- Leçon avec
12 diapositives
Computing
Lower Secondary (Key Stage 3)
Block based programming lesson 4
Mars 2024
- Leçon avec
15 diapositives
Computing
Lower Secondary (Key Stage 3)
Time Travelling Programmers
Décembre 2023
- Leçon avec
14 diapositives
par
LessonUp Inspiration
Computing
Primary Education
LessonUp Inspiration
Block based programming lesson 4
Mars 2024
- Leçon avec
14 diapositives
Computing
Lower Secondary (Key Stage 3)
Year 9 Python recap
Mars 2024
- Leçon avec
21 diapositives
Computing
Lower Secondary (Key Stage 3)