IT 114: Introduction to Java
Answers to Class 7 Ungraded Quiz

  1. What do you call anything that can be turned into a value?
    an expression
  2. What do you call the order in which operators are evaluated?
    precedence
  3. Which set of operators are evaluated first?
    multiplication and division
  4. What characters can be used to change the usual order of evaluation?
    parentheses ()
  5. What do you call the combination of two characters used to represent certain special characters?
    an escape sequence
  6. How would you write the newline character in a string?
    \n
  7. How would you write the Tab character in a string?
    \t
  8. How would you write the double quote character in a string?
    \"
  9. What do you call a group of statements that are only executed under certain conditions?
    a code block
  10. What is the operator used to increase the value of a variable by 1?
    ++