(2 points) Most lines in a C++ program end with a
(2 points) main() marks the beginning of a C++ program. What C++ reserved word precedes it?
(2 points) What is the correct way to declare an integer variable named "score"?
(2 points) Given the following declaration:
double x;
What is the value of x?
(2 points) According to the lecture notes, the two main conceptual components of a program are _____ and _____.
(2 points) Given the following:
double price = 30.00; double tax = 1.80; double sum; sum = price + tax;
Explain in detail what the last line does in terms of variables, calculations, and assignment of values.
(2 points) When you write an illegal C++ statement and try to compile and run the program, you will get a
(2 points) What is the value (in C++) of the expression 4 / 2 * 2?
(2 points) What is the value (in C++) of the expression 3/2?
(2 points) Which data type has the largest range?
(2 points) About how many decimal places of accuracy does a float have?
(2 points) Modify (rewrite) the following instruction so that the subtraction is evaluated first:
i = a * b / c - d;