What is LessonUp
Search
Channels
AI tools
Log in
Register
‹
Return to search
Block based programming lesson 2
Do Now
Predict the outcome of the code.
1 / 13
next
Slide 1:
Open question
Computing
Lower Secondary (Key Stage 3)
This lesson contains
13 slides
, with
interactive quizzes
and
text slides
.
Lesson duration is:
50 min
Start lesson
Save
Share
Print lesson
Items in this lesson
Do Now
Predict the outcome of the code.
Slide 1 - Open question
Lesson 2: Block based programming
Year 7 – Understanding the fundamentals of programming
Slide 2 - Slide
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 - Slide
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 - Slide
Our instructions would look like this
Slide 5 - Slide
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 - Slide
What could you do to these
instructions to loop them?
Slide 7 - Open question
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 - Slide
So instead of 10 lines of code, we can do it in 2.
Slide 9 - Slide
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 - Slide
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
More lessons like this
Time Travelling Programmers
September 2024
-
14 slides
Computing
Primary Education
LessonUp Inspiration
British Science Week: Coding with SCRATCH
17 days ago
-
14 slides
New lesson editor
Computing
LessonUp
Primary Education
Lower Secondary (Key Stage 3)
LessonUp UK Spotlight
Intro to Scratch
December 2023
-
26 slides
Computing
Primary Education
LessonUp Inspiration
Programming A Screen Turtle
December 2023
-
19 slides
Computing
Primary Education
LessonUp Inspiration
The Ultimate Classroom Challenge: 17 Fun Mini Games for Pupils
July 2025
-
22 slides
Citizenship
Primary Education
Lower Secondary (Key Stage 3)
Upper Secondary (Key Stage 4)
LessonUp Inspiration
Welcome to the Apple Pie lesson!
August 2024
-
16 slides
LessonUp
Primary Education
Lower Secondary (Key Stage 3)
Upper Secondary (Key Stage 4)
Higher Education (degree)
LessonUp Inspiration
Case Study - Operation Icefish (Primary)
December 2022
-
14 slides
Science
Geography
+4
4-6 Grade
6th,7th Grade
SEA SHEPHERD
News quiz - Week 25 (10 seconds)
June 2024
-
13 slides
Citizenship
Lower Secondary (Key Stage 3)
Upper Secondary (Key Stage 4)
LessonUp News Quiz