0% found this document useful (0 votes)
13 views8 pages

Assignment

The document provides an overview of various number systems including decimal, binary, octal, and hexadecimal, explaining their bases and applications. It highlights the importance of binary in computing and how octal and hexadecimal serve as more compact representations of binary data. Additionally, it includes conversion examples between these number systems and addresses practical applications in programming and data representation.

Uploaded by

hawk69718
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)
13 views8 pages

Assignment

The document provides an overview of various number systems including decimal, binary, octal, and hexadecimal, explaining their bases and applications. It highlights the importance of binary in computing and how octal and hexadecimal serve as more compact representations of binary data. Additionally, it includes conversion examples between these number systems and addresses practical applications in programming and data representation.

Uploaded by

hawk69718
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/ 8
ive F24605/30 ese Assignment -2 Past 1: Understanding Number Systems Waite a beief explanation on Following * Decimal (Base 10) Decimal is the ston, lacd = numbes tastem hich © bated on lo digits 086%. Each foten wn teem sepeesenti a frwer of In Example : He nembes 345 in decimal yeprere nts + Gan, (xi, Grd + 300 Hoes sous + Binasy (Gare 2): The binery system in ued by Combotens, Bering only 2 sites Ona 1. back Posi Lis om AE Present * Poorer of 2 Example: The bineny number yon UPd Combe Uady ray vePeesents Brovres > Min deemet * Octal Case ay * cetol member user ¥ dyes, SC ath, feribiin. te. octal’ nicted Patients 9 oF 8. vetey digit covseifonds to 3 bnesj ExomPle: The Octol pumbeg = Cre) 157 ve presente + OF R8) 4 Cag) bY Yor? ” decmal _ a a oe Wekodecimol mumbes cycte m ee 7 computing 0s a more compact Seignbnbien oF bineny dake FL uses tb Smet foes we yg. CNW tm Resadecimal mambor weprecat Cromple: * The hee number 242 ve precente + Gy Closed + 418) oe toed + BTS im Ole cimal VY Application of Number system + Binory (Base 2): Swhy it is wed? The bineay numbes system ig Furdamental Le comPabess becouse it aligns livectly with physicel on/ofi Ciyh /w) States, allowing easy se Presentation of data using bite. => Usage: Binory is used in olmost every Poot of compter, Fem Pesecess ant memory Le date slerage Exomple i) Logie Grates ond civcuit Design = ii) Binowy code + Octel Chose %) sr why st i wed 2 Octal is used os a standord for binevy because mops Le evoctly 3 binary bibs. Ths guouping veeluced the of vefoesentotion => Usage Debel 1s Commonly wed in Pregremming and when working each octal alge Leagth with Petmnon in UNIX/Linvn i Sinngee a UNIK ti syste: i) File Peomission in ) Assembly Language Pregurm ming UNIK/tnus Systems * Hexadecimal (Base 16) =P why is it wed 2 Heke decimal . umbers whee each heradecimal binary oligrts- 41 fi te =? Usage: is another compact way be represent binary init sovvespondr be Y Fax comprestiny tage binety TE “is widely wed in memory odvesses » Coleus Cding in web design ona dle dusging became FE Presen bo Lion Exempler i) Memory Adlwess WD) HTML and C85 Coleus —_—_—— of ibs com Peek qe Past 2: Converstion Between Number Lystems 1) Convert following int? binary, octaly hesaclecimat 0» 45 as ry YS 1 “Pe s <[at ->0

23H 4s 3 Po. hexadecimel: &s),, (20), pond Al Te r 2 ay 2) 0 aps ff He 7 Gry,» Cer), (>, Cra, a CUD, 3l255 7 Ilass ic esr 7 [sos 359 octal, Hex: Gssyzs GIN, Gsm, CFF, Binery: : i : to55),) = (UNIHNIIg ® iv) 789 giz 5 ate ot : Tz ‘ Octat ’ > (789), + C254 Greoere100, D Convest the following into ; vas heredecimad ee ee ‘) totlol Decimal: * +Unty + eseue Oa) Octal i ue Decimal . : : UD CUED CT LD Gadd Cad) eed + le 2 UTR OY ETT HIEEE Mor gy + less), Octal: Wi) Uotlet Deemal: CR. CAs Coad Cand Credys Cont) a GUD by FAL SEMEL Ue”, Go, 3) Convert the following Hex numbers A) UAB. Binary: L= 501 Ae 2 toto > vow M3 (9001 Vot5 221), Octal: decimals ain Ce Oa) Gat! a ene 27(4ia os Corny, 4 Set: 4g 2H0 og «| > *7 FOst1 0000), ss : FO: Crbedg C40) © Oo eusy i ea nid Bj] te 6 =) 287: (go10 De 5 fe : 2872 (240), Grtby, Caen) (720d Bt 4 176 47 287: (69S, Past 3: Word Problems on Number Cyctem a 2) IP adaess t? Binary 192-168 119000°0- 1011000 00000001 woes tog (1 1.900900). =>(101D1 0 00). +45 =>(000 000 01) a = (roto, W) Aduess to binary ond decimal 2LEA Binesy 3:00 a 2+ 0010 As ialo sean. (20" ooto lolo), Decimel: Cabycraidd + Cribs CA a) 7 5 Babb Vhte ST Ele ak tde UY b!7 Os s amaldedG beoly

You might also like