Search Header Logo

JF S9

Authored by Jerry Mahana

Computers

9th - 12th Grade

Used 118+ times

JF S9
AI

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?