
Java Chapter 13 Review Questions
Authored by Alejandro Hidalgo
Computers
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
24 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When a selector name starts with a period in a JavaFX CSS style definition, it means the selector corresponds to:
specific variable names in the application
specific types of JavaFX nodes
values that the user enters
named constants in the application
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is written in the correct syntax for a CSS style definition?
{.label: -fx-font-size: 20pt; }
.label { -fx-font-size=20pt; }
.label { -fx-font-size: 20pt; }
{.label; -fx-font-size: 20pt; }
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you want to apply styles to all of the nodes in a scene, use the __________ selector
.all-nodes
.stage
.home
.root
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The __________ CSS property is used to change a control's background color in a JavaFX application
-fx-color
-fx-background-color
-fx-color-background
-fx-bg-color
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When you define a color in CSS, you specify an integer value in the range of __________ for each of the color components (red, green, and blue)
0 through 255
0 through 1024
-255 through 255
0 through 128
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the hexadecimal color value of #05AAFF, the AA value specifies which color component?
red
green
blue
magenta
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What style definition applies a background color of #0000FF to all Button controls?
.button { -fx-background-color: #0000FF; }
.button { -fx-bg-color: #0000FF; }
.button.all { -fx-background-color: #0000FF; }
.global { -fx-background-color: #0000FF; }
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?