
Test 5678
Authored by Ngo Ha
Information Technology (IT)
10th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If the import statement was _____, we can not use the class JButton.
included
omitted
added
referred
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Typically the classes are described in a graphical notation, called a _____.
diagram
class diagram
structure diagram
diagrams
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
java.lang contains the classes _____ support the main features of the language like Object, String, number, exception and threads.
for
or
and
that
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
javax.swing is the name _____ package.
for
of
to
all of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
_____ provides a graphical notation for describing packages.
a program
a programming language
software
UML
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Java, classes called Monday, Tuesday, Wednesday, Thursday, Friday, Saturday and Sunday are grouped in a package called week. Write the statement to create an object monday of the class Monday.
import week.Monday; Monday monday = new Monday ();
Monday monday = new Monday ();
import week.Monday; Monday monday;
Monday monday;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
import java.awt.*; (in Java) - Using * means that we want to _____ all the classes within the named package.
inform
import
generate
initiate
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?