
JF S9
Authored by Jerry Mahana
Computers
9th - 12th Grade
Used 118+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How would you create a custom color that is pure cyan (equal parts green and blue)?
Color customColor = Color.rgb(0, 0, 255);
Color customColor = Color.rgb(255, 255, 0);
Color customColor = Color.rgb(0, 255, 0);
Color customColor = Color.rgb(0, 255, 255);
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which color is not directly used when creating custom Color.rgb()?
Red
Blue
Green
Yellow
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
JavaFX Ensemble contains code examples of JavaFX features.
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the correct syntax to instantiate a JavaFX Rectangle?
Rectangle rect = new Rectangle(20, 20);
Rectangle rect = new Rectangle(20, 20, 100);
Rectangle rect = new Rectangle(20, 20, 100, 200);
Rectangle rect = Rectangle(20, 20, 100, 200);
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method helps to set the width of a rectangle’s outline?
setStroke(Paint paint)
setX(double d)
setLayoutX(double d)
setStrokeWidth(double d)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
JavaFX is used to create GUI applications.
True
False
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is not a JavaFX Node?
ImageView
ScrollBar
Button
Object
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?