This download link is referred from the post: PTU B.Sc FD (Fashion Design)Last 10 Years 2010-2020 Previous Question Papers
Firstranker's choice
Roll No.
--- Content provided by FirstRanker.com ---
Total No. of Questions : 07
Total No. of Pages : 02
B.Sc. (IT) (2013 & 2014) (Sem.-4)
CORE JAVA PROGRAMMING
Subject Code : BS-202
--- Content provided by FirstRanker.com ---
M.Code: 12518
Time: 3 Hrs.
Max. Marks : 60
INSTRUCTION TO CANDIDATES :
- SECTION-A is COMPULSORY consisting of TEN questions carrying TWO marks each.
- SECTION-B contains SIX questions carrying TEN marks each and a student has to attempt any FOUR questions.
--- Content provided by FirstRanker.com ---
SECTION-A
Q1 Answer briefly :
- Define Abstraction.
- What is encapsulation?
- Name any two benefits of OOPs.
- "Java is Portable". Comment on the statement.
- What are literal?
- What is type casting?
- Discuss the use of Dot operator.
- Write the syntax of For-Loop.
- Define the term overriding,
- What are access specifiers?
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
SECTION-B
Q2 What is Object Oriented Programming? What are major differences between C++ and Java? Explain.
--- Content provided by FirstRanker.com ---
Q3 What are operators? Differentiate between relational and logical operator by taking some suitable example.
Q4 Explain the following concepts :
- Multi-Level Inheritance.
- Wrapper Class.
Q5
--- Content provided by FirstRanker.com ---
- What are interfaces? Illustrate by writing a code snippet.
- Write a program to create a Package. Also access its members.
Q6
- Differentiate between compile time and runtime error.
- Write a Java Code to demonstrate Applet.
--- Content provided by FirstRanker.com ---
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.
--- Content provided by FirstRanker.com ---
This download link is referred from the post: PTU B.Sc FD (Fashion Design)Last 10 Years 2010-2020 Previous Question Papers