Computer Science Reading Quiz 6.2 (Sections 6.5-6.8) Take out a piece of paper and PEN. The quiz starts TWO minutes after the tardy bell rings. You will have 30 seconds per question.
Title the quiz as shown below The quiz starts in ONE minute. Name Period Date Reading Quiz 6.2 1. 2. 3. 4. 5. 6. 7. 8. 9 10. EC.
Question 01 Which class controls the output appearance of numbers? Math Random DecimalFormat Scanner
Question 02 Which of the following is a method of the DecimalFormat class? nextInt. setSeed. new. format.
Question 03 What are the three color values used by Java to display any color Graphics object? red, yellow and green red, green and blue red, white and blue red, green and yellow
Question 04 Java graphics objects can generate more than ______ color combinations. 1,000 10,000 100,000 1,000,000
Question 05 Which Graphics method changes color? setColor newColor makeColor setRGB
Question 06 Objects without identifiers are called _____ objects. unnamed class constructor anonymous
Question 07 Which class makes it possible to draw a six-sided polygon? Hexagon Octagon Polygon drawPolygon
Question 08 Which of the following is/are a method(s) of the Scanner class? nextLine nextInt nextDouble All of the above
Question 09 Which of the following indicates keyboard input? System.keyboard System.in Keyboard.input
Question 10 The Scanner class is part of the _____ package. util lang applet textformat
Extra Credit Using the Scanner class with numbers and strings can have unexpected results. These unexpected results may be cured by using the new operator. using a dummy String variable. only integer values with strings. only real number values with strings.