Small basic lesson 2

Student Voice
Student Voice Questions Explained

Click the link to complete the survey:
1 / 20
suivant
Slide 1: Diapositive
ComputingLower Secondary (Key Stage 3)

Cette leçon contient 20 diapositives, avec quiz interactifs et diapositives de texte.

time-iconLa durée de la leçon est: 50 min

Éléments de cette leçon

Student Voice
Student Voice Questions Explained

Click the link to complete the survey:

Slide 1 - Diapositive

Cet élément n'a pas d'instructions

Do now - What is wrong
with the following code?

Slide 2 - Question ouverte

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

Slide 3 - Diapositive

Cet élément n'a pas d'instructions

Lesson objectives 

Conquer: Understand the concept of variables
 
Aspire Higher: To apply variable knowledge to create a chat bot





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

Slide 4 - Diapositive

Cet élément n'a pas d'instructions

Slide 5 - Diapositive

Cet élément n'a pas d'instructions

Write this code into small basic and run it.
TextWindow.WriteLine("What is your Name?")
What does it do?

Slide 6 - Question ouverte

Cet élément n'a pas d'instructions


Slide 7 - Question ouverte

Cet élément n'a pas d'instructions

Slide 8 - Carte mentale

Any information that the game keeps track of and updates as part of the game,
Timer goes down
Goals go up and are compared at the end
Names and player positions change.

Slide 9 - Diapositive

Cet élément n'a pas d'instructions

What 2 things do we have to give a variable?

What name should we give to a variable?

Slide 10 - Question ouverte

Cet élément n'a pas d'instructions

Slide 11 - Diapositive

Cet élément n'a pas d'instructions

Type this code, instead of my name use your name instead!

name = "Mr Peake"
TextWindow.WriteLine(name)

  • We have created a variable and stored our name! This is then printed onto the screen!

Slide 12 - Diapositive

Cet élément n'a pas d'instructions

What happens when you use this code?

Slide 13 - Question ouverte

Cet élément n'a pas d'instructions

Inputs



The variable Age stores whatever the user (you) enters!
This is then written onto the screen.

Slide 14 - Diapositive

Cet élément n'a pas d'instructions

Practice the new code (ISL)


Use this code to create several questions and responses!
  • Ask your age!
  • Ask your Fav food
  • Ask your Fav Show/film
  • Ask your Fav subject at school

Slide 15 - Diapositive

Cet élément n'a pas d'instructions

What is the purpose of this line of code?

Textwindow.writeline
A
Writes text to screen
B
Saves information
C
Changes the colour of the pen
D
Prints of information

Slide 16 - Quiz

Cet élément n'a pas d'instructions

What is the purpose of this line of code?

textwindow.read
A
Writes text to screen
B
Saves information
C
Allows the user to enter information
D
Makes the background see through.

Slide 17 - Quiz

Cet élément n'a pas d'instructions

What is the best variable name to store a users favorite drink.
A
Drink = Coke
B
Food = Coke
C
Variable = Coke`
D
Data = Coke

Slide 18 - Quiz

Cet élément n'a pas d'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 19 - Quiz

Cet élément n'a pas d'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 20 - Quiz

Cet élément n'a pas d'instructions