CSIS 212 Week 6 Quiz – Question and Answers


Category: CSIS 212 Tag: csis 212


CSIS 212 Week 6 Quiz LUO

  1. Which statement below could be used to simulate the outputs of tossing a quarter to get heads or tails? Suppose random numbers is a SecureRandom object.
  2. Overloaded methods always have the same _.
  3. Which of the following statements is false?
  4. Method calls cannot be distinguished by __.
  5. A static method can __.
  6. Which of the following methods are overload with respect to one another?
  7. An overloaded method is one that __.
  8. Identifiers in Java have and scopes?
  9. The identifiers in an enumeration __.
  10. Which of these statements best defines scope?
  11. Variables should be declared as fields only if __.
  12. Stacks are known as __ data structures.
  13. Declaring main as static allows the JVM to invoke the main __.
  14. Any field declared with keyword __ is constant.
  15. In a class containing methods with the same name, the methods are distinguished by __.
  16. Which of the following can be an argument to a method?
  17. A Java class can have which of the following methods?
  18. Which statement creates a random value from the sequence 2, 5, 8, 11, and 14. Suppose random numbers is a SecureRandom object.
  19. Math static method random generates a random double value in the range from 0.0
  20. If more method calls occur than can have their activation records stored on the program execution stack, an error known as a __ occurs