15 questions
All identifiers are variables
TRUE
FALSE
A variable is a location in the computer’s memory to hold a piece of data.
TRUE
FALSE
A variable can be assigned multiple datatypes
TRUE
FALSE
Pi is an example of a constant used in a program
TRUE
FALSE
A variable must be named and assigned a datatype in strict programming languages.
TRUE
FALSE
There is no difference between a variable and a constant
TRUE
FALSE
You can name a variable any which way you like once it is of reasonable length
TRUE
FALSE
The variable StudentID holds a combination of letters and numbers (e.g.BA001). The datatype of the variable is string.
TRUE
FALSE
The variable NUMBER holds both positive and negative whole numbers. The datatype of NUMBER is real.
TRUE
FALSE
X is a valid variable name
TRUE
FALSE
A constant changes when a program is executed
TRUE
FALSE
All variables are named the same in all programming languages.
TRUE
FALSE
The datatype of a variable Gender that holds M for male of F for female is char
TRUE
FALSE
A program is required to store the total amount of money a person earns. The datatype of the variable will be Boolean.
TRUE
FALSE
A variable can have the same name as a reserved word
TRUE
FALSE