Small basic lesson 1

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

In deze les zitten 14 slides, met interactieve quizzen en tekstslides.

time-iconLesduur is: 50 min

Onderdelen in deze les

Do now - What shape
will be drawn?

Slide 1 - Open vraag

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 - Tekstslide

Deze slide heeft geen instructies

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 - Tekstslide

Deze slide heeft geen instructies

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 - Tekstslide

Deze slide heeft geen instructies

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 - Tekstslide

Deze slide heeft geen instructies

Slide 6 - Tekstslide

Deze slide heeft geen instructies

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 - Tekstslide

Deze slide heeft geen instructies

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 - Tekstslide

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 - Tekstslide

Deze slide heeft geen instructies

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 - Quizvraag

Deze slide heeft geen instructies

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

Slide 11 - Quizvraag

Deze slide heeft geen instructies

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 - Quizvraag

Deze slide heeft geen instructies

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 - Quizvraag

Deze slide heeft geen instructies

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 - Quizvraag

Deze slide heeft geen instructies