
Summative Test in CP(Java)
Authored by Simple Self
Computers
12th Grade
Used 8+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. Which of the following is NOT a top-level container in Java Swing?
JFrame
JDialog
JPanel
JWindow
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. What is the primary purpose of a LayoutManager in Swing?
To handle events
To manage the size and position of components
To paint components
To handle data input
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which class is used to create a simple button in Swing?
Which class is used to create a simple button in Swing?
JTextfield
JButton
JLabel
JCheckBox
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which component is best suited for displaying a list of selectable items?
Which component is best suited for displaying a list of selectable items?
JComboBox
JTree
JList
JProgressBar
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which component provides a scrollable view of a large component?
Which component provides a scrollable view of a large component?
JWindow
JDialog
JScrollPane
JPanel
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is used to create a menu bar in a Swing application?
JMenuBar
JMenu
JMenuItem
JPopupMenu
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which component is best for displaying a single line of non-editable text?
JTextField
JTextArea
JLabel
JPasswordField
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?
Similar Resources on Wayground
46 questions
Domain 1 - Network Security
Quiz
•
9th Grade - University
54 questions
Programming Concepts
Quiz
•
9th - 12th Grade
50 questions
J277 Data Representation MCQs
Quiz
•
12th Grade
50 questions
Asas Sains Komputer Tingkatan 3
Quiz
•
9th - 12th Grade
46 questions
Ulangkaji ASK T1 Bab 3 Algoritma
Quiz
•
1st - 12th Grade
50 questions
First Quarter Exam in T.L.E. 7- ICT
Quiz
•
7th Grade - University
50 questions
Computer Hardware
Quiz
•
11th - 12th Grade
50 questions
HCI MIDTERM EXAMINATIONS
Quiz
•
12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade