Small basic lesson 1

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

This lesson contains 15 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

Let's test out some code. 3 mins

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

Draw a square with these 2 lines of code.

Slide 7 - Slide

This item has no instructions

Small basic glossary. 
In a moment we will be doing a drag and drop about what this code does.

Let's test it first! 

Slide 8 - Slide

This item has no instructions

Turtle.move(100)
Turtle.turn(100)
Turtle.TurnRight()
Turtle.TurnLeft()
Turtle.Penup()
Turtle.PenDown()
Test the code
Complete the grid
Moves turtle 100 pixels
Turns turtle by 100 pixels
Stops turtle drawing
Starts turtle  drawing
Turn left 90 degrees
Turn right 90 degrees

Slide 9 - Drag question

Student should test this code - this is a longer activity where students are testing each piece of code in small basic. 
Creating small programs (ISL)
Lets use the lines we just learnt to create some shapes. 



Extension: 




Slide 10 - Slide

Give the students some time practicing these lines of code, most students should complete shape 1 and 2
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 11 - 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 12 - 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 13 - 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 14 - 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 15 - Quiz

This item has no instructions