Roll No. Total No.
of Pages : 02
Total No. of Questions : 07
BCA (2014 to 2018) (Sem.–5)
PROGRAMMING IN JAVA
Subject Code : BSBC-502
M.Code : 70629
Time : 3 Hrs. Max. Marks : 60
INSTRUCTION TO CANDIDATES :
1. SECTION-A is COMPULSORY consisting of TEN questions carrying T WO marks
each.
2. SECTION-B contains SIX questions carrying T EN marks each and a student has
to attempt any FOUR questions.
SECTION-A
1. Answer briefly :
a) Write two applications of OOP.
b) How Java differs from C++?
c) How web browsers are used in Java?
d) Write about java Virtual Machines.
e) What are static members in Java?
f) What are string functions?
g) Write about interfaces in Java.
h) What is use of Applets in Java?
i) Give introduction of Rectangle in Graphics class.
j) Write about Action Listener Event Handling.
1 | M-70629 (S3)-342
http://www.ptustudy.com
SECTION-B
2. Explain following :
a) Data Types in Java
b) Looping Statement in Java
3. Discuss various operators and expression available in Java. Show their syntax.
4. What are system packages in Java? How the packages are created?
5. How the error and exception are managed in Java? What is Try and Catch?
6. Explain Java AWT basics. Write its basic user interface components.
7. What is Java I/O Handling? Discuss data I/P and O/P streams.
NOTE : Disclosure of Identity by writing Mobile No. or Making of passing request on any
page of Answer Sheet will lead to UMC against the Student.
2 | M-70629 (S3)-342
http://www.ptustudy.com