0% found this document useful (0 votes)
27 views14 pages

Oosd Notes

The document discusses the implementation of Object Modeling Techniques (OMT) and the comparison between Structured Analysis and Design (SA/SD) and Object-Oriented Design (OOD). It highlights the complexity of OMT, the phases of System Design, and various programming concepts such as overloading, inheritance, encapsulation, and type casting in C++. Additionally, it emphasizes the importance of object-oriented principles in software development for creating efficient and maintainable systems.

Uploaded by

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

Oosd Notes

The document discusses the implementation of Object Modeling Techniques (OMT) and the comparison between Structured Analysis and Design (SA/SD) and Object-Oriented Design (OOD). It highlights the complexity of OMT, the phases of System Design, and various programming concepts such as overloading, inheritance, encapsulation, and type casting in C++. Additionally, it emphasizes the importance of object-oriented principles in software development for creating efficient and maintainable systems.

Uploaded by

harendra tomar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 14
+ SAIsD os way mee tar to Implement wm it pecs On the development of Object model Secton-¢, 5° - we ; h a} sp omT analysts & . N ; gia Cyuet od elling Technrue a Ce on both SQ way a4 crounal implernenting progam veal- worl lata & Uound the atgoritim pro Liam + pradur * * SAISD ase mere © OMT ae Seen as Vunsable . Len Aewakle than SAIS + SA/SD an tomparativaly * omT 1S ew ccaneed Celveuveed then the 4 fos on objet - class omr and funchon Adochontlup > Obyeet Medelling Technique tend +o have more Complex implementation oe to dnt reurability Q complex design . “SA [ on Me devtgn or OMT ° SA] SD works on the somT due to having devrelefement ef complex oliegrung high — perpormanee Heehaiquer 15 linuteot program lk ncluctes tn eas ef workin in the fos —& interaction interaction % vanious Sf objects objec together . Gh Sa |sD SD . System cunalyes * Jackson . focus on the cenelofoment fecus Analysis of the mee om mappeng Peogiam £ System ths progtams te defence! to make it Acal- worl problem more eggiuent - Statemonk . + System" olesign focus * TSD is meant for Providing the venséatile SA] SD ISD : S smplerndadion of range 04 dlifining the : desea sytem sleaign cege Bony geen Systern— cleawgn — cxserdes . nai Prego « on 4he principle of be at at divide 2 % Isp is +o provicle eat function | progrem to Ho fees on te tackle reat- world pooblem. making the : " TSR has a good as its bats approach in Keeping System Hengs .& SA|SD ae eosin + JSD ane complex to implement as in ams — of vnelerstanding Compared + Tsp. RK Acusabitity 2 het ee lumited scope . tt has two tutto © TSD has Hhtee Phases Coherien. C grouping of modelling pare, specicotion Objeok) & coping Cinteraction phase and amplomentation between dhe abjects) phos - + Overloactin 2 Overtoadin, * Overloaclin fe o@ lyp« of poly meyplurm, That allours wir me name for He funeton but lifferent parameter ¢ Is clone in “same Class has different prrameld His atte called Compile - time L OwrLoacling . Overloncling mee ROL Spene different olate type, numton 4 Overuroting -————____ 7 . cuentcling is another tebe pelymenphurm that allows uals Same name | function but dapined in different ° Cee ts clone Uuing — oliffenent classes ° OvoUudding can have same elt ts abo catled Mn- Hme. : OWericling > 7 + OweMmioling — follouts the Conecpt of Inhexritenee . parameters # include < ioshxam > using namespace std 5 class AS clap adel (deuhls x, doable y)$ Atm ee a &- ? int add Cint % ; nt y)s Aetim xy 5 3 void main) $ Crete KING, Cout << aad(l-§ , 10.2); 23 Seat << adel Ci, 2); uipud ~~ 1.9 3 @ propam to ewertoal Y +” tt inclucle Ueuig namespace Stel %, Void main ¢ ) $ # Include using Namuspau std 5 cla AE Vord cusplay €) § Cout << "bay 3 3 Clas BA S$ void altiplay ¢) § Cont << “adenine class) &- clos "5 main C)§ ©) > displayc) C)> display C) Void Aisi bie Bec = 3 Noupot - Base tax 7 cbnined class | -. Epenecto r = Cout << “ Helly 2 4 Ward” ; Mere wsed fir contat rae, he Sty he Hoe wed for addition wy SecHon - AL ou! =~ Swope serelution opuratoy is use to clofcne tre S Stope of felonbifien « H- hetps to incenge-- the seeuily D Acduee “He chances oY Mmeduscing Valuable objects 4 tunetio Te helps te limit the = eeu - \ dee cbs Late Birdlit + Late Bindling 3 ts alto seen, In Inhenitenee y Cohen pele gtk veulue “oy implementa, when objed gets prem denived class. Value finn \ibaxe ' Sle clas * Denived clan is * Ra class help ee eee aaa in ely binding . cacy \ Ww w& Abstraction ist clonk ashen one has to ec the -punctionality % a data - for e9-. a car has a Cot 6 speeds, but User do not = have O prep. — kuourlddge of how ft IS ne rMplementeo - : Encapsulation 18 — anotir featire of OO thot = Nides the valu of datg 2 Korps data Intide data 1 for eg - capsule usd in medlicine . \ W is) cot _by value 2 Call by refermer ft s cau by value is 0 tye 9f function a type of functren Calling — asherr value Value wf is not poreol % we porametr fc (néteod its volun |f paste + charge in value con't ow t Changes In vol of change the actuag Ponameten is also Value implemented In Acal ahi value , WS we Finclude eateption . Type casting can Shorter range Ponpe value . . Tyre Costing Can automaticalty or 2 Impucit Tybecasting + Implicit Typecarting by faa compiler be done = fo Comat Value +o fange weenag be dene eithar ma nuveliy 5 = fs done curtommortica ly , at compile - time CJ - Hinelude < fosheam> wing rarmnuspaas “el ; Verd main )§ inka = 5, int b = 10; double C = a+b; Cout Lung oa amg Udy ved main () § mt Q =15; deuble € = (doubk) a ;\- Cout << Cj op - 45.0 wd (0) MOc 70 function Moeso ont wseol ! 7D cleftne the function that pepvides high range Of Stppe . Debugging ef mace sfunetion is har +t can be conte lusting #depine Keyword * Maceo function au clepencol — outilele the class & lo hot hove used projam + » IE can in 4ne Inline function Intnt funehon one Used — to olefine the sfunction that We defini in one line only Dobtaga ng. Indune is aseey. Compara ely lt ts asec J “ints ” reyesond Inline punch use eM one Unt) Code Hat hetps in ale baeg ing time & spoce Ht wn be in Uimited Cer reo Swope “g- H olefine ADD OLY): KEY, # indude 1 sy . Wath namestacr ste ; ~ using nownespece Ld; Int maint J§ inline int cade (ny)i ed 3 wee es voicl main lout < adel (5,4) 5 ofp - 9 fe or- 9 L we Uo Object - oriented concepts can kee tmplemented — uning — en Bbj eet” eriented Vaslous poctages for eg - elanguages » Tt includes Fechniquer Like Len, ) mnoclules ) functions . In CC Aanguage , that is not On Object onentec! Hanguage , con olefine Sut in CC +that “4 fo olefeine various Sypet Of clifouns but ae allows data ie ana eee ert tee Poresen to pointer fuacton eqg- Shuetwre ss ¢ Wnt cs Clouble bC) ; Str cy u Stutune IS Coltetion 0% nom hemogenous bron ene data shrvelrx coe tie L wy % | coA Cobject ovierted = analysts) is proceolune OF clegining Software enppocoung Fre Stftwone System Acquiremends & dusemibing tusing System = Soffrwane Object mocks —-Fuat Computes of interacting moclels . cn. ( of He Pryam + lt inclucls ro that 0 usr has althine fo moxie te elt ena Oo te rmodel * Gbject Omented — chextgn uhocats focus On we clenclofarint of Me progtam * OO~A Inckudes — organi ang 2 clesen'bng mroolels , qunctions and tied interottiOn ° 00D wherers — wots on tae implernentalron Of object Models jn 6th a way Hal Weds help He Prrgiamn to tackle a hag pobormance Problem & to have a vutiatility in easing (ty = making ths Pecyam = rebutt , extensible 2 FteeLta bus oon % OOD both an Aclateol As One Include aman tus 4 cloveLofpmuons ,

You might also like