Variables - Quiz

1. What is a variable?

A construct which allows us to store data with an associated identifier
A function which allows selection
A function which displays text in the console
A function which prompts the user to enter data

2. Select the rules you must follow when creating a variable:

Select as many answers as appropriate

It must not start with a number
It must not contain a space
It must not contain any capital letters
It cannot contain any symbols other than “_”
It must contain a number
It must start with a “$”

Log in or sign-up to access the quiz



Don't have a login?

You can still revise this topic