x.Hmyle=\"font-size: 10pt; font-family: \'Verdana\'\">(TCO 3) To declare a varia
ID: 3618909 • Letter: X
Question
x.Hmyle="font-size: 10pt; font-family: 'Verdana'">(TCO 3) To declare a variable you must provide _________ . (Points: 2)a name and a value
a name and data type
a value and a data type
only a name
2. (TCO 3) Which list is arranged from smallest to largest memory requirements? (Points: 2)
int, float, double, bool
float, int, double, bool
bool, int, float, double
double, float, int, bool
3. (TCO 3) A variable whose value cannot change while a program is running is called a(n) ____________ . (Points: 2)
Literal constant
Named constant
Initializing variable
Boolean value
4. (TCO 3) Letters, symbols and numbers that will not be used in calculations are called _____________ . (Points: 2)
Floating-point numbers
Boolean values
Characters
Integers
5. (TCO 4) Given this definition: enum rainboColorType {blue, green, yellow, red, purple}; What would be the value of red? (Points: 2)
0
red
3
4
6. (TCO 4) A variable type that contains variables which are grouped together under a single name is called a(n) _______________ . (Points: 2)
enumeration
record
field
structure
7. (TCO 4) The operator that returns the remainder portion in integer division is the __________________ . (Points: 2)
Remainder operator
Division operator
Modulus operator
Concatenation operator
8. (TCO 6) A decision statement that contains the keyword ‘else’ is ____________ . (Points: 2)
a single-alternative decision
a dual-alternative decision
bimetric decision
a dual-metric decision
9. (TCO 6) What value must the temp variable have for the following exp
Explanation / Answer
x.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.