WorksheetsProgramming Fundamentals
Total questions: 10
Worksheet time: 2mins
The following is not true about variable names
They must be descriptive
They must be in capital letters
They can’t start with numbers or contain spaces
They point to memory locations
In an assignment operation, this appears on the right hand side
Label for a variable that is destination of data
Multiple variables that are destinations for data
Source variables or operations
The assignment operator
The following is not a valid constant
SPACE
PI
UserName
WORDLIMIT
Which of the following is a valid keyword for output?
SHOW
DISPLAY
INPUT
Consider the following expression: a = b. This means
a will always be equal to b
b is being renamed into a
The value of memory location a gets copied into memory location b
The value of memory location b gets copied into memory location a
Which of the following is not a valid data type?
Real
String
Character
Fraction
Quotation marks around a variable’s identifier imply
It is an integer
It is a string
It is a Boolean
It is a real
The multiplication table is best displayed using this data type
Boolean
Character
Integer
Real
This variable type can only have True or False values
Boolean
Integer
String
Character
Casting refers to:
Boolean algebra
Rounding of reals
Converting between variable data types
Printing out of the program’s results
