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

LOYOLA COLLEGE (AUTONOMOUS), CHENNAI – 600 034

B.Sc. DEGREE EXAMINATION – COMPUTER SCIENCE

THIRD SEMESTER – NOVEMBER 2012

CS 3502 – OBJECT ORIENTED PROGRAMMING WITH C++

 

 

 

Date : 02/11/2012             Dept. No.                                        Max. : 100 Marks

Time : 9:00 – 12:00

 

PART – A

 

Answer ALL questions:                                                                                        (10 x 2 = 20 marks)

 

  1. What is object-oriented programming?
  2. List the keywords associated with exception handling.
  3. What do you mean by virtual function?
  4. Define Constructor.
  5. What is friend function.
  6. List the different file opening modes in C++.
  7. Define Exception handling.
  8. Define Polymorphism.
  9. List any four formatted I/O operations in C++.
  10. What is the use of seekg() and tellg() functions?

 

PART – B

 

Answer ALL questions:                                                                                  (5 x 8 = 40 marks)

 

  1. a) Explain the use of inline functions with an example.

(OR)

  1. b) Explain about static member functions.

 

  1. a) List out the rules of overloading operators.

(OR)

  1. b) Write about multilevel inheritance in detail.

 

  1. a) Compare the member functions and constructors.

(OR)

  1. b) Explain the differences between constructors and destructors.

 

  1. a) Explain the Exception handling in C++.

(OR)

  1. b) Explain virtual base classes.

 

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

(OR)

  1. b) Write a C++ program to sort n numbers using templates.

 

PART – C

 

Answer any TWO questions:                                                                              (2 x 20 = 40 marks)

 

  1. Explain the Control structures in C++.

 

  1. a) Write about constructors in derived classes.

 

  1. b) Explain operator overloading with an example.

 

  1. a) Explain object oriented features in detail.

 

  1. b) Explain the different types of error occur in file processing.

 

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