1. Which one of the following is a reserved word?
2. Which one of the following is NOT a correct variable name?
3. Which one of the following declarations is NOT correct?
4. What does the following program output?
class question4 { public static void main ( String[] args ) { int unitCost = 8; int items = 5; System.out.println("total cost: " + (unitCost * items) ); } }
5. Which of the following shows the syntax of an assignment statement?
6. What are the two steps that take place when an assignment statement is executed?
7. What is an expression?
8. Which one of the following expressions is NOT correct?
9. Which of the following expressions is incorrect?
10. What is the value of the following expression:
(2 - 6) / 2 + 9
The number you got right: Percent Correct: Letter Grade: