Java Paper
Java Paper
of Pages : 02
Roll No. III
Total No. of Questions : 09
B.Tech(IT) (2011 Onwards) (Sem.-5)
PROGRAMMING IN JAVA
Subject Code : BTIT-502
Paper ID: (A2123] Max. Marks : 60
Time: 3 Hrs.
INSTRUCTION TO CANDIDATES :
questions carrying TWO marks
1. SECTION-A Is COMPULSORY consisting of TEN
each.
carrying FIVE marks each and students
2. SECTION-B contains FIVE questions
3.
attempt THREE
have to
questions carrying TEN marks each
and students
SECTION-A
1) Write briely :
(S2)-994
1| M-70595
Roti Ne.
Ttal Meg
Total Ne of Queatlona
B.Tech.m (em
INTRODUCTION TO JAVA h
runple
4 fgan
Time : 3 Hrt WaL Ela
waterlestta h the h
TCTo To CAOIDATES
sHCIOKa YE SLCTONc
SECTION-c ctalns THREE Vtile
Writr briely 1
wht dea xapdata
StCTIONA
lshaURL
What
d What
Wy enainpotee l c
e
Wheadng
e Define apples
6
CSE CIT)-
Roll No....
Total No. of Questions: 091
Total No. of Printed Pages: (01
B.Tech (CSE(Semester-s)
JAVA PROGRAMMING
SUBJECT CODE: BCSEI-522
Paper ID: |111113|
Time: 03 Hours
Instruction for candidates: Maximum Marks: 60
Section A is Compulsory.
2. Attempt any FOUR questions from Section B.
3. Attempt any TWO questions from Section C.
Section -B
2. Explain the difference between an applet and an application? Explain the (5structure
marks each)
of an
applet.
Q3. Can multiple inheritance be implemented in Java? Discuss by writing.
04. What are Layout managers in Java? Explain using suitable example.
Q5. Explain Method Overloading in Java using any example.
Q6. Write a program in Java to perform different arithmetic operation using Switch-Case?
Section -C (10 marks each)
Q7, Explain the different methods which are used for Inter Thread communication?
Q8. What are the Main Components of JDBC? Write any Java Program to implement the concept.
09. Write short note on:
a) Use of this keyword
b) Garbage collection in Java
Pages : 02
Tetal Ne. ef
Tim :Hr
CAYIDATES
IMSTAUCcHPJLSORY
SECTIOC
SECTIOH canapUR SuEem
3ECTIOaR
SECTIONA WPS Offg T atOa
FAST t
secfe
Witr briefy
Ae VM pta mindejundet
Wyo Why na
Ca emde ate meted
whul saSnckrt
and finaty
Dfeence betwten fnal r Eplan wth ung
ean ur perse aUR
How can
ef wpe
Whal ar e arplkatiss
21C
Defne applct
14Cede SASS5
T) =3S
SECTON-B
SECTION-C
a Thrcad synchronization
b. Socket programming
c. JIT Compilation
(S2)-196B
2IM70595
Total No. of Pages : 02
Roll No.
Total No. of Ques tions :09 (Sem.-5)
B.Tech(|T) (2011 Onwards)
PROGRAMMING IN JAVA
Subject Code : BTIT-502
Paper ID : (A2123]
Max. Marks : 60
Time :3 Hrs.
INSTRUCTION TO CANDIDATES :
TEN questlons carrying TWO marks
1. SECTION-A Is COMPULSORY consisting of
each. marks each and students
2. SECTION-B contalns FIVE questions carrying FIVE
has to attempt FOUR guestions.
TEN marke sach and students
3. SECTION-C contains THREE questions carrying
ttempt any TWO questions.
SECTION-A
Write briefly :
a Why Java is platform independent language?
b. Why java does not support multiple inheritance?
c What is the difference between throw and throws
keyword?
e. Define Multithreading.
f Define Constructor.
g What is an applet?
h Why do we nccd socket programming?
i What is JDBC?
(52)-1966
1| M-70595
SECTION-B
2
Explain the visibility controls in Java.
SECTION-C
7. Write a program in Java to find first n prime numbers, where n is any integer and should
be taken as input the user.
8 What are different types of Inheritance supported by Java explain in detail?
b. JDBC
2 M-70595 (52)-2342
Roll No.
Total No. of Questions : 09 Total No. of Pages : 02
SECTION-A
1.
Write briefly :
WPSOffice
a) Use of String buffer class.
b) Java tokens.
c) Type casting.
d) Pros of Java
programming language.
e) Static members.
) URL connection.
g) Applets.
h) Hiding classes.
1|M-70595
($2)-2342
What is inheritance?.Why java does not support nultiple inheritance1
SECTION C
7 Explain different types of operators used in java programming Writen simple program to
demonstrate operator precedence in java.
PROGRAMMING
SUBJECT CODE: IBTIT502
N JAVA
Hour
Paper lD: (5112102
patruction
for ca candidates:
section A is Compulsory.
FOUR
Maximum Marks: 60
Anempt any
TWo questions from Section B
Aftemptany questions from Section
INSTRUCTIONS TO CANDIDATES:
Section A is COMPULSORY consisting of TEN Questions
carrying TWO marks each.
2. Section Bcuntains FIVE questions carrying FIVE marks each and students have to
attempt any FOUR questions.
3. Section C contains THREE questions carrying TEN marks each and students have to
attempt any TWO questions.
SECTION A
1. a List four important features of Java language.
b. What is JVM?
C. Difference between epplication and applet
d What is dynamic metlhod dispatch?
Define garbage collection
f
8
What is use of final keyword?
Define Exception
Office
h. Define Server Socket
i What is difference between interface and abstract class
What is the use of "this" keyword?
SECTION B
4. Write a program to implement the Fibonacci series using for loop control structure.
What is string handling? Wito aprogram to comparo the two stringa in java
Page 1 of2
| M70595
nll NO.**estions: |01 Total No. of Printed Pages: (01)
Total No. of
B. Tech. (CSE)
(Semester-5th)
JAVA PROGRAMMING
Subject Code: BCSEDI-S14/BCSEM1007
Time: 03 Hours Paper ID: [18111127]
Instruction for candidates: Maximum Mark: 60
1 Section A is compulsory. It consists of 10 parts of two marks each.
) Section B consist of 5 questions of 5 marks cach. The student
has to attempt any 4
questions out of it.
1 Section C consist of 3 questions of 10 marks each. The student has to attempt
any 2
questions.
INSTRUCTIONS TO CANDIDATES :
carrying TWO marks
1. SECTION-A is COMPULSORY consisting of TEN questions
each
each and students
2 SECTION-B contains FIVE questions carrying FIVE marks
have to attempt any FOUR questions. students
3. SECTION-C contains THREE questions carrying TEN marks each and
have to attempt any TWO questions.
SECTION-A
Write briefly :
a) What is inheritance in object oriented programming? Discuss in brief.
b) What is meant by operalor precedence? Discuss with an example.
c) What is the use of defuult keyword in switch statement?
d) What is an abstract class?
S2) 146
NPCTKINN the
organaton Incluke
ef an
ihe emplyees
Faypkoyee to epresent
cla
adleess, departmen
the empkyee,
tulas of an empleyce,
, naedispt
emets empleycevalues, le
Methode m intal
ulary of an empkyee inlormaton yourscl
ume any sequircd
Apreoprately using ecson
Fhonakci series up lo n lerms incorparale
pint ofeceptnns and then
Wrte a methd lo yenerate fwn types
lakely te
Creele &try bkxk that isto handke Ihem appropru
nrary calch hkcks
Eplain the lfe cyck ofa
thresd
from standalone
JavE application
ate diflerent
an Appkt? How pplets
Whal
Discuss
pgrah
NECTION-C to demonstrate
detail Also write a proyram
rikance in
1 Explain difleret types of
muluple inherilance-usinjg-Me imported
How packages are created,
he utality of packages?
anample Alsu discuss
packaye ccess proee
What are packaeswh help
and uscd Discuss with the highlighting eticnt and servet sockets nd
Juva
res of demunsisie clent scrver conce etein a
Wde a nole on nelwkny
Also wrte er responde to that request
thee unae d
clent ends the roquest
3
2) Wile a Program using the concept of Inheritance, to set, lo get and comnpare the fcatures
of dilferent Vehicles Create diflerent methods lor ach
a) Final
b) Super
b) Switch case
c) This
for
8) How an Applet is crcated? Describe the Applet Life Cyck What are the requircments
crealing an Applet?
2|M-70595
ET- 39