Cse3 Oops Dec09

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Roll No.

Total No. of Questions: 091 5rltaAl,otts4yu.torn [TotalNo. of Pages: 02


tr.u""q.r.u.
B.Tech. (Sem. -"3'o)
OBJECT ORTENTEDPROGRAMMING USING C++
SUBJECTCODE :CS-252
PaperID : [.4.0304]
[Note: Pleasefill subjectcodeand paperID on OMRI

Time ; 03 Hours Maximum Marks : 60


Instructionto Candidates:
1) Section- A is Compulsory.
2) AttemptanyFour questionsfrom Section- B.
3) Attemptany Two questionsfrom Section- C.

i
Section- A

QI) (10x2:20)

^) Whatis a Functionoverloading?

b) What do you mean by operandand operators?

c) What is an Abstract class?

d) What are destructors?

e) :il/hatis Function overriding?

0 What are InpuVOutput streamin C++?

g) Speciff the stepsto developand executea program.

h) What is type casting?

r) What are user defined data types?

j) What are generic functions?

J-s4s[812e1 P,TO,
Section- B
(4x5-20)

Q2) Listandexplaindifferentdatafpesusedin C++.

Q3) Illustratethe conceptof arrayswith the help of a program.

Qa) Whatis the benefitof usingfunctions?Illustratedifferentwaysof passing


argumentsto functionsin C#.

Q5) How a friendfunctionis differentthanmemberfunction?

Q6) Describedifferentfile openingmodesin C++.

Section- C
(2x10-20)

Q7) CompareStructuredandObjectOrientedProgrammingwith the help of suitable


examples.

QS) a) Discussthe conceptof genericclasses.


b) Write a programto createthe copy of a file in C++.

Q9) Discussthe conceptof memorymanagementin C++. Explain the conceptof


dynamicmemory managementwith the help of suitableexamples.

++++

J-54s 2

You might also like