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

Go To Main Page

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

LOYOLA COLLEGE (AUTONOMOUS), CHENNAI – 600 034

NA 02

 

B.Sc. DEGREE EXAMINATION – COMPUTER SCIENCE

THIRD SEMESTER – November 2008

CS 3502 – OBJECT ORIENTED PROGRAMMING WITH C++

 

 

 

Date : 06-11-08                                    Dept. No.                                                          Max. : 100 Marks

Time : 9:00 – 12:00

Part – A

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

 

  1. What is the use of a static data member?
  2. Define an object.
  3. What is meant by pure virtual functions?
  4. Write the syntax of template.
  5. What is meant by Inheritance?
  6. List the operators that cannot be overloaded.
  7. Mention the use of Scope resolution operator.
  8. Define Polymorphism.
  9. What is the purpose of using catch statement?
  10. What are the types of templates?

 

Part – B

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

 

  1. (a) Distinguish between Class and Structure.

(or)

(b) Analyse the following code with respect to syntax and semantics:

Class C

{

intx; const int y; public: C(int a, int b)

{x=a; y=b}

};

  1. (a) What are copy constructors and explain their need? Compare copy constructor and operator

function=() by defining a string class with these functions.

(or)

(b) (i) When copy constructors are available why we require to overload=operator

in C++? Give an example.

(ii) Whether assignment operator is over loadable with friend function? Justify.

 

  1. (a)  (i)  Distinguish between early binding and late binding.

(ii)  Explain how dynamic binding has been implemented in C++ with a program segment.

(or)

(b) What are the various parameter passing mechanisms supported by C++? Explain with

example.

 

  1. (a) If a derived class is to contain the public and protected members if its base class as protected

members, which access specifier must be used?

(or)

(b) Why is it important to ‘inline’ only small functions?

  1. (a) Explain function prototype with example.

(or)

(b) Explain user defined exceptions with example.

Part – C

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

 

  1. (a) Write a program to simulate a banking system in which the initial balance, acc_no, acc_type,

cust_name are read from keyboard. Provide the following methods.

  1. To make a deposit
  2. To withdraw an amount
  • To know the balance

 

(b) Give the syntax of hierarchical inheritance.

 

  1. (a) What are the rules for overloading operators?

 

(or)

 

(b) Design an object oriented system for a Student Information System.

 

  1. (a) Explain class Templates and its types with example.

 

(or)

(b) With appropriate examples, Compare procedural, object oriented and Generic programming.

 

Go To Main Page

 

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

LOYOLA COLLEGE (AUTONOMOUS), CHENNAI – 600 034

   B.Sc. DEGREE EXAMINATION – COMPUTER SCIENCE

THIRD SEMESTER – NOVEMBER 2010

CS 3502 – OBJECT ORIENTED PROGRAMMING WITH C++

 

 

 

Date : 30-10-10                     Dept. No.                                                 Max. : 100 Marks

Time : 9:00 – 12:00

PART – A

 

Answer ALL the Questions                                                                                       (10 x 2 = 20 marks)

 

  1. What is meant by Data encapsulation?
  2. What are friend functions?
  3. Define Class.
  4. Define Destructor.
  5. What is operator overloading?
  6. Define virtual function.
  7. Write the use Input Stream and Output Stream.
  8. What are streams?
  9. Define Templates.
  10. Define asynchronous exceptions.

 

PART – B

 

Answer ALL the Questions                                                                                                (5 x 8 = 40 marks)

 

  1. a) Explain about Inline functions with suitable example.

(Or)

  1. b) Explain Control Structures in C++ with suitable examples.

 

  1. a) Explain the concept of Dynamic Constructor with a sample program.

(Or)

  1.       b) Explain Constructor with Default arguments with a sample program.

 

  1. a) Explain inheritance and its types with an example.

(Or)

  1. b) Explain the concept of polymorphism with an example.

 

  1. a) Explain about the unformatted I/O Operation.

(Or)

  1. b) Explain File stream operations in C++.

 

  1. a) Write a short notes on Class Templates with an example.

(Or)

  1.       b) Explain the concept of Catching Mechanism.

PART – C

 

Answer any TWO  Questions                                                                                           (2 x 20 = 40 marks)

 

  1. a) Explain the concepts of OOPS in detail.                         (10 marks)

 

  1. b) Explain in detail about the constructor and destructor with sample program.            (10 marks)

 

 

 

  1. a) Describe in detail about Operator overloading with an example. (10 marks)

 

 

  1. b) Explain in detail about the formatted console I/O operations. (10 marks)

 

  1.       a). Explain in detail about Function Templates with a sample C++ program.                   (10marks)

 

  1. b) Explain in detail about Exception handling with suitable examples. (10marks)

 

 

 

Go To Main Page

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

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

 

 

 

 

 

 

 

 

 

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