Presentation is loading. Please wait.

Presentation is loading. Please wait.

Computer Science Reading Quiz 6.2 (Sections )

Similar presentations


Presentation on theme: "Computer Science Reading Quiz 6.2 (Sections )"— Presentation transcript:

1 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.

2 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.

3 Question 01 Which class controls the output appearance of numbers?
Math Random DecimalFormat Scanner

4 Question 02 Which of the following is a method of the
DecimalFormat class? nextInt. setSeed. new. format.

5 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

6 Question 04 Java graphics objects can generate more than
______ color combinations. 1,000 10,000 100,000 1,000,000

7 Question 05 Which Graphics method changes color? setColor newColor
makeColor setRGB

8 Question 06 Objects without identifiers are called _____ objects.
unnamed class constructor anonymous

9 Question 07 Which class makes it possible to draw a six-sided polygon?
Hexagon Octagon Polygon drawPolygon

10 Question 08 Which of the following is/are a method(s) of
the Scanner class? nextLine nextInt nextDouble All of the above

11 Question 09 Which of the following indicates keyboard input?
System.keyboard System.in Keyboard.input

12 Question 10 The Scanner class is part of the _____ package. util lang
applet textformat

13 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.


Download ppt "Computer Science Reading Quiz 6.2 (Sections )"

Similar presentations


Ads by Google