Small basic lesson 1

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

In deze les zitten 15 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

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

Deze slide heeft geen instructies

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

Deze slide heeft geen instructies

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

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

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 - 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 12 - 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 13 - 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 14 - 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 15 - Quizvraag

Deze slide heeft geen instructies