You are on page 1of 7

3/21/22, 11:23 AM QUIZ 4 COMPUTER GRAPHICS

QUIZ 4 COMPUTER GRAPHICS Total points 19/20

Lastname, Firstname, MI *
Serdan, Michael John B.

Course/Year/Section *
CEIT-37-401A

What are the the characteristics of Java Swing? (Check 3) * 3/3

It is used to create window-based applications which makes it suitable for


developing lightweight desktop applications.

It provides heavy, independent components for web-based application

It provides lightweight and platform-independent components, making it suitable


and efficient in designing and developing desktop-based applications (systems).

It is built on top of an abstract windowing toolkit API purely written in Java


programming language.

https://docs.google.com/forms/d/e/1FAIpQLSfue2LuTYhyKzDww3ZI0-rJtsZb7M7MrQmUqB5DaiDhADw_Sw/viewscore?viewscore=AE0zAgDsSfRXa4… 1/7
3/21/22, 11:23 AM QUIZ 4 COMPUTER GRAPHICS

It is is a top-level container that provides a window on the screen. * 1/1

JButton

JFrame

JLabel

JTextField

It is used to display a short string or an image icon. It can display text, 1/1
image or both . It is only a display of text or image and it cannot get focus
*

JButton

JFrame

JLabel

JTextField

It is a lightweight component that allows the editing of a single line of 1/1


text. *

JTextField

JFrame

JLabel

JButton

https://docs.google.com/forms/d/e/1FAIpQLSfue2LuTYhyKzDww3ZI0-rJtsZb7M7MrQmUqB5DaiDhADw_Sw/viewscore?viewscore=AE0zAgDsSfRXa4… 2/7
3/21/22, 11:23 AM QUIZ 4 COMPUTER GRAPHICS

It is used to create a labeled button that has platform independent 1/1


implementation *

JButton

JLabel

JTextField

JFrame

Which of the following program editors require the least amount in 0/1
software requirement? *

Eclipse

IntelliJ

Netbeans

Correct answer

Netbeans

Which of the following program editors mainly focus on android 1/1


development and java projects. *

Eclipse

IntelliJ

Netbeans

https://docs.google.com/forms/d/e/1FAIpQLSfue2LuTYhyKzDww3ZI0-rJtsZb7M7MrQmUqB5DaiDhADw_Sw/viewscore?viewscore=AE0zAgDsSfRXa4… 3/7
3/21/22, 11:23 AM QUIZ 4 COMPUTER GRAPHICS

Which of the following program editors provides 1250+ plugins * 1/1

Eclipse

IntelliJ

Netbeans

This is where all of your painting code should be placed. * 1/1

paintComponent()

paintBorder()

paintChildren

It is a simple graphics primitive and an object which connects two points. 1/1
It is drawn with the drawLine() method. *

Line

Star

Shapes

Point

https://docs.google.com/forms/d/e/1FAIpQLSfue2LuTYhyKzDww3ZI0-rJtsZb7M7MrQmUqB5DaiDhADw_Sw/viewscore?viewscore=AE0zAgDsSfRXa4… 4/7
3/21/22, 11:23 AM QUIZ 4 COMPUTER GRAPHICS

It is a basic set of rendering attributes for the outlines of graphics 1/1


primitives including width, end caps, line joins, miter limit, and dash. *

Point

Caps

Line

Basic Stroke

These are decorations applied to the ends of unclosed subpaths and 1/1
dash segments. There are three different end caps in Java 2D: CAP_BUTT,
CAP_ROUND, and CAP_SQUARE. *

Caps

Point

Line

Basic Stroke

These are decorations applied at the intersection of two path segments 1/1
and at the intersection of the endpoints of a subpath. There are three
decorations: JOIN_BEVEL, JOIN_MITER, and JOIN_ROUND. *

Joins

Basic Shapes

End Points

Caps

https://docs.google.com/forms/d/e/1FAIpQLSfue2LuTYhyKzDww3ZI0-rJtsZb7M7MrQmUqB5DaiDhADw_Sw/viewscore?viewscore=AE0zAgDsSfRXa4… 5/7
3/21/22, 11:23 AM QUIZ 4 COMPUTER GRAPHICS

It joins path segments by connecting the outer corners of their wide 1/1
outlines with a straight segment. *

JOIN_ROUND

JOIN_MITER

Option 3

JOIN_BEVEL

It joins path segments by extending their outside edges until they meet * 1/1

JOIN_BEVEL

JOIN_ROUND

JOIN_MITER

It joins path segments by rounding off the corner ata radius of half the 1/1
line width. *

JOIN_ROUND

JOIN_BEVEL

JOIN_MITER

https://docs.google.com/forms/d/e/1FAIpQLSfue2LuTYhyKzDww3ZI0-rJtsZb7M7MrQmUqB5DaiDhADw_Sw/viewscore?viewscore=AE0zAgDsSfRXa4… 6/7
3/21/22, 11:23 AM QUIZ 4 COMPUTER GRAPHICS

In computer graphics, it is a smooth blending of shades from light to dark 1/1


or from one colour to another. In 2D drawing programs and paint
programs, these are used to create colorful backgrounds and special
effects as well as to simulate lights and shadows. *

Area

Shapes

Gradients

Textures

It is a bitmap image applied to a shape. In Java 2D, we use the 1/1


TexturePaint class. It is applied with the setPaint() method. *

Area

Gradients

Textures

Shapes

This content is neither created nor endorsed by Google. - Terms of Service - Privacy Policy

 Forms

https://docs.google.com/forms/d/e/1FAIpQLSfue2LuTYhyKzDww3ZI0-rJtsZb7M7MrQmUqB5DaiDhADw_Sw/viewscore?viewscore=AE0zAgDsSfRXa4… 7/7

You might also like