Ready to test your Knowledge?
Try out our new practice tests completely free!
exam preparation banner icon

Java Early Objects Study Set 1

Computing

Quiz 13 :

Java-Fx: Graphics, Effects, and Media

Quiz 13 :

Java-Fx: Graphics, Effects, and Media

search
arrow
Which of the following import statements must be used in order to use the Color class?
Free
Multiple Choice
Answer:

Answer:

B

arrow
The setInterpolator method allows you to specify how a transition begins and ends.
Free
True False
Answer:

Answer:

True

arrow
Given a window that is 640 (width) by 480 (height), which of the following represents the lowest position on the left side?
Free
Multiple Choice
Answer:

Answer:

C

arrow
Which effect class do you use to increase an image's brightness?
Multiple Choice
Answer:
arrow
Which class is used to move a node from one position on the screen to another?
Multiple Choice
Answer:
arrow
Which class specifies the amount of time an animation should last?
Multiple Choice
Answer:
arrow
Since the Node class's setEffect method only accepts one effect object as an argument, it is impossible to combine effects.
True False
Answer:
arrow
The __________ arc type causes a straight line to be drawn from one endpoint of the arc to the other endpoint.
Multiple Choice
Answer:
arrow
A polygon, created by the Polygon class is, by default, filled with the color black.
True False
Answer:
arrow
To make a node half its original size, you pass the setScaleX method the value 2 and pass the setScaleY method the value 0.5.
True False
Answer:
arrow
The FillTransition class works only with objects of the Shape class or one of its subclasses.
True False
Answer:
arrow
To create a circle, you need to specify only the X and Y coordinates of the center point.
True False
Answer:
arrow
Which of the following creates a blue circle centered at X = 50, Y = 50 with a radius of 50?
Multiple Choice
Answer:
arrow
Which class creates an animation in which a node rotates?
Multiple Choice
Answer:
arrow
JavaFX provides transition classes that allow the creation of animations by causing a node to change, over time, from one state to another.
True False
Answer:
arrow
In a window that is 640px wide by 480px high, the top right X, Y coordinates would be (0, 480).
True False
Answer:
arrow
The following statement will draw the string "Welcome!" starting at the top left corner of the screen. Text welcomeText = new Text(0, 0, "Welcome!");
True False
Answer:
arrow
To animate a node with the ScaleTransition class, you specify starting and ending
Multiple Choice
Answer:
arrow
To create an animation in which a node fades in or out over a period of time, use the __________ class.
Multiple Choice
Answer:
arrow
The Rotate class creates a rotating animation.
True False
Answer:
Showing 1 - 20 of 40