WorksheetsIT 212- Formative Assessment # 3
Total questions: 40
Worksheet time: 33mins
What is the primary purpose of the Scene Builder app by Gloun?
Project management
Scene and environment creation
Video editing
Game development
is a software development methodology that emphasizes quick development and iteration
(a)
is a visual layout tool that allows developers to design user interfaces without writing code.
(a)
It enhances productivity by enabling a drag-and-drop interface, making it easier to create complex layouts quickly.
(a)
provides tools and frameworks that simplify JavaFX application development across devices.
(a)
By integrating Gluon with Scene Builder, developers can create responsive applications that work seamlessly on various platforms. TRUE/ FALSE
TRUE
FALSE
The drag-and-drop functionality in Scene Builder allows developers to visually disarrange UI components. TRUE/ FALSE
TRUE
FALSE
The drag-and-drop functionality in Scene Builder allows developers to visually arrange UI components. This approach speeds up the design process, reduces coding errors, and enhances collaboration between designers and developers.. TRUE/ FALSE
TRUE
FALSE
Integrating Gluon with Scene Builder involves adding Gluon libraries to your project. This integration allows you to leverage Gluon's features, such as cloud services and cross-platform capabilities, directly within your UI design. TRUE/ FALSE
TRUE
FALSE
This statement emphasizes than many businesses utilize Scene Builder and Gluon for developing applications that require rapid deployment. Examples include mobile apps, enterprise solutions, and interactive dashboards that benefit from quick iterations and updates. TRUE/ FALSE
TRUE
FALSE
The statement says the future of Rapid Application Development looks promising with Gluon. As technology evolves, tools like Scene Builder will continue to improve, enabling developers to create more efficient and innovative applications.TRUE/ FALSE
TRUE
FALSE
When designing UIs with Scene Builder, follow best practices such as maintaining _______, ensuring _________, and optimizing for _________. These principles will enhance user experience and application usability.
consistency, accessibility, performance
de-consistency, de-accessibility, no-performance
Traceability, accessibility, Adoptability
Unfriendly, Accessible, GUI
What do call this picture?
(a)
What do call this picture?
(a)
What do call this picture?
(a)
What do call this picture?
(a)
What do call this picture?
(a)
What do call this picture?
(a)
What do call this picture?
(a)
What do call this picture?
(a)
What do call this picture?
(a)
What do call this picture?
(a)
What do call this picture?
(a)
What is the purpose of the "main" method in Java?
To display output
To start the execution of a Java program
To perform calculations
To create an instance of an object
Which of the following is not a Valid Comment?
/ / comment
/ * comment
/ * comment * /
/ * * comment * /
Operators maybe used in building _____ which compute values.
Operands
Impressions
Expressions
Operations
Which one of the following is platform dependent?
JavaFX
Swing
AWT
Java
Which of the following best describes the relationship between Stage, Scene, and Scene graph in JavaFX?
Stage is the root container that contains all the visual elements, Scene is a container for UI controls, and Scene graph is a tree-like structure that represents the elements in the Scene
Stage is a container for UI controls, Scene is a root container that contains all the visual elements, and Scene graph is a tree-like structure that represents the elements in the Stage.
Stage is a tree-like structure that represents the elements in the Scene, Scene is a container for UI controls, and Scene graph is the root container that contains all the visual elements
Stage is a container for UI controls, Scene is a tree-like structure that represents the elements in the Scene, and Scene graph is the root container that contains all the visual elements.
What is FXML in JavaFX?
A library for creating user interfaces
A markup language for defining JavaFX user interfaces
A programming language
JavaFX Editor
Consider the following code snippet.
if( ! other.isSelected() )
{
System.out.println("Other is selected");
}
System.out.println("Other is not selected");
What will be the output if the radio button 'other' is selected?
Other is selected
Other is not selected
Prints nothing
Other is not selected
Other is selected
The _____ includes tools for developing and testing programs written in the Java programming language and running on the Java platform.
JDK
SDK
IDE
JPK
What does the Initializable in JavaFX do?
Initializes variables
Registers event handlers
Initializes the components of a scene
Runs automatically when a scene is created
What does @FXML annotation in JavaFX do?
It is used to initialize variables and objects.
It is used to bind data to user interface controls.
It is used to define event handlers for user interface controls.
All of the above.
What do the setText() and getText() methods in JavaFX do?
Set and get the background color of a node
Set and get the font of a node
Set and retrieve the text of a node
Set and get the size of a node
import java.awt.*;
import java.applet.*;
public class myapplet extends Applet {
public void paint(Graphics g) {
g.drawString("A Simple Applet", 20, 20); } }
a) 20
b) 50
c) 100
d) System dependent
import java.awt.*;
import java.applet.*;
public class myapplet extends Applet {
Graphic g;
g.drawString("A Simple Applet", 20, 20);
}
a) 20
b) Default value
c) Compilation Error
d) Runtime Error
The following example shows the creation of a
import java.applet.*;
import java.awt.*;
public class Main extends Applet{
public void paint(Graphics g){
g.drawString("Welcome in Java Applet.",40,20);
}
}
a. Banner using Applet
b. Basic Applet
c. Display clock
d. None of the above
In Servlet Terminology what provides runtime environment for JavaEE (j2ee) applications. It performs many operations that are given below
1. Life Cycle Management
2. Multithreaded support
3. Object Pooling
4. Security etc.
a. Server
b. Webserver
c. Container
d. Application Server
An applet can play an audio file represented by the AudioClip interface in the java, applet package Causes the audio clip to replay continually in which method?
a. public void play()
b. public void loop()
c. public void stop()
d. None of the above
What do you call the combination of the Java Runtime Environment and the other development tools?
JDK
JRE
JVM
J2EE
