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

Download GTU BE/B.Tech 2019 Winter 4th Sem New 2140705 Object Oriented Programming With C++ Question Paper

Download GTU (Gujarat Technological University) BE/BTech (Bachelor of Engineering / Bachelor of Technology) 2019 Winter 4th Sem New 2140705 Object Oriented Programming With C++ Previous Question Paper

This post was last modified on 20 February 2020

This download link is referred from the post: GTU BE/B.Tech 2019 Winter Question Papers || Gujarat Technological University


Enrollment No.

FirstRanker.com

BE - SEMESTER- IV (New) EXAMINATION - WINTER 2019

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

Subject Code: 2140705 Date: 16/12/2019

Subject Name: Object Oriented Programming With C++

Time: 10:30 AM TO 01:00 PM Total Marks: 70

Instructions:

  1. Attempt all questions.
  2. --- Content provided by FirstRanker.com ---

  3. Make suitable assumptions wherever necessary.
  4. Figures to the right indicate full marks.

MARKS

Q.1 (a) Explain Type Conversion with example. 03

(b) Explain default argument in a function with example. 04

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

(c) Explain different features of Object Oriented Programming. 07

Q.2 (a) What is difference between Structure and Class in C++? 03

(b) Explain Copy Constructor with example. 04

(c) What is Function Prototype? Explain Function overloading with example. 07

OR

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

(c) What is Friend Function? Explain the characteristics of friend function. 07

Q.3 (a) Explain Constructor with example. 03

(b) Explain Static Data Member with example. 04

(c) Create a class distance with feet and inches as two data member, define the necessary member function to get the data of two distance objects from user, add both the objects of distance class and display the result. Invoke all member function from main (). 07

OR

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

Q.3 (a) Explain Destructor with example. 03

(b) Explain Static Function with example. 04

(c) Create a class time with hours and minutes as two data member, Get the data of two time objects from user and overload function with + operator to add both time objects and display the result. 07

Q.4 (a) Explain this pointer with example. 03

(b) Explain Call by Address with example. 04

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

(c) Explain different types of Inheritance with example. 07

OR

Q.4 (a) Explain inline function with example. 03

(b) Explain Call by Reference with example. 04

(c) What is Inheritance? Explain Multiple and Multilevel inheritance with example. 07

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

Q.5 (a) Explain Exception in C++ with example. 03

(b) Explain type conversion from class type to basic type with suitable example. 04

(c) Write a function template for finding the maximum value from an array. 07

OR

Q.5 (a) What is Exception handling in C++? 03

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

(b) Explain type conversion from one class type to another class type with suitable example. 04

(c) What is a stream? Explain different stream classes for console I/O operations in C++. 07

FirstRanker.com


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


This download link is referred from the post: GTU BE/B.Tech 2019 Winter Question Papers || Gujarat Technological University