Download PTU B-Tech AR-Automation-And-Robotics 2020 Dec 4th Sem 63015 Object Oriented Programming Using C++ Question Paper

Download PTU (I.K.Gujral Punjab Technical University (IKGPTU)) B-Tech (Bachelor of Technology) (AR)- Automation-And-Robotics 2020 December 4th Sem 63015 Object Oriented Programming Using C++ Previous Question Paper

Roll No.
Total No. of Pages : 02
Total No. of Questions : 18
B.Tech.(Automa tion & Robotics) (2012 & Onwards) (Sem.?4)
OBJECT ORIENTED PROGRAMMING USING C++
Subject Code : BTCS-305
M.Code : 63015
Time : 3 Hrs. Max. Marks : 60
INST RUCT ION TO CANDIDAT ES :
1 .
SECT ION-A is COMPULSORY cons is ting of TEN questions carrying TWO marks
each.
2 .
SECT ION-B c ontains F IVE questions c arrying FIVE marks eac h and s tud ents
have to atte mpt ANY FOUR questio ns.
3 .
SECT ION-C contains THREE questions carrying T EN marks e ach and s tudents
have to atte mpt ANY TWO questions .
SECTION-A
Answer briefly :
1.
What is console input/output in C++?
2.
Define abstract class?
3.
Discuss the encapsulation in C++?
4.
What are ios functions and flags?
5.
Give example of manipulators?
6.
Discuss concept of type conversion?
7.
What are container classes?
8.
Define overriding function?
9.
Discuss memory leakage in C++?
10. Write a short note on rethrowing exception?
1 | M - 6 3 0 1 5
( S 2 ) - 7 5 5

SECTION-B
11. Describe the steps of declaration and initialization of pointers? List few pointer related
problems?
12. Discuss various conditional and iterative statements in object oriented programming?
13. What is typecasting? What are explicit and implicit type conversions?
14. Explain the need of virtual function with the help of suitable example?
15. What is Inheritance? Discuss the concept of object composition and delegation?
SECTION-C
16. Write a program in C++ that checks whether the given string is palindrome or not?
17. What is operator overloading? Write the syntax of overloading operator ++?
18. What are class templates C++? Explain the error handling functions supported in C++?
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.
2 | M - 6 3 0 1 5
( S 2 ) - 7 5 5

This post was last modified on 13 February 2021