This download link is referred from the post: GTU BE/B.Tech 2018 Winter Question Papers || Gujarat Technological University
GUJARAT TECHNOLOGICAL UNIVERSITY
BE - SEMESTER-1V (NEW) EXAMINATION - WINTER 2018
--- Content provided by FirstRanker.com ---
Subject Code:2142005 Date:12/12/2018Subject Name:Programming Methodology using C++
Time: 02:30 PM TO 05:00 PM Total Marks: 70
Instructions:
- Attempt all questions.
- Make suitable assumptions wherever necessary.
- Figures to the right indicate full marks.
--- Content provided by FirstRanker.com ---
Q.1 (a) Define the Following: [03]
- Scope Resolution Operator
- cout and cin
- <iostream.h>
--- Content provided by FirstRanker.com ---
(b) List down applications of OOP. [04]
(c) Explain features of Object Oriented Programming. [07]
Q.2 (a) Explain Inline Function with example. [03]
(b) Explain new operator. Also explain advantages of new operator over malloc(). [04]
--- Content provided by FirstRanker.com ---
(c) Explain Function Overloading with example. [07]
OR
(c) Explain Friend function with example. [07]
Q.3 (a) Differentiate: OOP and POP. [03]
(b) Explain any two types of Constructor with example. [04]
--- Content provided by FirstRanker.com ---
(c) Explain Unary Operator Overloading with example. [07]
OR
Q.3 (a) Explain destructor with example. [03]
(b) Explain macro with example. [04]
(c) Explain Binary Operator Overloading with example. [07]
--- Content provided by FirstRanker.com ---
Q.4 (a) Explain βthisβ pointer with example. [03]
(b) Explain virtual base class in detail. [04]
(c) What is Inheritance? Explain any two types of inheritance with example. [07]
OR
Q.4 (a) Explain pure virtual function with example. [03]
--- Content provided by FirstRanker.com ---
(b) Explain Private, Public and Protected in detail. [04]
(c) Explain type conversion with example. [07]
Q.5 (a) Give the usage of ios class. [03]
(b) Explain call by reference function with suitable example. [04]
(c) Why templates are used in programming? Explain with proper example. [07]
--- Content provided by FirstRanker.com ---
OR
Q.5 (a) Explain Manipulators in detail. [03]
(b) What is class hierarchy? Explain with example. [04]
(c) Define exception. Explain C++ exception handling mechanism with example. [07]
--- Content provided by FirstRanker.com ---
This download link is referred from the post: GTU BE/B.Tech 2018 Winter Question Papers || Gujarat Technological University
--- Content provided by FirstRanker.com ---