Download PTU (I.K. Gujral Punjab Technical University Jalandhar (IKGPTU) B-Sc CSE-IT (Bachelor of Science in Computer Science) 2020 March 5th Sem 72578 Programming In Java Previous Question Paper
Roll No. Total No. of Pages : 02
Total No. of Questions : 07
B.Sc. (CS) (2013 & Onwards) (Sem.?5)
PROGRAMMING IN JAVA
Subject Code : BCS-505
M.Code : 72578
Time : 3 Hrs. Max. Marks : 60
INSTRUCTIONS TO CANDIDATES :
1. SECTION-A is COMPULSORY consisting of TEN questions carrying TWO marks
each.
2. SECTION-B contains SIX questions carrying TEN marks each and students have
to attempt any FOUR questions.
SECTION-A
1. Answer briefly :
a) Define JAVA and Internet.
b) What is difference between C and Java?
c) What is Java virtual machine?
d) Discuss Method Overloading.
e) What is meant by Abstract Method.?
f) How Array is declared in Java?
g) Write a short note on Final Class.
h) What is Exception handling?
i) Describe the types of Errors.
j) Define Applet.
FirstRanker.com - FirstRanker's Choice
1 | M-72578 (S3)-1052
Roll No. Total No. of Pages : 02
Total No. of Questions : 07
B.Sc. (CS) (2013 & Onwards) (Sem.?5)
PROGRAMMING IN JAVA
Subject Code : BCS-505
M.Code : 72578
Time : 3 Hrs. Max. Marks : 60
INSTRUCTIONS TO CANDIDATES :
1. SECTION-A is COMPULSORY consisting of TEN questions carrying TWO marks
each.
2. SECTION-B contains SIX questions carrying TEN marks each and students have
to attempt any FOUR questions.
SECTION-A
1. Answer briefly :
a) Define JAVA and Internet.
b) What is difference between C and Java?
c) What is Java virtual machine?
d) Discuss Method Overloading.
e) What is meant by Abstract Method.?
f) How Array is declared in Java?
g) Write a short note on Final Class.
h) What is Exception handling?
i) Describe the types of Errors.
j) Define Applet.
2 | M-72578 (S3)-1052
SECTION-B
2. Explain the major benefits of object oriented programming. Explain object oriented
paradigm.
3. Write the sample java code to explain the working of visibility controls ?public access,
friendly access, protected access, private access.
4. Explain Interfaces. Write a program to implement interfaces.
5. Explain the working of the exception handling mechanism in java? Write sample code to
throw an exception and handle it with multiple catch statements.
6. Explain Event Delegation Approach in detail.
7. What is package? How to create, access and use a package explain with help of example?
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.
FirstRanker.com - FirstRanker's Choice
This post was last modified on 01 April 2020