Exam 4: Introduction to Graphical Applications

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

In JavaFX, we draw shapes and text on a(n) ________.

Free
(Short Answer)
4.8/5
(46)
Correct Answer:
Verified

canvas

CORAL is a constant of the Color class. How do we use it in a program?

Free
(Short Answer)
4.7/5
(39)
Correct Answer:
Verified

Color.CORAL

In JavaFX, the name of the class that contains methods we can use to draw shapes is __________.

Free
(Short Answer)
5.0/5
(38)
Correct Answer:
Verified

GraphicsContext

It is more difficult to draw an octagon than a circle.

(True/False)
4.9/5
(42)

Compare and contrast standard and graphical applications.

(Essay)
4.8/5
(34)

JavaFX is the most recent system for building graphical applications using Java.

(True/False)
4.8/5
(48)

JavaFX's GraphicsContex class, in the javafx.scene.canvas package, provides methods to draw figures such as rectangles, circles, and lines; to set the colors for drawing; and to write text in a window.

(True/False)
4.7/5
(34)

What is the likely cause if a figure is not visible inside a window?

(Multiple Choice)
4.9/5
(42)

A(n) ___________ line is drawn if the startX and endX values are the same.

(Short Answer)
5.0/5
(42)

When using the Color class, you can instantiate 16,000 additional combinations of the component values.

(True/False)
4.8/5
(44)

The name of the method you would call to display a String is __________ and fillText.

(Short Answer)
4.8/5
(27)

If we want to draw a string in a specific font, we can change the font by calling the ________ method.

(Short Answer)
4.9/5
(34)

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

(Essay)
4.9/5
(35)

Which of the following statements is true?

(Multiple Choice)
4.9/5
(38)

In JavaFX, the stroke and fill colors must always be the same.

(True/False)
4.8/5
(32)

The strokeText method is a value-returning method.

(True/False)
4.9/5
(43)

When drawing a square blue box crisscrossed with a yellow ribbon, you would draw the blue box before the yellow ribbon.

(True/False)
4.9/5
(39)

What would happens if the (x,y) coordinate you specify for a figure is not inside the window?

(Multiple Choice)
4.8/5
(39)

In JavaFX, once we have set the fill color, we can no longer change it.

(True/False)
4.9/5
(38)

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

(Short Answer)
4.9/5
(33)
Showing 1 - 20 of 57
close modal

Filters

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