0% found this document useful (0 votes)
8 views4 pages

October2019

This document outlines the exam structure for a Java Programming-II course, including instructions for candidates and a series of questions divided into sections. It covers various topics such as event handling, layout management, applet life cycle, and Java components. The exam consists of multiple-choice questions, short answer questions, and programming tasks, with a total of 60 marks available.

Uploaded by

ap4511138
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views4 pages

October2019

This document outlines the exam structure for a Java Programming-II course, including instructions for candidates and a series of questions divided into sections. It covers various topics such as event handling, layout management, applet life cycle, and Java components. The exam consists of multiple-choice questions, short answer questions, and programming tasks, with a total of 60 marks available.

Uploaded by

ap4511138
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

~-101/102

B) Java Programming-II (362407)

Time: Two Hours Max. Marks: 60

Instructions to Candidates:
1. Do not write anything on question paper except Seat No.
2. Graph or diagram should be drawn with the black ink pen being used
for writing paper or black HB pencil.
3. Students should note, no supplement will be provided.
4. All questions are compulsory.
5. Figures to the right indicate full marks.

1. a) Attempt any six. 6

i) Which of these class is super class of all events


a) Awr Event b) Event Object
c) Component event d) . All of these

ii) Arranges components into grid.


a) Border Layout b) Grid Layout
c) Card Layout d) Flow Layout

iii) The drawstring ( ) method has ----- parameter


a) 1 b) 2
~ 3 d) 5

iv) Which JDBC driver type in the JOBC - ODBC bridge


a) Type1 b) Type2
c) Type3 d) Type4

v) Which method is used to display frames


a) Show ( ) b) Set Visible ( )
c) Both a & b d) None of these

vi) Which class is used to read a graphics file into an application.


a) .Toolkit class b) Image class
c) TooLKIT class d) None of these

vii) A JSP page consists of which tag?


a) HTML tags b) JSP tags
c) Both a & b d) None of these

5 P.T.O
. ~-101/102
~-101/102
viii) Which of the following is an optional attribute of applet tag?
a) Code b) Name
c) Width. d) Height

b) Attempt any six. 6

a) Explain setSize ( ) method of frame.

b) Enlist low level event classes.

c) Define apple!.

d) What is JSP.

e) List any four layout management in Java.

f) Explain drawstring ( ) method.

g) What is servle!.

h) Write any two methods of focus even!.

2. Attempt any six. 12

a) What is AWT.

b) What is Java beans.

c) How Text field component differ from Text Area componen!.

d) What is collection? Enlist any two collection framework interfaces in


Java.

e) Write any two methods of selecting text?

f) What are keyboard mnemonics of Accelerators.

g) Explain <applet> tag?

h) What is vector class?

i) . Write the purpose of password field in java?

~-101 /102 6
~-101/102
3. Attempt any four. 12

a) Explain the relation between event sources & listeners.

b) Write short note on adapter classes.

c) Explain applet life cycle with diagram.

d) Explain GridLayout with suitable example.

e) Explain any three methods of JComboSox component?

f) Write a Java program to demonstrate popup menu.

4. . Attempt any three. 12

a) Explain the servlet life cycle.

b) Write a short note on label.

c) Explain four methods of dialog box.

d) Explain any 20Shapes with example.

e) Explain how JSP works with suitable diagram.

5. Attempt any two. 12

a) Write a Java Program to demonstrate concept of radio button.

b) What is JOSC? Explain JOSC drivers.

c) Explain with example how keyboard events are handled in java.

********

~-101/102 7 219/465

You might also like