How To Exam?

a knowledge trading engine...


Punjab Technical University 2006 M.C.A OBJECT ORIENTED PROGRAMMING IN C++ - Question Paper

Tuesday, 16 April 2013 02:25Web

M.C.A. DEGREE exam OBJECT ORIENTED PROGRAMMING IN C++ ques. Paper


OBJECT ORIENTED PROGRAMMING IN C++

Time: 3 hours maximum: 100marks

PART A ans all ques. (8x5=40 marks)

1. (a) How are data and function organized in an object oriented programming
language? Or (b). Differentiate ranging from dynamic binding and static binding.

2. (a) What is an object and how objects can be described in C++? Or (b) how do you
invoke a constructor function? discuss with example.

3. (a) discuss with example, the concept of overloading unary operators. Or (b) what is
the scope rules governing the function overloading?

4. (a) discuss about reference arguments and default arguments. Or (b) discuss virtual
member function with suitable example.

5. (a) define the different file mode operations. Or (b) what is a stream? explain the
different forms of get () functions supported by the input stream.

6. (a) discuss “this pointer” with a suitable example. Or (b) What is file mode?
define the different file mode choices available in C++.

7. (a) What is search tree? Or (b) what is a object? elaborate the desirable qualities of an
object?

8. (a) discuss how would you create space for an array of objects using pointers. Or (b)
discuss how sequential input and output operations are done on files in C++.

PART B ans ALL ques. (5x12=60 marks)

9. (a) discuss with example, how is the data hiding and data encapsulation implemented
in object oriented languages. Or (b) discuss how is polymorphism used during software
designing phase.

10. (a) How is data learn in and learn out in Binary file? List the advantages and
disadvantages of using binary file with examples. Or discuss the physical organization
of classes in C++ system

11. (a) What is the scope and lifetime of an object? How is it inter linked with Destructor
functions? What is the necessary to have destructors in classes? Or (b) discuss with
example, the concept of binary overloading and list the rules for overloading operators

12. (a). What is inheritance? define the hierarchical and hybrid inheritance with
example. Or (b) In what order are the class constructors called when a derived class
object is created? discuss with examples.

13. (a) What is a virtual function? Why do we need virtual function in OOPS? Or (b)
briefly explain on the design of super fast spelling checker.


( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Punjab Technical University 2006 M.C.A OBJECT ORIENTED PROGRAMMING IN C++ - Question Paper