Search Header Logo

Year 6 Variables in a Game

Authored by S Greenfield

Computers

6th Grade

Year 6 Variables in a Game
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

5 mins • 1 pt

Which of these are important features of a variable? Select all that apply.

Can be set

Is a score

Can be changed

Has a clear name

2.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Which data types can a variable hold?

Numbers only

Letters only

Numbers or letters

Pictures

3.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

How many values can a variable hold at any one time?

None

One

Two

Three

4.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

When a variable is changed, what happens to the value?

It is replaced by a new value

It is joined by the new value

It is added to the new value

5.

MULTIPLE SELECT QUESTION

5 mins • 1 pt

Q5. In a bat and ball game, which of these parts of the game would be stored using a variable? Select all that apply.

Points scored

Movement of the sprite

Lives lost

Time left

Appearance of the Stage

6.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Imagine that you are storing the score of a football match using a computer program to display to the crowd during the game. Which name would be the best choice for the variable that holds the score of the home team?

Home score

Home_score

Football_match_home_team_score

Score

7.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Where is the value of a variable usually set?

At the beginning of a program

Throughout the running of a program

At the end of a program

When triggered by an event

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?