Docsity

Operating Systems : Introduction to Operating Systems, Study notes of Computer science

Partial preview of the text

Download Operating Systems : Introduction to Operating Systems and more Study notes Computer science in PDF only on Docsity!

Lee OS) Operotting System 4 3 iA A eusterm, softinare that memnages computer hardware and softinere. resoerces- Acts as an Wwrterface hetween tser and hardware. Provides services like pracess pnanagement memory management Bile handling pand “devin contral AE. zal \afinclous, Linux, Mac Os, Pndroid and iOs. Einctions of as: texymination of processes ement: handles creation scheduling and. ‘ i Memon, Management allorates and managea RBM fox xrunning progyams: if-| File Memnagement: Manages Files and Aixertories,s Including reading puniting an and access control. (Rd 0 Security ond Protection : Protects system datn fom Unautnoized access USiing parswordas & pexmission » dg lUsex Snteytace.: Pwvides Cit and Gui te interrack with the Sater. comment dine graphtcal uaer Mic MEET ATE Secondan Soin Management: organizes data on hed disks and manaqes Storage Space. 2 OF OS: |Bakch OS ‘LM ulti- Progra mmed OS iielclime Slhared OS Multiprocessor OS | Distvibuted OS Mi: Real-Time OS Vale ir}Mobile OS Batch Opera ti ng System: Leo AJ Tt is an opexcti ng _sustem there fobs are Hi] { | din sey batch haxts - progvcams, and cleta that are combined into OQ .cingle unit.” ii-| Users submit therr foks to the computer opermb*bnr Inateadt of rs nning them directly onthe computer. The operator opreLyps similar jobs Cato ) batches hased “mn their type cor neeol. The eperating System processen these batches! Lining the aad (Etat Cavan Foat Serve) method. VE Once _a__jnh stayts yrunnina pthere yp no urer ‘ interaction during ibs execution pond the unrex | vecoive, the output only after the fd i { complete - ( ce . Advantanes: “Tncreaaer CPU e tficienciy hy y-aunning Johs continuously. , oO Ni * Handles large arnthis Ofsimilar, Nill | Disadwa nitages:+ DifMicult to T tind and fx errs | . No interaction rs passi ble uth the uner Hast program execution. Job 4 ? Bokch o Job 2 Operating Batch Sustem CPU Job n HK Batch 2f | Multiprocesse/ Multipyncessiag Operating System: iH (T+ tran opercding sugheny “think Aaa bud ox more proce.ssexs -he tun rol ple processes at the Same. time. processes Simrutta neo uly. hie ria operating system condrinla -hyo mr more CPs that “Wwooark ee fn the game. syuatem. Tt asstons clifferent tasks +o differant CPs, so rnultiple +aaks xin at the came time: pertprmance- ~ Feyeamnabia. Mauulitp ocesairg (ome: Pl) pkcastas cone equal ond work traether. Acuramebric Mirlinpypces.sing (Amy): One main pmcessar control the dipthorn and other processors 407k under Jd tts conto) +o complete taraks- Mit ‘Better performance an wore ia sheared. Disadvantages'« More expensive neecla roultiple CPlis- ‘Large racin memory is_mequired chui K Main Memory ePu 2 i K K N7 Zo Processors I/O Processors rN Lfo Units HO units — gh | Time ~ sharing 2 Dpevattng System: _ : OT At fs an Ohera bing iystens where mani, User can LAAC the Computer Staoltaneniisyy by Shaxing UlEach user gots a small time slice( cabled cuinel of cpu Lime. Pe i Menu Users connect to the system using “terminals a Tne CPLt sinitzhes quickly natieteuel jobs, = each Liaer| feelxn bike Hey ave uding He system diveottiy, g Niel Tt nen Rotind Rehin scheduling, twwohore exces} jal gets a fixed lime slice. 4 alge a fob la_not Sintshod inih time siico tk tats in the ALiewe Aor Ub noxt +n. Mil Advanteigen': Manu vader can LAL Sistem ack te samo Uma: * cpus, Lirned eWicienthy urthout stauing idle conhe Nite Disadvantages: Becomoa slaw Uy tea many Used are * More complex tto Manage. User3 User 4 KT ee St NI UG xe Y (Active State) (D \ A No User 4 User 6 CReaoly State ) Af xe Real-Time Operating Sustem CRTOS): types Ee er oT —0 Tt is an operctting sider that prcAce Sse data and gives ate ustin’n a_txed “Lime Soni. vo Tt ix tdeal tor tarks dat must he completed on-time. 006 AML ° Ne ha . RTOs Campletes each tas within a dixed Jime linatk, Tr unex fast tark Switching and Quickly, moves aliays handled Pr.t- Pam one, tak --o anotperx Lot tneuct claday and _aiveng ° immecdiate output. oo wa a Foss reavorine +imn. “Ver valine and eScient - want Disadvantkiges: Complex and expensive to butlef «nlvecds more_memnory and -yerourros. ‘x. There ang two Ayyper: - Hard RT System : ; boske must he completed nest. a Pixed tyme limit ox the sustem Parle. Led 1 ° o d meclical olerfcces cane! ofrorakt contro! systems. -|SoPt RT Sustem:tagks should he. cemaplatal torn ime. wk smal delays are allowed. Ulaed tn video ream ng rn gaming and onbine banking ; Man-made Inghrumentetion Irievface Real-time. Conbrlled dpewator Ccompuser Object Syste Mobile Operating Suetem (Andywicl QS) * 4 At _is an aperciting Byshern that controls Smartphones amd -bablets. g . Android OS is +he. mast popular motile operating. system, developed loys Google. wee q phone hardware and asothuare W. {Yo runs motile cops handles calls, messages, camera, and other functions. ; Ns Prpes are meSniu written in Taw or Kotlin : gprooarammina Sanquade.. : . 10% 0d ° . F Feo run multiple ans rt ine Same time. ‘ Mi Pdvantages:+ tree ‘enti open=souree ' . Y Nii |G isadvrantn gos Leas Secure as tt is Cpenssonyee. *S\ows dnwn when ‘catculing mndre apps. y . —7 Shasing System: vd a = 3 Pareumeter | Rec time Ste) Thme - shaving System P 1-|Definttro n A systern Anat auns 4asis|Paystemn Yhat shares Pu | Within g thick Here limit time among many Udsexs ; ‘tt focus Finishing toaks on [Fost Sultching \pehweon ‘ time tisey Caaks - \4 \a fit- Time.) fentt Shick Hlexible ; r IVA Regponee time Feat ane fixed Faat hut not Lived. is wv Scheduling Pioriby —hased Round Rebin Mi Accuracy Moye accurate bece acciarate _| vil: Complexity Mone complex lors Com plex ‘ii. Lage Used fin exittical custems | Used in genercil = Chealthrave, ebense) purpose systems tx_| Process One application at |Manu applications Handling. a time. at the same Hme. x. | Failure Delay couses system Deleuy Causes cl ower Impact | Pailure performance - AR |Command line Bored OS* TIT is anas where user “type -bext Commands to perform _taaka. E Te has a teyt-haaed terface usith no araphical! elements: ee ie a DOS and UNTxX. —____\v._J ‘as aalee.. Ne ° Sale. “ta Opernte the sustem. we Tt Ta vem fast and uses less memory. MA: Muiltitaskiag is limited oxy not availiable To older Systems like. Dos. rim D eat omm G Met 4 a i A -2R rel TI OLN) HOG ay D mooth\uy amie! NATOMWa Ys “fy ecictes pork qptickly nv isadvantages: © Difficu)t 2 nNeys. 9 Ner iser—mend wait J ATt tan OS which allowus tisere +o tyteract with the computer thud, graphics icons and windows. -|Tk uses a gqraphica | fhterfnce operateal uttith a morse an keyboaval. Eo Wivnclows Linux and MacOS. Cy systems cre easy for beginners because Hey wii aie GUT Rasedl 06: i i ‘ oy K cle ne eg iui re memorizing commancla. vy. These sistems cre Slouer Ehan cammarnc-line eustems Ybut are more visually anealing and a. go Uf! d Posier to use - VE Advantages: cacy to use Ld teat tleax Vite Disadvantages: Tun Slo edly on weak haycluare kd nead yore Memory, . Witte Supports multitasking bu allowing users to apen multiple Windows artal appliiationa.. DoS (otek Operating Sustem)* Comp utters $. It ts a simple command= \fne_ hased OS useal in early , reer _ ; ; ; _ ©lFeatures: | ‘f-1 Tr ts a single-user operatna suatem. oo > ° dg, ' J TESOUN CRS, —__\\+| % ‘Vitel Tk allouss fre: access to hardiuare usitnout protection amr reatyicttons. MelTE has. a wer, Pont boot-up time since it loads only e.csentt pomg rims Tntp memory ©|Stoicture: Application Progreun Resident System Programs MS-DOS device drivers ROM BIOS dewice drivers mo : Application Progra nn Crop Layer)”. sh ~cuns user programs like cames or word PI esstHt: ese programs ask the Su trem to clo tanaka [? ke File Yeadina ox printing. S f d oo Resiclent Sistem Progrra mas (Second) Layer): Vn Thede. are Important. programs always wrung in mMemMOV1- Theag handle tasks like file management diod Munning Comman dy. eIMS—DoOsS Derico Dvven (Trin) Lope)” g They are cyfiver, that help Das combrn! harclware Ther work relives system properam< anal hardiware devices. ROM BIOS Perkeo Drivers Clorpeat Layer\”. Aney, are drivers etnored m Pom that Give banc. Contre) ever hardware: they handle Simple tasks like reacling ke sovarc) input and showing display Bdvantades: Runs well on low hardware -Fast performance. : Simp)e. ko Snatri) | ; Baal Lor learning. laaia. ® Disadvantages: as) g No mul Ptraaks ng a ve Clyn-a phics only text. eo Lo ma) Bay hea tnneys: eee hardware. Support - —lity Sent ( Middle layer): * |The. shell is He eekeaiemtwadl Tte rproter 4 that Laser Materact custh. Sk +randslotes user commands into actions that ‘the _kerne) can understand and execiete.- Riapltcation Programs(Outey Layer). Thene, are. ties prngaomns Vike text edttors, compilexs, or games. Applications Aive commands to tne shall, which Passes +hem ta -the l vl Fr comes with -tools Ibke Ble Explorer, Control Qnel,and ——Hank Manage yr. Privontages Ver ai 0 UAL. T il Supports Many aye} co Hon LLpalated Prequanty : 1 need hardware com pa bility © Disadvantages’ -|Mpre prone oe Varuses and melbwoare - oe Not Preua: Shep Lise! 5 regimes ociicl License Ms gee an iV: Neools higher systern RAAQUCOS Running Som cubs at once. con slow clounn tho fay es) TT Suse mm. O aL x linus OS: Lo fnux fs a Pree and Open Sourre. cperati ng _sustem. hased on UNTX. Lf is widely used for servers desktops Progrtanserfing, lOnd Qubercecuxita. ad J © | Features * ita ne. 2 Sports noultttas\k ng. Tt Ts a multy-twer suste : St in Fyeo and mpen=sonryes wl Bat providea both command=\ihe d graphical Thievbare: @lStruchure: L¥nux Operating Systen ‘ Susie Usex | | User Compilers, System Libyravies Kernel Kernel Modules Hardware, CPU} |RAM| |t/o f. LUser Space. _< : aeesacd com pil exs *l Users Trteract here buy vunn'i ng Applications Phe browsers of tools co \y- System Wibraxies' Liraries actoso bridge beliucen user pingrams and the kexne} new give Access +o Syston Reaturpnes tuithout irect ~ hardier. control. itl Kernel and Kerne) Moduler The kexne) controls CPU memory, devices, anol Suclemn calls. exne) mocliters mye extra drivers \paded ox | removed while yxunni ng, Hardware Layor (Bottom lau er)? TE Tholudes Chu RAM, To devics like Keyboards —_ i and _cisks. Te. Kerne) user clvivers and modules to combo! \nayeltware. -| Free to use Advant ages» : Highly Qeorre. Ww Open -Sourre | Vew stable-ond _peliable | Disadwantoges: Hard for peaioneys- = eer |} Not all hardwares are Supported 200 Its Less soPhware available Ne Alo officzal tech Support -