Presentation is loading. Please wait.

Presentation is loading. Please wait.

Take out a piece of paper and PEN.

Similar presentations


Presentation on theme: "Take out a piece of paper and PEN."— Presentation transcript:

1 Take out a piece of paper and PEN.
Exposure Java 2015 for Teaching AP® Computer Science DYRT Quiz 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 Quiz 4.5 1. 2. 3. 4. 5. 6. 7. 8. 9 10. E.C.

3 Question 01 What is the biggest reason for introducing
Graphics programming in Chapter 4? It is more interesting. It is easier. Graphics methods use many parameters. It is more fun.

4 Question 02 Individual graphics display dots are called coordinates.
pixels. points. xy.

5 Question 03 The (0,0) coordinate of a Java graphics program
is located at the top-left corner of the screen. center of the screen. bottom-right corner of the screen. bottom-left corner of the screen.

6 Question 04 All the graphics program examples in Chapter 4 are
text applications. graphics applications applets. applets or applications.

7 Question 05 Which method is required by the graphics programs? main
Util paint

8 Question 06 Method drawLine is used to draw lines. pixels. curves.
a or b.

9 Question 07 Method drawRect is used to draw lines. pixels.
rectangles and squares. curves.

10 Question 08 Method drawOval is used to draw lines. pixels.
ovals and circles. all of the above.

11 Question 09 Methods fillRect and fillOval are used to
draw shapes with thicker borders. fill shapes with a single solid color. fill shapes with multiple, specified, colors. all of the above.

12 Question 10 Which of these methods use the same parameters
as the drawRect method? fillRect drawOval fillOval All of the above

13 Extra Credit What is displayed by the following statement?
g.fillOval(100,200,300,300); All the answers are correct. Which of the following answers is the most correct? An oval A circle A solid oval A solid circle


Download ppt "Take out a piece of paper and PEN."

Similar presentations


Ads by Google