Download PTU B.Sc IT (BCA) 2019 May 4th Semester 12518 CORE JAVA PROGRAMMING Question Paper

Download PTU (Punjab Technical University) BSc IT (BCA) 4th Semester 12518 CORE JAVA PROGRAMMING Last 10 Years 2020, 2019, 2018, 2017, 2016, 2015, 2014, 2013, 2012, 2011 and 2010 Previous Question Papers.

1 | M-12518 (S3-597

Roll No. Total No. of Pages : 02
Total No. of Questions : 07
B.Sc. (IT) (2013 & 2014) (Sem.?4)
CORE JAVA PROGRAMMING
Subject Code : BS-202
M.Code : 12518
Time : 3 Hrs. Max. Marks : 60
INSTRUCTION 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 a student has
to attempt any FOUR questions.

SECTION-A
Q1 Answer briefly :
a. Define Abstraction.
b. What is encapsulation?
c. Name any two benefits of OOPs.
d. ?Java is Portable?. Comment on the statement.
e. What are literal?
f. What is type casting?
g. Discuss the use of Dot operator.
h. Write the syntax of For-Loop.
i. Define the term overriding,
j. What are access specifiers?

FirstRanker.com - FirstRanker's Choice
1 | M-12518 (S3-597

Roll No. Total No. of Pages : 02
Total No. of Questions : 07
B.Sc. (IT) (2013 & 2014) (Sem.?4)
CORE JAVA PROGRAMMING
Subject Code : BS-202
M.Code : 12518
Time : 3 Hrs. Max. Marks : 60
INSTRUCTION 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 a student has
to attempt any FOUR questions.

SECTION-A
Q1 Answer briefly :
a. Define Abstraction.
b. What is encapsulation?
c. Name any two benefits of OOPs.
d. ?Java is Portable?. Comment on the statement.
e. What are literal?
f. What is type casting?
g. Discuss the use of Dot operator.
h. Write the syntax of For-Loop.
i. Define the term overriding,
j. What are access specifiers?

2 | M-12518 (S3-597

SECTION-B
Q2 What is Object Oriented Programming? What are major differences between C++ and
Java? Explain.
Q3 What are operators? Differentiate between relational and logical operator by taking some
suitable example.
Q4 Explain the following concepts :
a. Multi-Level Inheritance.
b. Wrapper Class.
Q5 a. What are interfaces? Illustrate by writing a code snippet.
b. Write a program to create a Package. Also access its members.
Q6 a. Differentiate between compile time and runtime error.
b. Write a Java Code to demonstrate Applet.
Q7 What is Graphics Programming? Explain line and rectangle drawing using Java Code
snippet.






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 07 December 2019