×
FOCUS ON THE DESTINATION NOT THE DIFFICULTIES
--Your friends at LectureNotes
Close

Previous Year Exam Questions of Object Oriented Programming Using Cpp of bput - OOP by Bput Toppers

  • Object Oriented Programming Using Cpp - OOP
  • 2018
  • PYQ
  • Biju Patnaik University of Technology Rourkela Odisha - BPUT
  • Electronics and Communication Engineering
  • B.Tech
  • 2913 Views
  • 75 Offline Downloads
  • Uploaded 1 year ago
0 User(s)
Download PDFOrder Printed Copy

Share it with your friends

Leave your Comments

Text from page-1

Registration No : Total Number of Pages : 02 B.Tech. BECS2212 4th Semester Back Examination 2017-18 C++ AND OBJECT ORIENTED PROGRAMMING BRANCH : AEIE, ECE, EIE, ETC, IEE, MANUFAC Time : 3 Hours Max Marks : 70 Q.CODE : C582 Answer Question No.1 which is compulsory and any five from the rest. The figures in the right hand margin indicate marks. Answer all parts of a question at a place. Q1 Q2 Q3 Q4 Q5 Answer the following questions : (2 x 10) a) What is encapsulation? b) What are the advantages of inline function? c) What are the advantages and disadvantages of inheritance? d) What are the principles of function overloading? e) What is abstract class? Mention its advantages. f) What is constructor? Write the characteristics of constructor. g) What is the different between Template class and Class template? h) What is exception in c++? Mention different types of exception. i) Write the use of virtual Destructor. j) Differentiate between “has a relationship” and “kind of relationship” in c++. a) Differentiate between C and C++ programs? Illustrate with sample programs? (5) b) Differentiate among Pass by value, pass by reference and pass by address with the help of a suitable program? (5) a) What is operator overloading? Explain binary operator overloading with an example. (5) b) Write a C++ Program to demonstrate the usage of static data member and static member function? (5) a) Write a C++ Program to copy the contents of one object into another using copy constructor? (5) b) What do you mean by object slicing? Explain with an example. (5) a) What is dynamic binding? What are the rules for virtual functions? (5) b) Write a program to allocate memory to store 3 integers. Use new and delete operators for allocating and deallocating memory. Initialize and display the values. (5)

Text from page-2

Q6 a) Explain the procedure to catch multiple exceptions thrown from a single try block with a suitable example? (5) b) Write a c++ Program to add two integers, two floats and two complex numbers using class templates? (5) Q7 Define inheritance? Explain different types of inheritance with suitable example? (10) Q8 Write short answer on any TWO : a) Namespace b) Function prototyping c) Constructor overloading d) virtual base class (5 x 2)

Lecture Notes