Homework - lesson 2.1
Due 9/9/2014
Name: ____________________________________
1. Circle the legal int literals below:
33 2.3 -1 6. ‘7’ 13091 ‘a’ 17 false
2. Which one of the following is not a type?
a. char
b. short
c. new
d. double
3. Which of the following is not an operator?
a. +
b. *
c %
d. @
4. What is does the below expression equal?
(4 * 5) / 2 + 6
Extra: What three things is mod (%) useful for?
No comments:
Post a Comment