Search Header Logo

Y6 - Programming A - Variables in games

Authored by Toby Henniker

Computers

6th Grade

Used 9+ times

Y6 - Programming A - Variables in games
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

30 sec • 1 pt

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

Can be set
Is a score
Can be changed
Has a clear name

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2. What data types can a variable hold?

Numbers only
Letters only
Numbers or letters
Pictures

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

None
One
Two
As many as you like

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4. 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

30 sec • 1 pt

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

Points scored
Movement of the sprite
Lives lost
Time left
Appearance of the background

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

6. If you were 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

30 sec • 1 pt

7. 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?