Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
15 views19 pages

UE208085 Rishabh OOP Using CPP

Oops exam sheet

Uploaded by

Rishabh Verma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views19 pages

UE208085 Rishabh OOP Using CPP

Oops exam sheet

Uploaded by

Rishabh Verma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 19

20

To befilled by the Candidate with his /her own handwriting.


1.) Examination(Class) : B6 TLnol
Sem 204 Roll No.(infigures):UEa63035
2.)Subject: a k ORieme eeota Roll No. (inwords): U two QaLQ eigdt
ekOusa aiy ivExamination(Class):B¬ I A gom
3.)Pape (683o) Subject: OF i *
4.)Option: Nie_
5.)Medium: _Lnalk SubjectCode: TC b Paper: c 26 (6830)
6.)Date:1 Tuy 2011 Option:Ni
7.) Total No. of ShectsUsed: ExamCode: QU

Evaluation: Candidates should not write in this section


CODE NO. (To be allotted by theEvaluator)_ IDNO.
Q1 Q2. Q3 Q4 Q5. Q6. Q7. Q8.
Q9 _Q10 Q11. Q12. Q13. Q14. Q15.
Total Marks infigures:
Q16..
Name and Signature of the Evaluator
Total Marks in words:

START WRITING YOUR ANSWERS BELOW


rny 1()
u us motmal dpacice do doclas a Qumoh on ivudlo ho bose

CCass anm 9eoloine n ddei ved classo. soNes 0


aceleldos. Suclumchbn oe Calhed d-meina2
wmchion Suc AunchOvs ase callbd pue vihal umcibng.
in hae
PABe VIhal umeh n jsa umehidn do clsod
B
CWass a ag mo
oloinah 0n adahve to bese cos.
doivea elo22
rD
90dane He Qunth on in e
asuiw O un
A t a umeiom ay a i

Vithal 64d diBpay ( O


Foenampe

Cass Tet

pblic
puse Vittal funth m

vitkual oid Abo ) 0;

mmdas

1:
(b) Cshak cko ase SnNOeeA a b do dleuen 0rde. i-e
The ass clasg Con&ucko Jg invoha s t and on
The ge.aneMAT dOuved cloas ComgRuclO
xela(2
ocoke st Oo-3 to

An Case
Mahplo andnasijawce, ay anveleed
09u un 4e Rd
un w

0e nwgPed eRAte men- viual bose Clasg

MReG inkeitanes
O Clas B pulic A A base enoliucko
Bt), dsianed
Cemutko

R s A pulic B, pulbic C) base ( i a )


CA) hee Locemd

9) Rdlinasuy base
A) Jori vea

Bs (c) 3n e * + R e Comapt R o m e p i sm d umplomon e l

ing Ove VEaola) OPakAg amd Quneh om. Te ovea QOade d


m@mlaok Qumehon 0o0 gAXOched ps in Vsking bymachi

p e amd mum bos. Ti inRmahOn Js ensusn do


Osrmnk, be
e ompi lok as Cempieamn

2eme di ms , appopuale mAmle Csulsbe Roocel


poam il uunnug. Tuil i CaIod Run ime t y mespli8m
umcim is invGPed. Sinee ee Qamoh@n inhes e a
paCuRa coesg much Rale a e Ke Cem piah en, *s
pecos Js eSumeel as a se Joivdi . & also Pneu a3

dmami ending becoune o 2eachGn ta appRo pRiale


Qunchem J deno 2gi0g
dnamuCa0ly a um hme i LAe

Re Oeace OmdViekua eumchen


e 7
aneud< iRLam
mameRpAO td
Clas Bosc

public
NiuQ void Aauo)Cout 66 m Loso \m?; 1

Wass Deu vLd puli Base

puie
Neid gguo () Cwut m Desi ved \n? t

n t main (Veid)
bp new Daived

bP

udpu : es.
SmDeuv
Bng 1(a)
Eae& l e a s tuwo assoeiatedl onexs Pnsum as he e
poiners. The hu aiGteem peinkets ae

G) input ger paiwCL)


t p u k peinte put psinte)
ese Pomteis do eve RILUah dee ile le
SeLadin S ti ting Te inpuf peink is used Ac suading e

Ceniens 0 a gien umch om and &e u t e peink iS


Eao t
vem Ai lecah n .
me
Jused Go wid ne o a

