Computer Programming: Graphics

Computer Programming: Graphics

8th - 11th Grade

11 Qs

quiz-placeholder

Similar activities

Chapter 3 : Algebraic Formulae ( Form 2 )

Chapter 3 : Algebraic Formulae ( Form 2 )

8th Grade

10 Qs

Arithmetic Progression

Arithmetic Progression

10th Grade

15 Qs

LINES AND ANGLES

LINES AND ANGLES

9th Grade

14 Qs

T1 : Nisbah, Kadar dan Kadaran

T1 : Nisbah, Kadar dan Kadaran

1st - 10th Grade

12 Qs

Q3-Math 10-Quiz No. 2

Q3-Math 10-Quiz No. 2

10th Grade

11 Qs

Quiz # 13 Topic 10 and 11

Quiz # 13 Topic 10 and 11

9th Grade

10 Qs

Pre-Assessment: ICT 10 Orientation Day

Pre-Assessment: ICT 10 Orientation Day

10th Grade

10 Qs

Quiz Day 4 Topic 3

Quiz Day 4 Topic 3

9th Grade

10 Qs

Computer Programming: Graphics

Computer Programming: Graphics

Assessment

Quiz

Mathematics, Computers

8th - 11th Grade

Practice Problem

Medium

Created by

Christopher Hayden

Used 903+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

By default, graphics coordinates in Java have the origin (0,0) in the _______ corner of the drawing area.

upper-left
upper-right
lower-left
lower-right

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When an object of a class derived from JPanel needs to repaint itself, which method does it call?

paint(g)
repaint( )
paintComponent(g)
repaintComponent( )

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the default units for coordinates in Graphics?

inches
pixels
centimeters
millimeters

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

With what arguments(s) is the setColor method of the Graphics class called?

a Color object
three integers (red, green, blue components of a color)
a BasicStroke object
a Paint object

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What font styles do Java fonts support?

plain only
plain and bold only
plain, bold, and italic only
plain, bold, italic, and bold+italic

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a valid drawing method of the Graphics class?

drawRect
drawCircle
fillOval
drawPolygon

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'c' represent in the following method call:
g.fill3DRect(a, b, c, d, e);

the x value starting position
the y value starting position
the width of the rectangle
the height of the rectangle

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?