Variables - Quiz

1. What is a variable?

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

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 start with a “$”
It cannot contain any symbols other than “_”
It must not contain any capital letters
It must contain a number

Log in or sign-up to access the quiz



Don't have a login?

You can still revise this topic