WorksheetsQBASIC Constants and Variables - Class 6
Total questions: 20
Worksheet time: 10mins
Numeric Constants are assigned to -------
Numeric Variables
Numeric Constants
None of the Above
Alphanumeric variables always end with a -------.
Semi - colon (;)
Dollar sign ($)
Hash (#)
Variables always begin with -----------.
Number
Alphabet
Constant
--------- constants are always enclosed in double quotes.
String
Alphanumeric Constants
Both 1 & 2
Comma is not allowed while writing ------- constants.
Numeric
Alphanumeric
None of the above
The maximum length of a variable is ---------.
Up to 100
Up to 12
Up to 13
Data can be divided into two
Constants
Variables
Both 1 & 2
Numeric constants can be divided into ----------
Two
Three
Four
--------- change their values at the time of the execution of the program.
Numeric
Variable
Both 1 & 2
The appropriate variable for "Understanding Information Technology" is
B$
B
None of the above
A45 is a valid numeric variable.
True
False
A+B is not a valid alphanumeric variable.
True
False
Special characters are used in variables.
True
False
Numeric constants are stored in numeric variable.
True
False
0.5495 is a valid numeric constant.
True
False
Decimals are not allowed in numeric constants.
True
False
Special characters must be used while writing variable.
True
False
Comma should be used while writing numeric constant.
True
False
Is B$= WORLD CUP 2007 correct?
Yes
No
Write the appropriate variable for A*B*C
D
D$
None of the above
