You are on page 1of 35
AJAY KUMAR GARG ENGINEERING COLLEGE Department of Information Technology a (Model Solutions) Session: 20.2.3.- 20.2. Exam Type : ST1/ ST2/ PUT/ UT ICS V.... Subject Name: DBTECT. QUEM TED... Subj 2 Subject Name: SAE OPER TED Subject Code Year Semester : .. Faculty Name Department Prepared By SE GALINTYA...1e: PANDEY, \e- (Faculty Name) (Signature) Reviewed By cBitanesaSnidber ... A Ake (Faculty Name) (Signature) an (Prof. Rahul Sharma) HoD, IT Defartrrev of, Soformadaos Tehnslopy. © Pee Univenity Test olution Course ! ste Rey. Semesten: cae sectiont: (7, CSIT Sibfeers Oljudl oniechd syste Der, Cede * keSosy a Te Marks *° too SEssiens + 2023-24 (ADD SEMesTEn) Sectisu - A Crox2) Qt Define Alihod the toda id Dee OUpsbact Cw 6 ? bres beof 4 auotter claat fas: dr woleahat Ubas One Met bo ned bed to cute objet. Atsiaa Ch & ae) y he. witig thes ef i oe os y 7 ss = Ohesaibte Ore Chess oe dened. Yas, hat anu csskact cle | ” Quotur Chis Os Obj: Ho gut let greed me ys ork ae te : Qesi fo an a Yass ol 3 ote Chrser Oe. Define 4 enecoicly pres ot & a Procens Hat Allows @ Hi er & SERIE oe wi ay - aliffereud chal tytes oes a athens type deb fap stewpplele < “yperace 1 > ® T mghee Tm Tg) ont ial u D add eth Cxry)? My . 1 Mewhoyed Code : ag aon [int oe, Int GJ Ahn Gog y «yg; Cout << Hee (3,4) << endl; Cowl << trgMew (char ( ao te! )ecbodl} 3 4 Int Maat) Choe riper Chat x, Ceeg) Aurore rg)? ng es Gtebie ‘toler sth rs te fet ite s a4 Peal ota ha i” Oe Os: Daye e cue igen FA Tes 7 Our Draw & Ait eat cl: all event id 10 9 td OT Scoiteh OM fa Dye Le be Geant EE Ainihen coser obj be Aedes roo. chan. Ste 4 Lrotterauf preeens on fog ete eG Aimilesbo ovong Clerses votile Preseurt The Genershisihion A gL AEE UMS bshicn va reap lemeuited In odred evicted Lomagerp with the Contofl y Use Triple € Square Clers (ev Digperactiate — oebrtec Deeded ye O00 Feradigm. Bred net : ee ee hey gn Procecluueel , Pro Din oOPA, ~The pe oy b olivided Into Anal faite Avicled into Srvalt Pats Called pence Chl oGyech @s foloes a Teh down — |(st fellas Iyathora -tup Appsoa cls rogchs Gy “There > mw Dicer g1 405 4 Bheoge © Akepe Mm Procedarel (ice Povete ee > reming polled ete. f) —Trete Sms toh. |\® + provieles lets Ming a the lata so “fen Seem - a4 eo ie ie is iG 4 St Code ai, Oe eel Pee Ga Dae Cee Seu wen. Wad the EB a Valu Azer avd Apy2 Where = 60. dus A free ¢ pe atlew bon Cheat ene frerends ‘ Than AAA PA OP ae ae te LA lel e Thiw Gre EG biteie oper tort hth are aud Perferer Litwhse opetetens dst Cet As 1% } >> 1 e # lee sup |) be AYE A= bo 128 64 Se lope ¢u pp ope EUS! Oo oO Peo? oo tbe Wher wor Perform A<- Moher of BI pyhen cdo we We si Pyokecled v Isidethe (Va chen pa Uws Vee ag jo Peolecled Kequord a speeges ‘Gliens +0 : Med gibs Apcuipier The, prrvecte Cus “Apeuper ina Lae et bes aed Conkids oy th bid there om Little Sea ypc ON Shee aa meres o@ Proleeted tron Can be On Ly 7 Tae ible Cre ot ae a Ltebon @ On bs aw derived Class Go ot. vw (Abuse dud Cant be aceerssed by 5 Now Mew ret trchins Bo. Defi Comthuelor White Prafries Wf Conabneclos 7 ea A bre dnretot wa menherr fivvcbien ey —— a ls polu ih Prinabizer of O46" Chis an Cathal Qutomatirell, When Olyed cxekle 44 de shot 41 @ coh? — Merrbe : “¢ Pej tose a has orem aA ipself . ob ud cone lly polo olject » Hered p 4p donot Rave wae w “Sedum -B ou) ae e7) ? Ey dn fla Pet Sool Qual (rflitance ng onl tag” A Modells an ahshactiiv oot td, «the Perpos of Uhbutcds a bea i a. b d Inpro Madeltig: (C) © jt fermits a * Specfey oe Abrebere ay Lehauiowr e@ tena. a) St you +2 Visualine oyckw 2 gt peur a template Heat gl we rs levadrictt a as ( Mt +0 Undesdtand Qmplex disk Pare P ak PofaciPles 4 Neoddbli 4 : The Ate models wit fiptlhtt the mest w Cute? OM forclap med pebbles. Ahog eae will piislead an oy gon “to fetes om Maprluerl Iesues ' we Use oc pes allestans fox forego lee 2 etl | | Reacvemests 1+ > Sees [SystevShechns |» Class Ala pce Consponest wu I I | | I Sylow Behaionm | L___Sepuenes eth uhty E ae A State Nie The best model Connected ~to Selite t = Lert model om be exbrexeed at cli Se SD ape Hei ga Te aie G@) No Biges made bs hyphal. Debs List ald budldip Glock of van. cate oe mires lig ets ioe nas £ Cleon Magen Ba! oie aed fos a eT pe 0 renerel Per se odelliey is j' “ne ‘ua gf ym Cte oleffne ¢ Kordlsrd, ww, +o Vikuelize Ale Ape bas care Tes gu a Vike Leuguage mot a Progserent df haga e ; —Thiga ’ “Thtugs Can he j 4 nm he Viewed Ota Gung eS —— — Cartatntnp Ver : ; a i ays) ipo, Veuttces Ate DE ‘sadld ly ; @e « pr UML, Heed v wg A the eget Q4e oephree ae Gy Ape 5 U P Chwetusal th : iD _ Stuetavsal " gs Cnipines ; ( if vm = Sates Pat Lis Clas , “Wreteaf-ree _o Wlaheratlou ete. ¢ farsniarwe _| a +) - I< oy © duds bre Nauees (Une case: ® Pebavioral Things ' (Verbs of UML - aly reemric frst Sr ae on Lyracnie Aspeds 4 eo oe Ay foxes: Jutersibiois Chiegsam , Ae oo. 2 a ens © fees (og anizaponal frat)... A Gewf Pfr pen fe Oe: nt ne nv Vie onic Cuca pe — Pruceze dst | IB! Dernenstet he differed ae fa hus a wity ther Oras pelabionships use) s nvtations with hulp 4 a chs agen Lvs Relations Function ——_ Z ; A duvipron of a ~ Aésod ation Anseng fnslances yf cles DePend. A Helitionship benocon ne two model eee a Se Ganatantie [op ny ers chesiipPion’, Lesed) dhe b . RelaHonship hebieers a Rebization Ahecipiabion Lee ols - Senplementabion Usage A Situation ty while One clement ; — Prrohuypin Phrore? DE wren DED , Darker Dickorary | Saedke Trew unhion Ciao ark ER dicgram, — Dexicnn Prose 1 styache Conk, Prerdo Code Prraheyrit Clowes Saka Plow Diaspom » LAA DED wrodel dercribe Row te dada plow Meron. Sree KY ROW. — Boke Pichorey © The conkent Mok 98 WAKE nay Pron DED dy Aosenbod an tre don dictionary , Saka Dichiorevy defines He Data sek and Anois weler Wrenn jl — fale Trommition Dieqien'. OR Binilay to © he. dt,» £ ‘ia A wd Dasiqnn Choke |, Sdracturt Clas, Prewto Cade, Tick Anak + TR « created by te DED, ehyncdaye Cont speuhee Cow DED 4 PrOUMeR ore aorowped an ko faye awd alloute to cpu's —~ Peed Cade - Predrol onplandnbion of He Y : Byres . aie). ve Ch) Compare Object Oriented ° ‘ wo SPusie> TYpiced Sucture Sb Proud _oyiensed Creep AL Maan Pregptan a ana Lenk | Euntivenrs] ; =! f wa ws \Retiens] Leedterg] (Rectand) TH protien~ of dade ok function an ebject- BrienkdA Preqremwivg, are: objed 2A -objed B Comparison Proceduxe - Oviewk dl Coasmnwrics| eject Oviade dt Oroqevrwniey > Gmphouwrs dy on daing HKG [> Emprany ondoda abaya tno a _ fsetthes Kren proudurt . > Lege Oreqgan are divider sito > progres core. Aivithes! Brats Prempro: Kron AE avto Whe one Known ay FEemntions . . cs objec. > Mond oh He fmciows slawe > Daler es oflereD datar. \ Ack ke, @ Dako 24 Cidden and comma oe eae. a ere wy apsemal Buncioy, Dela move opevly ‘ Rh “ epowendl Ee wy ttort Roof 7 OL aed Conner Bumndieon bo func , fumcliong _ > Pndiiowt bromo |S news dada avd fmchew ancklrer « macersany . > Employ top dow | Foo, bathan- ABP TOA sin Prgms hesnt “atsroas Sin Le allie \A (a) Explain Dive Grnction, Wrikeacale t B differentiate pebween Dive Cunghonr 2 Macro. SD A. online fanhion 4 afinction ed Zee ay an Vine When a 2 dnuelead. That ACen piley feacheer veplacer He Bacher coll wall. tle cormepperdivg function code (ponestlring Biniblex ko maces enpawtion). The snline function ane Aetired as Pollo, ae include 4 doshtam Sirbing Rood ww lfloat wy, Cloak 4 refer ON ® 3), But weet CD < Plot aS (2-348, ftoot to = 9925 cout 2a mvlOa, bd 5 yen 95 Jo Didference petweern The Rechion ond Macro : s Ss yee Nol IWR \ Mecyo Aw RnR Rinckion fA | Whrereoe thre wracrs bofiwad by tre inbive are defied bg fe ovlive w®intrre : Soe “pie Hedehe macro name oe anlive function code rites iddhcae =, Breed, Define Cre wage A Frond Pendiion ince P vide ~ Pro AA CKE BO Sanphowed Lyi Seep eA 2 Feinanch Solution yy, wee Know) WoF che trvale wmewborn wre Te accesyeal 1 ‘Frown ovnide Be clea, Trot vy nonnncalony non wrembiy Puncher Cannel trae own arceess fo Ite ervede dota sf acdoass, Howeres thexe could ne a gikuotion When we would Like Rus classes $0 whore «a partiodtar ie OW Tn Kran sitsrodionnr, CrP aos Secret to wade trendy aHn a Cee chegyer, thereby alownivg Ste Function ko rose acces $0 He eprvate dota WY tree Sesh, Sude co RuncBion weed na be © Wwremloer O ang SE Krone CLesser - Te male wtride funddion Prandsy "Lo achoss we anne oe es Aechaxre trix Prion 24 a feted Hy He class 2% how pelowns! Chess PoC { pukec : eed, void nyz Wwoid): [|dakanehion a Following Program Bomonndsede baw Friend Punchow Wotlk 4g alridge belweer He chaser »-— Ar anclicle ciextreaw> cheesy Pe [[Cowrexd Be dlonchion . cDass XYZ aut n; Public : void cekvrale (ing OD dC nz as} friend void WOKON ZL, O&OD5 43 Chesy AGC Suk a; iO.4 oid welvrales (int 1) 2 1 Keend voidh wox (ayZ, Ad Thay, poankes CA) Arey % ebjech . So i THA Pornks 4- a —_— CRE Wet 2 UMlane Keyword caWedk rig Ho separ om jet nak Guveleg A wrewmbur Pertion « hig ax a points that poinds fo te obied for INA Hay Pumdiion war old . Thi wmigue powder de aewahertly payed fo a WMamber Function Ulron of U coll Tee pointer @ mMewmlsr Ferber. considle He felloirg pintle Secrwmtle + CRoek Poe ant as THe evivadte vrewinte a” cor be WRead diyedly arside a wrewmerer on, LKQ AtN23 \ale Comalzo we the Pollowing staterevt do de He Sone yoo + nn e S 123) YD Betihond For 42123, we Army Mojeety 5 Pr awey Toone vi oan dokn $4 pe . Siornbecthg, we con ral axe SF tle type alypo Pore Ww Ham cde, SUR vanuyle, Ave cwbhed o wy abjecky. rome as tmPployce Un~wy vowel 29 Plook ae, ewbhic + oe oid gebdabacucid): @® yoidk purdotacverdy) Ms - The sdonh her ewplo a4 a Wier defined dod ond oe Ct a ee objedt teat salode So Aifferord codtaonier Or tte 2—ployer, Lwpolyee WOrrogen Cag Haren vy Wremmager ewployte fosewrom (ISD; ff any Sh Popewren employee wotdes TFSI: [Haney ve wookces | The anny mower cortnint three ebjeds (erawagerd) romney 1 WOW erToD, WMAGALII arch wrornager(2) Vr fhe ewabloyer Chars , Q WC) Wrike a cre code to demonshte Mubfilerel Trbentemnce Witn Privek dodo wremiaene . \ y SPE // single bape LLam chore K 4 Pubic: Bet i, gut ged C Ey Privake + ant an ger OD) dnt Kv gel m0) 4 te telum nj | an Kies Gel V2.0 t vetum n25 J] Lrtermedidt rare chars claw Y > prhlic YX 4 public » avt 4b ius yh—-y Ls Pprodected : aut das dnt ael—Yo O)2 aut Y qty t TIM YI 5 2 bak yy. Od t ween Yr5 5 /{ Derwed Mors zy choy Ze pubic ¥ { by. dunk won? t ZOOS Obie 195 koe |] Ob. nw, 210 > Nod possible com NM ce Ketter ob 4, > 20, Od2e nn, di"22 abn: aot oo fay Sie vie sehumn o ; J Qo) Disows viehead Parction How 15 4 diftred theta, fore virbad frwrchion 2, Unlnide a eroquen an Cee foe ak. 6D Oly wrote refers to He oroherts by vshath F obj ad Jo diserent ! ol. Here wee wis Ke pewker te bane clots jo va fer $o of the heaved objects. Gul, ~ bare pointes ever lve of ty mada to cantnin te add rou 4 a dove less, alive epeater He gee The Connie pi Tqrors U< cant O te pointer ard Arov nex the varrbor Banchion Hod waters tte ayfpe we Hee poinks + How dowe Hen ochiwe polynerBeipw 2 LEM arlinnd wing whet £1 know aL Viyduod fumchonw yivdred Function . iy ee oe at Mee pane, Pao Hones gn bolt. pg emer eed ee Funnion im bape SB At deckoved as vivdnad, Cee efemarimer intra, pres ~ Panchion 24 worde vivtral) 9g CHE, debernninn BY WIA to use nen ~ bryed antes Dye ae posnked ko bg the bape poindes, robtor Hem A tHe po poe Uy ankinn ee pete painter to pord te Dilfered et weer! We tom enecrte di ferent vork ion vt tre Virdnod Quinckion. tre fern pee Winter | Retion 7 Hh include 2 dogtreamd — bake pric : void digplag 0) < cout 22." pigplog bane’, 3 virdval void glow is Bi Chass pevived » public Bane Public +. void dighlay v) cout 22" \,Dinploy Perived bot 22 "Show tage! ; 3 Void ghow 2 a Lot LL" Shas Pevived” 7 aut wreum C) hoe R- Dervved DO: Boxe xbptr; brly £65 aS bpdy > Qispley >: pyly 2 grow od MEME Boge Verpion 1) Cola hake version phy = 2D; bpiv 3 Wisbloy o> [1 Coll bore Vers jor ppts 2 pho 02; 7) Cody Revived verg ior, vetem 0; 7 Pare Virkanl Prenebion 3 Lib womnal Praehie fo doclare RD hanthion vidual anxide the bage clots k yedlefive it in tHe devived classet , The frrchion dnp idle tee bane lets ie poldom ged for performreng ony Lee . Bb enka sewed A om placeholder Suc fumrction ave cabled “do-nobting” frnchoves . A" do-netuirs ” twihon word he defined ar + viydwal void dipplag 0) > 5 sudan Eunchiours ave colled pare vivdnal tundian. pe pure vivgwal fuwhen 20 abmion declared én a bape Class Het bo no definition yelotve fe tte bane cles . GY (a) Define Leke binding dearly birding? BP Migs tekwigane 2+ used bo dm] Early Od Lage birding. an pabgmnortls sea ?. Explrin an nef mitt grormnple , Ms Early winding, os 6fetic bnihing or phertic Links Ze Wee Srodt ow oly ect 2 bowd +0 a? Se Pethon cl at campile diwe , thir y algo ee) Te Nhe Hire palmar, Cox Eonulh vy Polywrorblignnr it in| Tee? Kre overloodod Prnction Apeyehorr overlorded wearer Pamction are pelected” Fe invoking by wrablhing aveneds “pater ad Memon, TEAL infemnation at kwon fo fhe Combhey at He compile Snre and drerefore, compiler RR able fo pelk the appropriate Pinchon for 4 Pankiculas coll of che Compile tire atyel$ PDMS boy anne Poarmnor wigs L = Cunchion Cpuator Vine ed would we mee if Hee abproipriate wrewwaes ‘ = could be pelecked rile He presen 4 Tunney TRL uu Bown o4 van Re pobpwottthinnn, Thay Db known at runt fiwe polyols: How contd mnie 2. cee pepborts a wrechowopn room at Vi FumcBton fo achieve yun Hye Polymorttign (Mefer obove Haart). At rem Bere, when af AB enown wWhok class etjecky are conpideyation, the abpropnate Wygpion St Khe fumction 24 imuoted, Since Me fomihion js Virkeed wrath a payhivuber Soars wrval. (49) Joter afher comnblodion Sag Prous 24 Jered oy lode bivdiva LR by alpo row OF Brpracanic brivdivg becampp ate wellection Jy Aeprep nies femndion 4 dowe dupramnicallg ad nen hn ee Thuy reapricer the uge vy prulns geo abet. The Obseie poindere md vivirad Penton ave uged to avnlphon no doyprownrdeg modig Cony bag + BN WS phen RPE, nore stem cL a Som ord ny on chjed Aekinrad Bo toe vt bYPe few piv cs aM F Similarly we Com dehive pewter phe wy oybe iStn ah aloove . i 2. pointes phe a4 OM fradiaed with the addleets 4% dHe wrowneeyr Rumnction ono bg Roe Speriter otk tealebsed, od oonadteer Wy wereg dhe anos Operekr owd tle object pointes 1 (v9 Di ere ave overloadi-g, ond overriding, Wy VA program FO overtoed ebeantor ASL FYNetioN ovauAin Fy NeTION OVELLUDING "2S Sienanding Ba hed > proofing weeded Wher tHe powt fumciien fey to dorwaved § function fay Aijerenthy depending wren | fo do powe difered job ee aes Hem, \Uon the mane class Ration, > LE Provider wnbhiphe debinibed> 20 UY $e vedebini cree tench ey lesen | oy bane Clas fomnch on a wed Mn Y 3) : 9 devs chets Attn gov’ epadue B\Gueduac , 2 Pra Rromple 4 combile > AW exownlle vp rem Lire se Pe EO i belanaetehas > Fonction BGradurey _ ; Brould ioe different Fe oe ae br ved >A frmaction hos Me 1S A function cam be ovenlen a to Load wuthple aly a Rign pivdle Hey WEA > In french omvloodivg, ss In Penchon overridli We Aow# need wrtovi wae Fe aad ow toa” Conupr , 42 dog ireomD> Ss G A KO 4 Y \ : (Bloat rend , fod img) bag cheratos — Cooma) | void dypelay Wedd ; —— een aF drcluole ¢ SoptreamD chars wm int a, b, Lo eublic : ved dnpat word); vord show (void): Prend mun Ohactos Lad , ne); ys Void now tt anpd UO Cin spa rb se ed | Sad vw tt show VU couk £2 A Sob CeO eed, ele sete ees * nun Jew 5 demip as An Ba 5 Sewer bo = bo — Feb; dewp.c = =e 2.

You might also like