You are on page 1of 6
100 or representation in order to be processed. It consists of establishing a correspondence between the information external representation and the internal one in the computer, which is a sequence of bits. Example: the code of the letter ‘A’ is 65 in decimal (= 0100 0001 in binary). We can represent large numiers by grouping series of bits WoO these groupingsare of importance Nibble anibble isa group) Eb | MSB LSB For more information about Unicode, you can consult the http://www.unicode.org site. wsepo f+ 2],2]*]s)s]? use oxo | oor ort | s00 | sor | ato | 113 0 [0000 | wut | DLE o @ Pp ~ PB 1 1[atelala 2 [oor [stx [ooa 2 pe pr pep 3 foo fernxfocsfw | s }c]s |e |= 4 [owofeorfoce| s | « ]o]+r]a [ow feno[nak| %» [6 |e |u|. | w 6 [ono fack[syn[ «|e |F[v|1 |v 7 fous [pec fera| * [7 | s [w |e [w | Figure 14: ASCII Code Table 3 ro [es foanf Cf [x | x [on | x se fioorfHrfem>) [of fy tity [aor | ur [sue] sz Ty: B json vtjesc| + |; |K)1]*« ] ce faoofrr tes}. |< fet. fr ti 5 [norfcr [os | = oe = [nwfsotes|. [> ]n[* |r] = fF tants tus +}? ol} |e oe pe. 27 1100 Figure 15: ANSI Code Tables Nl Start of heading Start of tent End of te nat of it cre Creat crn, creo cre emeg Device contra 3 crs Device sontral 4 cme Neg sckroecigo creas Syretonous idle cree End of xi bck craw Canoe cre End of medium cry Supa craez Escape cree File separstor cr ‘Group separator cre} Record separator cre BGSGREERRERSE CS VA TREN yaaIaaVaNPS SRS SS SRE TAR eae SimaaW eRe HS SES Ea Soe eR ee PF MH SSEP SBOE ALUN RASH SEES SAA ESELAT 18 w ae 1c 18 ie Pe yokwhbors formes anata Pens covcce rang mhe~-eceneen ence] Celi eae eee SEITE HERES BE en OH Rite edhe mek pe 28 110 Binary base “Binarius” (latin) means tw. Binary means base 2: The digits that ean be used to count in this number 5 = g £ = Z g 3 3, g 3s 3 5 3 z ga z = Z s F pe. 29 s ep see Ee (2230= (11011111)2 “Octo” (latin) means eight. O&tal is base! 8(8=2° iN z z 3 & v cs zg é 3 z é v g pe. 30 100 B50)16 (11 correspond a la lettre B). Note: 11100 5 ss 5 z 2 G 5 a Exercise 1: Conversion between bases a) (123)0=(%2 bY (1OD0II1)2=( 210) BE=( 20d) (70)8= (M2 Exereise 2: Convert in binary the following numbers by coding those using 4 bits then 8 bits a) (I1)i0=(%) b) (70 =(% ©) (125)0=(2)2 —— d) (268)10=(2)2 Exercise 3: 3.1) Convert from decimal to two's complement on 8 bits the following signed numbers: a) (+8)10 = (2)re b)(-8)io=( re) (-22)10= (Pare d) (So = (Are 3.2) Convert from two's complement to decimal on 8 bits the following signed numbers: e) (10111 %io 1 (OOOLL001)x¢= (210 g) (1110101 )2e=(2)10 Hh) (11111110) 2% = (210. pg. 32

You might also like