Oops

  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Oops as PDF for free.

More details

  • Words: 230
  • Pages: 2
543 B. E. Vth Semester Computer Science Examination OBJECT ORIENTED PROGRAMMING Paper-IT -30 lC Time allowed: 3 hours

Maximum Marks: 100 -----------------.--=-: .. _ ..... _____________ u

Note: Attempt any five questions.

1.

(a) Differentiate between the following by giving examples of each: (i)

OOP and procedure oriented Prog.

(ii) Classes and objects.

7 x 2 = 14

(b) Discuss Grady Booch approach. 2.

6

(a) Discuss the complete structure of ac/C++. Program. 1 0 (b) Discuss scope of variables giving example of each. 10

3.

(a) Write a program which define a in-line function to multiplv two integers and d0uhle<:.

II )

(b) Wril<: shon note on dynamic creation and destruction of objects. 4.

10

Writ.e a program which calls a function power ( ) which uses the concept of overloading

III

find the square and cubeof

integer and 003r arguments. Explain overloading functions. 543-500--P-2--()-R (04)

2 0 P.T.O.

(2) 5.

6.

Write short notes on the followings: (i) Pure virtual ~unctions

7

(ii) Overloading inherited memher function

7

(iii) Dynamic binding.

6

Declare the singly-linked-list class and write its member fl!nctinn<.: Tn

in,ert and remove the element in a list. (!\1ake

necessary assumptions). 20 7.

Write a program to overload operator «, » for string

class. 8.

(a)

20 Write a program to implement generic stack using macro.

(b)

543-500

Explain class templates giving examples.

1 0 10

Related Documents

Oops
May 2020 30
Oops
December 2019 49
Oops
November 2019 42
Oops]
November 2019 25
Oops
July 2020 13
Oops!
November 2019 25