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 2142005 Programming Methodology Using C++ Question Paper

Download GTU (Gujarat Technological University) BE/BTech (Bachelor of Engineering / Bachelor of Technology) 2019 Winter 4th Sem New 2142005 Programming Methodology Using 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


FirstRanker.com

Subject Code: 2142005

GUJARAT TECHNOLOGICAL UNIVERSITY

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

BE - SEMESTER- IV (New) EXAMINATION - WINTER 2019
Subject Name: Programming Methodology using C++
Time: 10:30 AM TO 01:00 PM
Total Marks: 70

Instructions:

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

  1. Attempt all questions.
  2. Make suitable assumptions wherever necessary.
  3. Figures to the right indicate full marks.
Q.1 (a) Define POP, inheritance, encapsulation 03
(b) Explain applications of OOP. 04
(c) Explain type conversion with example. 07
Q.2 (a) Define keywords private, protected, public. 03
(b) What is DMA? How to allocate and de-allocate memory dynamically. 04
(c) What is Constructor? Explain copy constructor with example. 07
OR
(a) Write a C++ program to add two complex numbers using friend function. 07
Q.3 (a) Differentiate Call by value and Call by reference. 03
(b) Describe inline function with example. 04
(c) Define operator overloading. Write a program to overload unary plus and unary minus operators. 07
OR
(a) Describe Multiple and Hybrid inheritance. 03
(b) Explain Manipulator with example 04
(c) Write a C++ Program to demonstrate virtual function. 07
Q.4 (a) Differentiate static and dynamic binding. 03
(b) Explain scope resolution operator with example. 04
(c) Enlist types of inheritance and explain any one in detail with proper programming example 07
OR
(a) Explain this pointer. 03
(b) Explain tellg, tellp, seekg, seekp. 04
(c) Design a class media having data member’s title and publication. Derive a class book having a member to store number of pages in the book. Derive another class cd having a member to store the playing time. Define functions to read and display the data in the base class. Over-ride the same in both of the derived classes. 07
Q.5 (a) Justify statement “Constructor name is a same name as class name.” 03
(b) Define STL. Enlist Core components of STL. 04
(c) Explain try, catch, and throw with suitable example. 07
OR
(a) What is the need of preprocessor directive #include and why? 03
(b) Explain Map container with example. 04
(c) Why templates are used in programming? Explain with proper example. 07

Date: 16/12/2019

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

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