Small basic lesson 1

Do now - What shape
will be drawn?
1 / 14
next
Slide 1: Open question
ComputingLower Secondary (Key Stage 3)

This lesson contains 14 slides, with interactive quizzes and text slides.

time-iconLesson duration is: 50 min

Items in this lesson

Do now - What shape
will be drawn?

Slide 1 - Open question

Do now activity should take 3 mins for students to answer after accessing lessonup. 

Extension task allows students to develop their typing skills which will be useful when we move to text based languages. 
Do Now answer
A rectangle will be drawn

Slide 2 - Slide

This item has no instructions

Lesson objectives 

Conquer: Understand the concept of a sprite.
 
Aspire Higher: Utilize this understanding to manipulate the turtle sprite. 




 
 
Aspire: Create a set of loops to make a program more efficient.

Slide 3 - Slide

This item has no instructions

What is a sprite?
A sprite is an image or set of pixels that can be manipulated using code or code blocks.

  • We are going to control a sprite by programming its instructions. 






Slide 4 - Slide

This item has no instructions

Block vs Text
  • We are used to programming using text based blocks. 
  • Now we will become real programmers, now you will be typing instructions for the computer to follow.





Slide 5 - Slide

This item has no instructions

Slide 6 - Slide

This item has no instructions

Lets test out some code. 3 mins

Test these 2 lines of code
  • Turtle.move (100)
  • Turtle.turn (90)

What happens to your sprite? 


Slide 7 - Slide

This item has no instructions

Creating small programs (ISL)
Lets use the 2 lines we just learnt to create some shapes. 




Extension: Test this line of code, what does it do? 
Turtle.Penup()




Slide 8 - Slide

Give the students some time practicing these lines of code, most students should complete shape 1 and 2
Small basic glossary. 
Complete the small basic glossary. Test the code to find out what it does. 

Slide 9 - Slide

This item has no instructions

What is a sprite?
A
A set of pixels controlled by the user.
B
A non player character
C
An image.
D
The code to move a character.

Slide 10 - Quiz

This item has no instructions

Which code moves the sprite forward?
A
turtle.move
B
turtle.move(100)
C
turtle.move()
D
move.turtle()

Slide 11 - Quiz

This item has no instructions

What is the purpose of this line of code?
turtle.penup()
A
Makes the turtle draw.
B
Stops the turtle from drawing
C
Changes the colour of the pen
D
Changes the width of the pen.

Slide 12 - Quiz

This item has no instructions

What is the purpose of this line of code?

GraphicsWindow.BackgroundColor = "red"
A
Makes the turtle draw.
B
Changes the colour of the pen.
C
Changes the colour of background
D
Changes the width of the pen.

Slide 13 - Quiz

This item has no instructions

What is the purpose of this line of code?

Turtle.Hide()
A
Hides the turtle from view.
B
Hides the pen from view.
C
Makes the pen ink invisible.
D
Makes the background see through.

Slide 14 - Quiz

This item has no instructions