Professional Documents
Culture Documents
No.,.....6 3
6
Particulars about the candidate - \
and the subject are checked thorouglty
/r/
CENTRtr ROLL:
and corrected where necessary.
Enrolment Number.
INSTRUCTIONS IO CANDIDATES
I . An Examinee is allowed to bring only Admission Card and ldentity
Card to theExamination Hall. Any Examinee found in possession
ofloose papers, books etc. is liable to be Expelled.
2. Enrolment No. must bewritten legibly at the specified places.
Examinee's name and any other identifuing mark which reveals
examinees identity shall not be written anywhere in the script'
3. For Making calculations, only the last page provided for rough work
shall be used.
4. No pages ofthe scriPtbetorn out.
5. MOBILE PHONES nre strictly prohibited in the
exomination Centre.
6. No candidate will be allowed to leave or go out ofthe hall during
the First hour ofthe Examination.
Examiner's Signafure
Total=
Scrutiniser's Signature
Java(Th)--l
2. Answerthefollowingquestions 2x4=8
(a) What is Java byte code?
(b) What is a Java virtual machine?
(c) What are the rules for naming a Java variable?
(d) What is an'interface'?
Java(Th)---2
3. Answeranythreequestionsfrom thefollowing 4xj = 12
(a) Compare the statement flreak'and'continue'in terms of their function. Give example also.
(b) When do we declare a m&hod'final'? What is an abstract class?
(c) What is a vector? Explain
(d) What is an'exception'? How many'catch'blocks can we use with one try block?
(e) Write down the four basic steps required to work with JDBC.
h*&Fa
6x2= 12
4. Answeranytwoquestions&omthefbllowing ,,
.^ -t -.
(a) Whai are o$ects? How are they created? Exptain with suitable example.
O) How do we add a class or an interface to a package?
(ri What do you mean by event handling? What are the type*ofwents used in Java
AWT?
fdi Write a Java program to check whether the given number is prime or not.
Jara(Th)--8
x2= 14
Answeranytwoquestionsfromthefollowing Exprain with example the different
(a) what is a constructor? How it is dechld - show by example.
argumertt passing techniques in Java.
in Java'
(b) Uiw do wedesign a padkage? Discuss the diff€rent stream classes
(c) Wf,u, i, an',+pfret?Explain life cycle of 'Applef with an example.
(d) Write a program to implement keyboard event'
Jeva({tq}r"*ft