Loyola College B.Sc. Computer Science April 2012 Object Oriented Programming With C++ Question Paper PDF Download

LOYOLA COLLEGE (AUTONOMOUS), CHENNAI – 600 034

B.Sc. DEGREE EXAMINATION – COMPUTER SCIENCE

THIRD SEMESTER – APRIL 2012

CS 3502 – OBJECT ORIENTED PROGRAMMING WITH C++

 

 

 

Date : 24-04-2012              Dept. No.                                        Max. : 100 Marks

Time : 9:00 – 12:00

 

        PART- A                                                  

Answer all the questions:                                                                                          (10×2=20 Marks)

 

  1. Define Friend function.
  2. List out the C++ tokens.
  3. What is a constructor?
  4. What is the use of Dynamic constructor?
  5. Differentiate overloading and overriding.
  6. Define pointers.
  7. What is a stream class?
  8. Give the use of input and output stream.
  9. Define class template.
  10. List out the Keyword used for handling exceptions.

 

PART-B

Answer all the questions:                                                                                           (5×8=40 marks)

 

  1. a) Benefits of object oriented programming.

(or)

  1. b) Explain pure virtual function with example.

 

  1. a) Write a C++ program to find the area of rectangle & square using constructor and

           destructor.

(or)

  1. b) Write about Multiple constructors with an example.

 

  1. a) Explain about various types of inheritance with suitable example.

(or)

  1. b) Explain the use of ‘This’ pointer with an example.

 

  1. a) Explain about I/O stream classes in C++.

(or)

  1. b) Discuss about the various modes a file can be opened in C++.

 

  1. a) Explain about Function templates.

(or)

  1. b) Write a C++ program using function template to find the maximum among two number in

          integer, float & double.

 

PART-C                                                                  

Answer any TWO questions:                                                                                   (2×20=40 Marks)

 

  1. a) Explain the basic concepts of object oriented programming language in detail.
  2. b) Write a C++ program to calculate the Fibonacci series using class.

 

  1. a) Explain the types of constructor with an example.
  2. b) Write a C++ program to calculate the net pay using constructor & destructor.

 

  1. a) Explain in detail about exception handling with suitable example.
  2. b) Explain class templates with an example.

 

 

 

Go To Main Page

Latest Govt Job & Exam Updates:

View Full List ...

© Copyright Entrance India - Engineering and Medical Entrance Exams in India | Website Maintained by Firewall Firm - IT Monteur