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

  1. What do you call the operators that compare two values and return either true or false?
    relational operators
  2. Are relational operators higher or lower in precedence than the arithmetic operators?
    lower
  3. What is the relational operator for "less than or equal to"
    <=
  4. What is the name of the class that contains mathematical functions?
    Math
  5. Are the numbers that random() creates really random?
    no they are pseudo random
  6. What do you call the Java operation of turning a value from one data type to another?
    casting
  7. Write and expression that turn the value of the variable named number into an integer.
    (int) number