Exam 4: Introduction to Graphical Applications

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

strokeOval draws a solid oval.

(True/False)
4.8/5
(40)

The names of the methods used to set the current stroke color and current fill color are __________ and setFill, respectively.

(Short Answer)
4.8/5
(28)

In Java, the __________ keyword specifies that one class is an extension of another and inherits the properties of the other class.

(Multiple Choice)
5.0/5
(36)

Estimate where the point (289, 240) would fall in a rectangle, 300 pixels wide by 250 pixels high.

(Short Answer)
4.7/5
(35)

An applet viewer, which is provided as part of the Java SE Development Kit (JDK), is a minimal browser that enables us to view the applet without needing to open a web browser.

(True/False)
4.7/5
(29)

The name of the method you would call to draw a solid square is __________.

(Short Answer)
4.9/5
(35)

Identify the programming line needed to print "Roses are red, violets are blue" twice on two different lines if the first line is gc.strokeText( "Roses are red", 140, 100 );.

(Short Answer)
5.0/5
(41)

The current stroke and fill colors are also called the __________ colors.

(Short Answer)
4.8/5
(33)

How can you draw shapes made of straight lines that are not rectangles?

(Essay)
4.7/5
(39)

Calling the launch method in main automatically triggers a call to the ______ method.

(Multiple Choice)
4.8/5
(38)

The stroke and fill methods draw the figures in the ____________ colors.

(Multiple Choice)
4.7/5
(41)

To produce graphical output with JavaFX, we draw shapes and text on a(n) __________.

(Short Answer)
4.8/5
(35)

In horizontal lines, the startX and endX values are the same.

(True/False)
4.8/5
(48)

Why do you need to imagine a rectangle bounding all sides of the oval or circle in order to draw the figure?

(Essay)
4.9/5
(40)

The RGB values of Color.ORANGE are:

(Multiple Choice)
4.8/5
(29)

How is the clearRect( double x, double y, double width, double height ) method related to graphical output?

(Essay)
4.8/5
(36)

The RGB values of Color.GREEN are:

(Multiple Choice)
4.9/5
(28)

In the method strokeRect( 10, 20, 100, 200 ), 100 and 200 represent __________, respectively, of the rectangle being drawn.

(Multiple Choice)
4.9/5
(38)

The name of the method you would call to add a line to a polygon is __________.

(Short Answer)
4.8/5
(29)

RGB stands for __________.

(Short Answer)
4.8/5
(35)
Showing 21 - 40 of 57
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)