Exam 4: Introduction to Graphical Applications

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

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

(Multiple Choice)
4.8/5
(42)

The strokeLine, strokeRect, and strokeOval methods are all void methods.

(True/False)
4.9/5
(32)

Which package is the GraphicsContext class part of?

(Multiple Choice)
4.8/5
(44)

Which of the following is the purpose of the fill methods?

(Multiple Choice)
4.8/5
(35)

JavaFX uses a mixed performance/art metaphor. We start with a(n) __________ and add one or more scenes to it.

(Short Answer)
4.9/5
(39)

When drawing a figure, it is useful to specify coordinates as offsets from a starting (x, y) coordinate.

(True/False)
4.8/5
(42)

The ______________ class provides the functionality for drawing shapes.

(Multiple Choice)
4.8/5
(44)

The Color class contains Color constants.

(True/False)
4.9/5
(42)

The coordinate of the top left corner of the window is (0, 0).

(True/False)
4.8/5
(41)

A JavaFX graphical application opens a new window.

(True/False)
5.0/5
(36)

Gray consists of equal amounts of black and white.

(True/False)
4.9/5
(48)

Where is the (0, 0) coordinate in the window?

(Multiple Choice)
4.8/5
(40)

Black has RGB values (0, 0, 0).

(True/False)
4.8/5
(32)

Can a method call using strokeOval( double x, double y, double width, double height ) be used in an expression?

(Essay)
4.9/5
(32)

Graphical applications require a _________ method, which contains the code to execute when the application begins.

(Multiple Choice)
4.7/5
(42)

fillRect( double x, double y, double width, double height ) draws a solid rectangle with its top-left corner at (x, y), with the specified width and height in pixels, and returns an int.

(True/False)
5.0/5
(40)

Using the Color static method rgb( int rr, int gg, int bb ), how many color combinations can you instantiate?

(Multiple Choice)
4.8/5
(43)
Showing 41 - 57 of 57
close modal

Filters

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