You are on page 1of 12
DS Hw 2 20ig-cE-233 - Problem ub ——14 __ Size of eady fos ————_$— — _zls+t Yatw+S +4 + aru 224) byies ——- ene = 956 bites et x Sim ¢ 1t3Q, floats —4 bytes jo Se Sie of chert) on bjtes fj 1. : oa i ; Dew meq ae Con be Stored Per dist -bbock? = : b é Bite A080 Pe 20am 3 ACh bites ASC _ bites a 43000 —__+— ~ af pawk stored per DB Wed? 7 Ge ae aga 356 bytes Qsb bytes Total pludowtg = \6S00 _getuding 1800 ipod _shubeats eae (6600 - 1860 = Sevo excudey poheatclsrs xem = [S000 |? __exchudi Sok who will no vied, 0 janet So Sze. afler Yo _quoiters 2 (1stoxtor3) XAS%) b Stele) Conecaion Intbfs Size 2 ABe4oowo * 93.04 wh, 7s ~ - - = ss 100° 600 AS ee TOT OU Mb - _DB_ “Weds __peapireds = =e 7 = 20-36 08 blicks Seele time + Cegn time Size. of Eble WDD Sek % Ns 4 f Rews + EF Disk, = x — _ J [e x canto [+ a 204 Ma a ° jeo MBs Ee = (iri x 400000 ) + ( }. 9304) a | oe pospsited - Tame. 4000-9304 $ 000. 2304 Time. in hows = 4 = hes ed 2 Seta time. aa “Sean Name. - {to Seek tine X_Wo Seis _______# pivetggih Lo —-——r- a ee -|e= wee [+ [ ~[oo_Mbjs L Ga | \—— ei 36 Fe As0U) Sec Problem :2 21 hy zesponse time 2 +f See Vine + i res eo eee iC ox! x. i) 2.278 U Teo MY Jp re ef (Sx10 ia os) foo Md]s a, 4 2.1 sno 4+ saxo | al = ASlb wo Second 22 Aaes time Caw be seduced uf Maer ; che. eel “poovied Adka ito Te MAM. _ So At deta with be quaned dicey fom RAM wheels a 1 aaourbos to 3.ATBYLL=4 20.03078 - While AY 4 dite wi be queried fro HOD ee $.418-0-0321B2 3B TB __ i iy apne oe Soe) a etl 0.03278) + [ STB Wons % Oever® \ 4. Ta ) ¢ Sates e : r GB a s = a (20x10" x Seceee) + ( sate 3 Y i = x ool 4 0-82 | i; wc gees as enema ods fy respeuse Foe = 2 f see + Sen) v ite = fo ms X Z1G6TE ) 5 (suas ? [X ives iG = zf La Soc + si6te]) \ - = { sasepo] 26334 seconds . “So of ine be apese Toe ay be pilb seconds, While somaininy 10% { —_—. fine Ay aabpere ume usill be 36a34S- Size of eachy Aout ee papa Wwe For user ids Ah ure wild be_int2_ bez + rate 4. billion (La10") werd ond __ the. bidlionth wer | id con be Stole in 13 idly take Lbytes > _For_user nang, 64 characters und total size 4 with gly bytes = 64 bytes oe CrerlC4) - = Foren Wit will require 4 bytes (Some Cagic es See wocid) td — => For ikem name, bi bytes (Same Ogic ays ae rane obeve) + Cher [4], =y_ Fr Trawmdion d_, the data tye wil be long becuse a teifWionth Avanrailion id Can be stored - in WW. bo S 8 bijeo fee \eq _ 2 fer Parent,» af meat we wi use double dala type _Wvecae we con lave dowtale | decimal vebass Loe mene oy wel 6 8 byte. Dance, atl Size ft arow wis be 4 3d int 32, a . — 33. carl (4) 34 iwi. - 3s char (ca , Bebe cate _ 7 3-4 doulale 3-8 Sine of teble = No of es X Site af a Fe 2 Ltvilin x 162 bites _ (io y 182) Mies ir yiSk 1B {o> ~ 2 . ; Gize. of table in TB = = wits Sige 4 Tolle : 20 1 = 2ais Rar trailer spead joo &B in de £ Zxie__ days guKGoXbO Bas days 4.3 Seoanieg dB blocks * Qed TB ar des z au a! Gost = Bobo = oC Sah T= aT Lost = 2a 100 = 2000 $ Problem -¢ 2 Sa wy) i ! | aA Taile for tha recorel_of Users an ay A Table for the yecore] fe Precluds sa lenseltion ofS bilinth decimals to inet). gies U3 bit no. fo we wih need to store 43 vite for ulade the data type mast be Ligut (ik bu Bt). CA aie Bilton wer $0 the pyiptiort—— wey wer it ae atest 3e Gis tes SMO UNS pawns Soon User ttle user td Jost wore thon 30 bits hoes not, ect A aif user Uo con bE crwomedsted oj ist32. Ua bgten- GRIT T ie \ (EL e > wh = Sa CH ga B eT 4 too = 2 bes oe e ciple far ext 7a Ke { aes — ey - p a Size in bfise 19% x(l00 xo )¥ T= DANIO Ups 9 y $ € F Size in_ MBs = — mys = 12400 MBs. o | | 1 O6 i— oe _ 4D Teche tg veer able Atered j ale Atere aoe g in RAM wih rea puve son taal ( 7 whele Asbles a { Je aoe : at [OCB 2o- 3 {eae eon Sime] = Seg 2 aeare IB in seems | Speea + PHY - Scan Time ins 20) 01X10 ins = looms 8 16 Q 2 Nes Geele Hone will be added ty if, Sut correctly ACARI BFE TRE THO CB — A (als caluclate “id i a Sie of 4 Row= [32 byte 3 Nef yous inweag= SR sats Ie S $0 r f Rim Cea me = DOF KTS TS TS TC ! 2 |+S) Seconds” ; 1 2 - i 4 So Total fame 2 (90ms_f 162.5 7 i I _— Taal time = [625 | a 7 oY 7 aa oe Digs leak up Time = a . a oak ce See + Scan = (tons x ed iss [ pee x r Feo MO ASSIS + tee = ISTE TSTG seconds Sa dogo: FSIS iS1b 4, a “AUX bo XL0 “ee an P o8 _ Tot Hime = je ab 2 {ve ms X_No ios | + [cons] re foes fo [oes = = sat a = -_ {i Xto x 15.35 )st 125) = 1 Fb3 5 10s See + sean sine | “6 “> As we wre 10 madi ds werleiny iw Porableh iwted of zine: maachine, So We ome oD biog faster Spel ee reed Grown belle. ’ : oy | o al char Times ile. Cater Serei ue ee ank seated Awe vecard ouailolbe y the RA < Ae nadine wilh be i 7 | } i Tetol time = Secon ae * Seumdd ee Vee aps X seas] Ceti) =6 a 0-00 + 3.126% 10 9. [0000 B12S Secards | : = 100 ms _| [i - : |

You might also like