Object Oriented Programming - I (3140705) MCQs

MCQs of JAVAFX basics and Event-driven programming and animations

Showing 21 to 30 out of 31 Questions
21.
The _____ layout arranges the nodes in our application in top, left, right, bottom and center positions.
(a) TilePane
(b) BorderPane
(c) GridPane
(d) FlowPane
Answer:

Option (b)

22.
The _____ layout arranges the nodes in our application on top of another.
(a) TilePane
(b) BorderPane
(c) StackPane
(d) FlowPane
Answer:

Option (c)

23.
The _____ layout arranges multiple text nodes in a single flow.
(a) FlowPane
(b) GridPane
(c) BorderPane
(d) TextFlow
Answer:

Option (d)

24.
The _____ layout anchors the nodes in our application at a particular distance from the pane.
(a) GridPane
(b) AnchorPane
(c) BorderPane
(d) TextFlow
Answer:

Option (b)

25.
The _____ layout adds all the nodes of application in the form of uniformly sized tiles.
(a) TilePane
(b) GridPane
(c) BorderPane
(d) AnchorPane
Answer:

Option (a)

26.
The _____ layout arranges the nodes in our application as a grid of rows and columns.
(a) TilePane
(b) GridPane
(c) BorderPane
(d) AnchorPane
Answer:

Option (b)

27.
The _____ layout wraps all the nodes in a flow.
(a) TilePane
(b) BorderPane
(c) StackPane
(d) FlowPane
Answer:

Option (d)

28.
The following are the phase of event handling in JavaFX
(a) Target Selection
(b) Route Construction
(c) Event Capturing Phase
(d) All of them
Answer:

Option (d)

29.
In event capturing phase, event travels to all nodes in top to bottom manner.
(a) Target Selection
(b) Route Construction
(c) Event Capturing Phase
(d) Event Bubbling Phase
Answer:

Option (c)

30.
Event dispatch chain is created in
(a) Target Selection
(b) Route Construction
(c) Event Capturing Phase
(d) Event Bubbling Phase
Answer:

Option (b)

Showing 21 to 30 out of 31 Questions