m unput u P p u t @pOah on Jako ac, 4e abpOpAUalR


do move e
i n t e i& autemai Ca0u aUamees. The umei @n
amd k p)
&ne (e) ukpPut
Ped YeQLow

duo numeai amd 0ot 20sG Re t by 3

eivast dD mulh pluing A2"

2x

ns 3 uNIT- )
o b o pAm
OoP R s g0eal en
(a) Thepi nes pal ao Naiage ake
oRosi gno amd
u

e Cam imi naue sedumdant Cedl


i) Taeugh unkau tanaa ,

e pAeqaam mau
(i) The puineiple elaa udung Jalps
do ui 32R m&dat Cammsk
peojAm& be

kD Co- emst ustgut Gmynlaaamee

Smals osaR

IoRkeRm
ERema L tmg Mur impls

CupRoruty Cam he Co mamagp


Viii) U am dau ldpaoamg o m de &lemdiod GURivg
meoelu Res a Cemmuwmu ake

Ts osl do
%oio dOnaloemant Hme amd

(ix) J pesasiRe bmap Jn deo deublc domas'm

Sem
p a m mi na
data akA am pbtodukQ
Emplasis is n
)
aoa
mmass

V)umCtions dias Gpaae


n &e daa am oeet aae
dalo &uokuka.
i codeqeRak jn &he

y Fanesishs skat oyasatt n


a l dloao an slkjeat
u) Dah is
D a h is idon @m anmet so ecosesl lau

enenaR uneiem
ects may Csmmumi
k wn lacl aRa tiusaA
Goac
wnchen8
tam
ViNeuw dalo nd uneiOns Can dae eoiy ddeol
e e mecsiay.
fsRss oetten- up appkodel in ptogam dlaqign
Nit)

s
n s 2 (6) aeasam t a Banai ng ttm

+inelude i63ttan
wng mamapace sd

Class amk

deula aalamca
Plic
ank )
balamQ O.0

Void Depeit ( deudle menoy)

oalane t mena
BeQance CAck)
Veid widrawal (dsuL mena4)

a baRamee menoy
Csut Not neug vmemy m geu aocsuns

BalamauChockRO

balamce - = my

Balam Ce Cnask C)

Veid baQamee Cuck 0


Cout * \ n The balamee un ueut accsunt Js' 2 4 balamea'

t main )

Cat Banl2i Syiiem e m ;


Bam B

olo

Csut 44 1- Qepeit Mene 2 nol R


Wiaawa Money L< end
L G 3-'Badanas C&nekL4 emd
Csuut & 6 \n cQooAe 2 , 3 ) . "
Snt Cite

cRsuble memay
Gn caito
Suide (cl.eica)

Case

Cin mema
.DepSAi tmemey)
9beak

Cin mOmly
.idaaus al (mernRu)

Ca 3
B.alameaC&aak )
bR0ak

dleßanot
3
Csutd \ n \ n ant do go again ? CY/N)
in >) osa,

eminal o
Lamaiwu m Pig0.a
. upsit Men
witdrawal Mona
DaRames CaciR
Chorsse CVal3)1
m e am&unt 12000

e halame

W&mk to go again CYIN) y


. 2p t Nemoy

CAaree/2/3)*
n t a ameumt a433a

Tha
Wamtto go n ? CYiN) N

s3 CUNET - I)
asgumens muat he peovidiel h
i)eauo uneion
uung eOoam mi
in gumeki en
u a m masu
eic8k a a lenamt Jalus Gol eat bt
daliHi@n .

Con he oviddlam 6 ptovida.

) Deakk aqumandt m u t b a SiemoAt un QQ


w Cannef
mAnS dn a Runeim alinai@)
O
dalau Valul do a hari Culas um@mt
pouia &
un tte mield0 o Gm gument
Fe naumplo
ink (ink t, intj 6, int 1o); I Cnga
int mu int i 5 , ine i ); 1liltaa
in muQine O,i 1 int K 10) 1 0l0ga0.
e pOAam sk am am bi qweu uah@n usig dljaO

Gwnchon 0ument iwe is

incQudo 160am
JuA v amaspde tdl,
dnt gwm u a, int b, int O, {nk d 6

9ooun + o tC+ d), 1

J ntb, sAs C , m t do
8wmin a
e A m (tbt C+)

main
main )

enodll, -O
gwm (G,4)4
Csut
eml
Csk 2
m (G,9, 11) L4

