You are on page 1of 2

Raghunathpur Govt.

Polytechnic
2nd Internal
CST- 3rd Year- 6th Semester
Time: 45 Min Subject- Advanced Java Programming Full Marks: 20

1. Choose the correct output of following programs (1x5=5) Unit / Mapping Type of
Module with Questions as per
COs Bloom’s
Taxonomy

(i) Which one method is used to set the visibility of the frame 3 CO1 APPLY
A. setVisible(true)
B. setVisible()
C. setVisible(false)
D. None of the above
(ii) What is the difference between a scrollbar and a scroll pane? 3 CO1 APPLY
A A Scrollbar is just a component, but not a container
B. A Scrolpane is a container
C. A Scrollpane handles its own events and performs its own
scrolling
D. All of these
(iii) Name some of the list layout managers in Java? 3 CO1 APPLY
A. Border Layout Manager
B. Card Layout Manager
C. GridBag Layout Manager
D. All of the above
(iv) The size of a frame on the screen is measured in: 3 CO1, CO3 APPLY
A. Inches
B. Nits
C. Dots
D. Pixels

(v) Which of the following classes of Java swing extends Applet class? 3 CO2 EVALUATE
A. JButton
B. JApplet
C. AbstractButton
D. None of these
2. Answer the following question (Any TWO) (2.5x2=5) Unit/ Mapping Type of
Module with Questions as
COs per Bloom’s
Taxonomy
(i) Explain two properties of Java Swing package. 3 CO1 REMEMBER

(ii) What is lightweight component? 3 CO1 ANALYSE

(iii) Is Java Swing platform independent? Explain. 3 CO4 ANALYSE

(iv) What classes do JFrame, JDialog, JList, Jpanel extend? 3 CO3 REMEMBER

3. Answer the following questions ( Any TWO ) (5x2=10) Unit/ Mapping Type of
Module with Questions as per
COs Bloom’s
Taxonomy
(i) Explain MVC architecture. What are the advantages of 3 CO4 UNDERSTAND
MVC architecture? /APPLY

5
(ii) Write the differences between Java AWT package and 3 CO1, CO3, UNDERSTAND
JAVA Swing package. CO4
5
(iii) Write a program using java swing to create a UI that 3 CO2, CO3 APPLY
contains two buttons and a textfield..
5
(iv) Design a Swing frame that contains five buttons and 3 CO2 APPLY
follows border layout.
5

Cognitive level distribution for Mid semester class test (2 nd Internal Examination)
Cognitive Level Questions (%)
Remember 17
Understand 13
Apply 50
Analyse 13
Evaluate 7
Create 0

You might also like