Small basic assesment - New

Small basic assessment
1 / 14
next
Slide 1: Slide
ComputingLower Secondary (Key Stage 3)

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

Items in this lesson

Small basic assessment

Slide 1 - Slide

This item has no instructions

Why do we use if Statements in programming?
Why do we use if Statements in programming?
Extension
click this extension or read the revision sheet

Slide 2 - Open question

This item has no instructions

So our programs can make decisions based on conditions!

Slide 3 - Slide

This item has no instructions

Lesson Objective : 

Apply your programming knowledge to the assessment.

Slide 4 - Slide

This item has no instructions

If statements use variables and information users enter to make decisions based on conditions

Programs like Minecraft need to use If statements so the program can make decisions based on what the user does 

For example: 

  • If the player walks into lava, then the game takes damage away.
  • If it becomes night, then mobs start to spawn. 
  • If the player breaks a block, then the block drops an item. 

  • Without If statements, the game wouldn’t react to anything - it would just run in a straight sequence

  • If statements allow the game world to change, respond, and behave differently depending on conditions.

Slide 5 - Slide

This item has no instructions

A variable is a method of...
A variable is a method of...
A
Writing text to the screen
B
Searching for errors
C
Storing information in the Computers memory
D
Making decisions in our programs

Slide 6 - Quiz

Why?

What kind of information would we need to store about our player in Minecraft. e.g health?
A variable is a named box in the computer’s memory where we can store a value so we can use it later.
Think of a variable like a labelled box.
  • The label is the name of the variable.
  • The information you put in the box is the value.
  • Our variable name should relate to the value stored inside. 

Slide 7 - Slide

This item has no instructions


What is the purpose of this line of code in SmallBasic?
A
Write text to the screen
B
Allows the user to input information into the program
C
Change the colour of the turtle pen
D
Stop the turtle from drawing

Slide 8 - Quiz

This item has no instructions

Slide 9 - Slide

This item has no instructions

Which line of code moves the turtle 200 pixels forward?
Which line of code moves the turtle 200 pixels forward?
A
Turtle.Move(100)
B
Turtle.Turn(200)
C
Turtle.PenUp()
D
Turtle.Move(200)

Slide 10 - Quiz

This item has no instructions


What text will this code print if the user inputs 12?
A
You are an adult
B
Nothing
C
12
D
You are a child

Slide 11 - Quiz

This item has no instructions

Slide 12 - Slide

This item has no instructions

Drag and drop the missing code to fill in the gaps

Slide 13 - Drag question

This item has no instructions

Assessment




Before submitting your assessment raise your hand for me to come check your work!


Extension



Slide 14 - Slide

This item has no instructions