FirstRanker Logo

FirstRanker.com - FirstRanker's Choice is a hub of Question Papers & Study Materials for B-Tech, B.E, M-Tech, MCA, M.Sc, MBBS, BDS, MBA, B.Sc, Degree, B.Sc Nursing, B-Pharmacy, D-Pharmacy, MD, Medical, Dental, Engineering students. All services of FirstRanker.com are FREE

📱

Get the MBBS Question Bank Android App

Access previous years' papers, solved question papers, notes, and more on the go!

Install From Play Store

PTU B.Tech ECE 3rd Semester May 2019 56511 OBJECT ORIENTED PROGRAMMING Question Papers

PTU Punjab Technical University B-Tech May 2019 Question Papers 3rd Semester May Electronic and Communication Engineering (ECE)

This post was last modified on 04 November 2019

This download link is referred from the post: PTU B.Tech 3rd Semester Last 10 Years 2011-2021 Previous Question Papers|| Punjab Technical University


FirstRanker.com

Firstranker's choice

FirstRanker.com

--- Content provided by FirstRanker.com ---

FirstRanker.com

Roll No. Total No. of Pages : 02 Total No. of Questions : 09

B.Tech.(EIE) (2011 & Onwards) (Sem.-3)

OBJECT ORIENTED PROGRAMMING

Subject Code : CS-252

M.Code : 56511

--- Content provided by FirstRanker.com ---

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 FIVE questions carrying FIVE marks each and students have to attempt any FOUR questions.
  3. --- Content provided by FirstRanker.com ---

  4. SECTION-C contains THREE questions carrying TEN marks each and students have to attempt any TWO questions.

SECTION-A

1. Answer briefly :

  1. Describe data types in C++.
  2. Define Bit Field integer.
  3. --- Content provided by FirstRanker.com ---

  4. What is the concept of abstract class?
  5. What do you mean by data hiding in C++?
  6. Discuss copy constructor.
  7. What is a scope resolution operator?
  8. Discuss static binding.
  9. --- Content provided by FirstRanker.com ---

  10. What is the necessity of exception handling?
  11. Write the need of file positioning function.
  12. What do you mean by generic function?

1| M-56511 (S2)-2507

FirstRanker.com

--- Content provided by FirstRanker.com ---

FirstRanker.com

Firstranker's choice

FirstRanker.com

FirstRanker.com

SECTION-B

--- Content provided by FirstRanker.com ---

2. Write a program in C++ to check whether the given number is prime or not.

3. Give the steps of declaration of user defined data types. Explain with example.

4. What is function overloading? Write an example using C++ to illustrate the concept of function overloading.

5. Explain the following :

  1. Copy constructor with an example
  2. --- Content provided by FirstRanker.com ---

  3. Virtual Base Class

6. What is polymorphism? Explain the different types of polymorphism.

SECTION-C

7. Explain public, private and protected access specifier and show their visibility when they are declared in inheritance.

8. Explain in detail about the use of streams and stream classes in C++ by taking an example.

--- Content provided by FirstRanker.com ---

9. What is file handling in C++? Write syntax for closing the file using file operations.

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-56511 (S2)-2507

FirstRanker.com


--- Content provided by FirstRanker.com ---


This download link is referred from the post: PTU B.Tech 3rd Semester Last 10 Years 2011-2021 Previous Question Papers|| Punjab Technical University