AM
EX
Question 1
pts
(TCO 2) What is the problem with the following statement? 60 + 5 = grade
The numbers should be in quotes.
Data types don't match.
Grade should be capitalized.
Correct!
The variable is on the wrong side of the assignment operator.
Question 2
pts
(TCO 2) A variable name should always _____.
contain double quotes
contain only lowercase letters
contain spaces
Correct!
be descriptive
Question 3
pts
(TCO 2) What is the best choice for a variable name representing a payroll tax value?
, AM
EX
Correct!
payrollTax
p
pt
tax
Question 4
pts
(TCO 2) What is the best choice for a variable name representing a bank balance?
bb
Correct!
bankBalance
b
balance
Question 5
pts
(TCO 2) String constants and _____ refer to the same concept.
numbers
EX
Question 1
pts
(TCO 2) What is the problem with the following statement? 60 + 5 = grade
The numbers should be in quotes.
Data types don't match.
Grade should be capitalized.
Correct!
The variable is on the wrong side of the assignment operator.
Question 2
pts
(TCO 2) A variable name should always _____.
contain double quotes
contain only lowercase letters
contain spaces
Correct!
be descriptive
Question 3
pts
(TCO 2) What is the best choice for a variable name representing a payroll tax value?
, AM
EX
Correct!
payrollTax
p
pt
tax
Question 4
pts
(TCO 2) What is the best choice for a variable name representing a bank balance?
bb
Correct!
bankBalance
b
balance
Question 5
pts
(TCO 2) String constants and _____ refer to the same concept.
numbers