You are on page 1of 6

Fornr No. k- 8 a6 ^s/.

No.,.....6 3
6
Particulars about the candidate - \
and the subject are checked thorouglty
/r/
CENTRtr ROLL:
and corrected where necessary.

f,nvisilntbr Seal & Siqnature of Olficer-in-Charse

KRISHNA KANTA HANDIQUI STATE OPNN UNIVERSITY


BCA Examination 2013 ( 4th Semestcr)

Question No. Marks


Subi*"t : PROGRAMMING IN JAVA(THEORY)
,

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.

7. Acandidate having completed hiVher answer, the script must be


handed over, to an invigilator before leaving the hall.
8. Contravention ofany ofthe instructions mentioned above shall
render a candidate liable for disciplinary action as per regulations
ofthe University.

Examiner's Signafure

Total=
Scrutiniser's Signature

Head Examiner's Signature:


KKHSOU BCA 4r': S.qMEsT&Famination 2013
Subject : BCA
Paper - 14 : Programing'in Java
(Theory)
Time : 2 F{rs. Full Marks : 50

1. Answer the following questions lx4 = 4


(a) What is the meaning of the following commands ;
'javac Testjava'
(b) 'LogicalAND operator returns true only if both operands test are false'- state true or falae.
(c) Java allocates storage for an object by the use of which operator?
(d) 'Java program is first compiled into a bytecode and then interpreted using JVM' - state true of
false.

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

You might also like