You are on page 1of 2

14573 14573 14573 14573 14573 14573 14573 14573 14573

14573 Roll No.


14573 14573 14573 14573 14573 Total14573
No. of Pages
14573 : 02 14573

Total No. of Questions : 09


B.Tech(IT) (2011 Onwards) (Sem.–5)
14573 14573 14573 PROGRAMMING
14573 14573 IN14573
JAVA 14573 14573 14573

Subject Code : BTIT-502


Paper ID : [A2123]
14573 Time : 3 Hrs.
14573 14573 14573 14573 14573 Max. Marks
14573 14573 : 60 14573

INSTRUCTION TO CANDIDATES :
1. SECTION-A is COMPULSORY consisting of TEN questions carrying T WO marks

m
14573 14573
each. 14573 14573 14573 14573 14573 14573 14573

2. SECTION-B contains FIVE questions carrying FIVE marks each and students
have to attempt any FOUR questions.

o
.r c
3. SECTION-C contains T HREE questions carrying T EN marks each and students
14573 14573 have to14573
attempt any 14573 14573
T WO questions. 14573 14573 14573 14573

14573 14573 14573

pe
14573
SECTION-A
14573 14573

o m
14573 14573 14573

a .r c
1) Write briefly :

14573 14573 a. List14573

r p
primitive Java14573
types. 14573

e
14573 14573 14573 14573

14573 14573
b
b. What is finalize() method?
14573 14573 14573

a p
14573 14573 14573 14573

rp
c. What is Abstract class?

b
d. Explain the following line used under Java Program :
14573 14573 14573 14573 14573 14573 14573 14573 14573

public static void main (String args[ ])

14573 14573 e. What are Wrapper14573


14573 classes? 14573 14573 14573 14573 14573

f. Describe life cycle of thread.


14573 14573 14573 14573 14573 14573 14573 14573 14573
g. How finally keyword used under Exception Handling?

h. Explain JVM.
14573 14573 14573 14573 14573 14573 14573 14573 14573

i. What is runtime polymorphism or dynamic method dispatch?

14573 14573 j. What is a Socket and


14573 14573advantages14573
of Java Sockets?
14573 14573 14573 14573

14573 1 | M-70595
14573 14573 14573 14573 14573 14573 (S2)-994
14573 14573

14573 14573 14573 14573 14573 14573 14573 14573 14573


14573 14573 14573 14573 14573 14573 14573 14573 14573

14573 14573 14573 14573 14573 14573 14573 14573 14573

SECTION-B

14573 2)
14573 Write a14573
Program using the concept of
14573 Inheritance,14573
14573 to set, to get and
14573compare the features
14573 14573
of different Vehicles. Create different methods for each feature.

3) What is function Overloading? Is operator overloading is possible in Java? Write a


14573 14573 14573 14573 14573 14573 14573 14573 14573
program to show the concept of Function overloading using inheritance.

4) Explain the terms :

m
14573 14573 14573 14573 14573 14573 14573 14573 14573
a) Final

o
.r c
b) Super
14573 14573 14573 14573 14573 14573 14573 14573 14573

5) Write the Syntax of following :

14573 14573
a) While loop
14573

pe
14573 14573 14573

o m
14573 14573 14573

a .r c
b) Switch case

14573 6)
14573 Differentiate
14573

r p
between14573
Interface and 14573
Abstract Class,14573
with example.14573

e
14573 14573

14573 14573
b
14573 14573 14573
SECTION-C
a p
14573 14573 14573 14573

14573
7)
14573
Explain the following keywords with example :
14573
a) Bytecode
14573

b
14573 rp 14573 14573 14573 14573

b) Extends
14573 14573 14573 14573 14573 14573 14573 14573 14573

c) This

8) How an Applet is created? Describe the Applet Life Cycle. What are the requirements for
14573 14573 14573 14573 14573 14573 14573 14573 14573
creating an Applet?

9) a) What is multithreading? Give two advantages and disadvantages of multi threading.


14573 14573 14573 14573 14573 14573 14573 14573 14573
b) Write a program in java that receive two numeric inputs from user and then perform
different arithmetic operations on them.
14573 14573 14573 14573 14573 14573 14573 14573 14573

14573 2 | M-70595
14573 14573 14573 14573 14573 14573 (S2)-994
14573 14573

14573 14573 14573 14573 14573 14573 14573 14573 14573

You might also like