This document contains instructions for an exam on C++ concepts. It is divided into 4 sections with 5 sub-questions each. Students must answer any 4 sub-questions from each section for a total of 16 questions. The exam is worth 80 marks and will be converted to the student's program structure marks. It covers topics such as classes and objects, destructors, memory allocation, algorithms, virtual functions, polymorphism, friend functions, constants, constructors, operator overloading, and dynamic memory allocation.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
124 views2 pages
CMP505 - Data Structure Using C++ - 3
This document contains instructions for an exam on C++ concepts. It is divided into 4 sections with 5 sub-questions each. Students must answer any 4 sub-questions from each section for a total of 16 questions. The exam is worth 80 marks and will be converted to the student's program structure marks. It covers topics such as classes and objects, destructors, memory allocation, algorithms, virtual functions, polymorphism, friend functions, constants, constructors, operator overloading, and dynamic memory allocation.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2
D04/P30/P32/T60/CMP203/EE/20170524
Time : 3 Hours Marks : 80
Instructions : 1. All Questions are Compulsory. 2. Each Sub-question carry 5 marks. 3. Each Sub-question should be answered between 75 to 100 words. Write every questions answer on separate page. 4. Question paper of 80 Marks, it will be converted in to your programme structure marks.
1. Solve any four sub-questions.
a) Define Class and Object. 5 b) Define Destructors. 5 c) Differentiate the static and dynamic memory allocation. 5 d) Explain the structure in C++. 5 e) What is Algorithm? 5
2. Solve any four sub-questions.
a) Explain the Virtual Function. 5 b) What is Run Time polymorphism? 5 c) What is Friend Function? 5 d) What is Constants? 5 e) Explain This pointer and its uses. 5
3. Solve any four sub-questions.
a) List and explain the types of Constructors? 5 b) What is Binary Search? 5 c) What is Exception? Give the examples of exceptions occurred in C++. 5 d) Explain Operator Overloading. 5 e) Explain the Destructors? Why we use Destructors. 5
4. Solve any four sub-questions. a) What is malloc() function? 5 b) What is Function Overloading? 5 c) What is Polymorphism? List the types of polymorphism. 5 d) What is Dynamic Memory Allocation? 5 e) List the disadvantages of procedural language. 5