This download link is referred from the post: PTU B.Tech 4th Semester Last 10 Years 2009-2019 Previous Question Papers|| Punjab Technical University
Firstranker's choice - FirstRanker.com
Roll No.
Total No. of Pages : 02
--- Content provided by FirstRanker.com ---
Total No. of Questions : 09
B.Tech.(Automation & Robotics) (2011 & Onwards) (Sem.-4)
OBJECT ORIENTED PROGRAMMING USING C++
Subject Code : BTCS-305
M.Code: 63015
--- Content provided by FirstRanker.com ---
Time: 3 Hrs.
Max. Marks : 60
INSTRUCTION TO CANDIDATES :
- SECTION-A is COMPULSORY consisting of TEN questions carrying TWO marks each.
- SECTION-B contains FIVE questions carrying FIVE marks each and students have to attempt ANY FOUR questions.
- SECTION-C contains THREE questions carrying TEN marks each and students have to attempt ANY TWO questions.
--- Content provided by FirstRanker.com ---
SECTION-A
- Answer briefly :
- Give the comparison of C and C++ with examples.
- Discuss function prototyping, with an example.
- What are advantages of function overriding?
- Define 'this' pointer.
- What is meant by type conversion?
- What is a scope resolution operator?
- Discuss derived class pointers.
- List some of the rules for operator overloading.
- What is the use of strrev() function?
- What is pure virtual function?
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
SECTION-B
- Write a C++ program to count the number of objects of a certain class.
- Explain the steps of any one searching technique.
- What is function overloading? Write an example using C++ to illustrate the concept of function overloading.
- What is a friend class? Why is it required? Explain with an example.
- What are constructors? How are they different from member functions?
--- Content provided by FirstRanker.com ---
SECTION-C
--- Content provided by FirstRanker.com ---
- Explain public, private and protected access specifier and show their visibility when they are declared in Inheritance?
- What is the use of operator overloading? Write a program to overload post and pre increment operators.
- What are static data members? Explain with an example the use of static data members.
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.
--- Content provided by FirstRanker.com ---
This download link is referred from the post: PTU B.Tech 4th Semester Last 10 Years 2009-2019 Previous Question Papers|| Punjab Technical University