This download link is referred from the post: PTU B.Tech Question Papers 2020 March (All Branches)
Roll No. HEEEEEEEEEE Total No. of Pages : 02
Total No. of Questions : 09
--- Content provided by FirstRanker.com ---
B.Tech.(IT) (2018 Batch) (Sem.-3)
OBJECT ORIENTED PROGRAMMING
Subject Code : BTIT-302-18
M.Code : 76392
Time : 3 Hrs. Max. Marks : 60
--- Content provided by FirstRanker.com ---
INSTRUCTIONS 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.
SECTION-A
--- Content provided by FirstRanker.com ---
- Answer briefly :
- What is the use of copy constructors?
- What is the use of default constructors?
- Why are classes in CPP called Abstract Data Types?
- What is a virtual class?
- What is a friend functions?
- How are structures different from a class?
- What is meant by dynamic initialization of a variable?
- What are the advantages of polymorphism?
- What are the advantages of scope resolutor?
- Explain the difference between abstraction & data hiding.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
SECTION-B
- Write a program to copy the content of a data file to another file.
- How are Constructors invoked in derived classes? What is a parameterised constructors?
- How does a compiler proceed to execute an overloaded operator?
- What are virtual functions & virtual constructors? Give relevant examples to explain.
- How are friend functions different from member functions of a class? What is the difference between derivation & friendship?
--- Content provided by FirstRanker.com ---
SECTION-C
- What do you understand by inheritance? What are the different types of inheritance?
- Write a program in C++ to overload the +, -, operator to find the addition, subtraction, of strings.
- Why is it necessary for constructors to know the order to declaration in base class while destructors need not know the same? What actually happens when a destructor is invoked?
--- Content provided by FirstRanker.com ---
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 Question Papers 2020 March (All Branches)