22 Onal
Ceut & 8um (1o,15, 25, 30)
a a nO

nnd Emamp

Aim mamasparskd

un Void n (inta, mt b)
a s n Catb) ; 1
Vaid
iel a0
m in a, unt b, 'm C- )
m atbt c)

n t maun C)

Cou L (4,a) L emdlj -


Cent c n 1 2 , 3) 24 nd0

cosas
tualin
Omb neus i cain
bge Caa
uO àn
Cam't aloci ed utscd ove CasodAs
C m p i l a de

wmohCn o invelee.

ng 3 wmit- )
@n ei clas uee
opaato umeh
peri a Cosk as
aususn
Tws u l
.
O u e e Cemv N
a c a s s memdaas
must be
n lumehm
Cenvess

ama paca 2

Clors C ge

CeRlsge ) i}
Opeatsq JntC)
euan e 3

dn main ()

CsLL OiC3ro)
u'nt

01. &s pRay ()

be ovSNDadod ag
The Assign menA Opsake Cam'
a

(oves.soud ) ass

Mence wtam ut ig ovooasded osa sOndGunehin,


opaaokoe s C a a i n g ambr uitu
0igmment)

dhs S CUNIT T )
am am bigidy teat
(a) The duamond poblam

md a O indis Amd C. tsm we


Ant R am me dha olass in &e sama
a0Rone hae closses P.gal1s)
olsi vod Clasy amel

COs Roec@me waladalo do tte div@a a s

So it becomes umcloas do de arived elass,wteA


vOu@m o Supe pascant R o s t slsuld
lase a
9eler do. Tus amo gui da e n Gccus i n
muk pe indai lene. To comove Hus @mbiguid,

Cepy o i g t a n c e e bose Cloy s


ess is dnbe'e by gaamd CiQ dasive
COs. t ig imploment bu e paeGiou'n o Vigkua

Craamd
Paem

meto
alke

cLed
The poam A Re ame is
22oalb4
COass sampas
pulolic
gLamd pasent 0

66 ase a Gamd pawnks11 2 enel


Csutc we

amdpOem
CRass QaHasi viual aulie

pulic'

COass msks vihal Jpualic Aand parant

Csd m@kas)

Ceut 3am a Meske l< enll

Clos cdA: puA a R , pulIoliemoda.

pulblic
Ciglab 19)

Jn mein C

A
owan O,

Teumima
weoe Cand parenk
Im e ak
am e meRo

Bs 5C Umit 1 )
1 potam do Calcula 4e he avesage a 0 0 Re
b)
elomemt i n &unahon demplate.is.

t jneQude iOLAaam)
usina namespaca2

eomRaR CloAT
deulle aeage Tat3,int i
dLsula wm O
o.C int - o; ie s i ; i+)
gwm +2 a[uj
Sum/eulua) uize
n main 0

u'nt
unieges L , 2,3, 4 7
ds i n deulolas L]
s.1, 6.a, 6.1,5.5

Csu ee Ava doulslay 4NaeOAdousinkr7 toouslad,1


2
avuaa< doulse? doulbles, u) ,
3
eumi na
unt a.5
Avg. &
deuQQa 5.3
Ang6 CUnit -I)
(
Usin Mamaspara

puie.
VGd display () Ceuk 4 * \n Dig pRa saae,

3
CRasg Deuived; pulie Bas>
eAgdiasl
JPuDaic
Ved &igpla Cout 24 G6\m Dptay doived; ?
Veid 8kaw C)
Csut G m Qow

ine main )

D Vel D
Base* bpie

pins d&o ae n
Ccsau< o6n b
bp B
Cal L a e vOu en
bp diepla )
bpi s u C)

eived n??
.

m \ bpP peinB do
Ceu2

bp D
bp de play C)
D a i e vaxuG
bp
> 0susCO, / Ca Q0s

9oum O

ueu*
Qi3pRa b a e

ghe b@Se

bp peins o Deived.
Rha (18)
anived

Bs 6Cb) CUut- I)
tt wcludlo Jeoam

amapaco

J'nh main 0)

o8HLam a FiaL. Lnt, ies app );

s am
S S, sa

Cn 4:

Cn >

:laa. CO )
&&2. Csse T);
o nO FRo 1. t
M Ame j8S

Gukput

S Vema mam d
ha NOma

You might also like