0% found this document useful (0 votes)
33 views64 pages

Information Representation and Number System

Hrllo

Uploaded by

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

Information Representation and Number System

Hrllo

Uploaded by

nadirkadi100107
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 64

Chapter 2: number system and

information representation

ENP/1CP/informatique1
L. Djaafri
Introduction : Decimal system

Set of 10 symbols: {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}


• Exemple 1: a integer number

2 1 0
185 (10) = 100 + 80 + 5
= 1 × 100 + 8 × 10 + 5 × 1
= 1 × 102 + 8 × 101 + 5 × 100

ENP/1CP/cours informatique1
2
L.Djaafri
Principle

• B is base for number system:


▪ B is integer and b>1.
▪ a system uses B sequential integers
symbols including 0
➔ {0, 1, 2, 3, ..., B-1}
▪ These symbols are called the digits of the
system.

ENP/1CP/cours informatique1
3
L.Djaafri
Principle
• Any integer N is represented in base B by a
sequence of digits :
N = an an-1... a2 a1 a0

• In base B, N is also written as:


N = an × Bn + an-1× B n-1 + ... + a2 × B2 + a1 × B1
+ a0 × B 0
→ ai is digit in ith position
→ Bi is the base B raised to the power i
ENP/1CP/cours informatique1
4
L.Djaafri
Binary number system

Set of 2 symbols: {0, 1}


• Exemple :
3210
1101 (2) = 1 × 2 3 + 1 × 2 2 + 0 × 2 1 + 1 × 2 0

= 8 +4 +0 +1
1101(2) = 13
ENP/1CP/cours informatique1
5
L.Djaafri
Binary number system

0 0 9 1001
1 1 10 1010
2 10 11 1011
3 11 12 1100
4 100 13 1101
5 101 14 1110
6 110 15 1111
7 111 16 10000
8 1000 .. ..

ENP/1CP/cours informatique1
6
L.Djaafri
Binary number system

1 20 1
10 21 2
100 22 4
1000 23 8
10000 24 16
100000 25 32
.. .. ..
10…00 (n 0) 2n

ENP/1CP/cours informatique1
7
L.Djaafri
Octal number system
Set of 8 symbols: {0, 1, 2, 3, 4, 5, 6, 7}
• Exemple :
2 1 0
613 (8) = 6 × 82 + 1 × 81 + 3 × 80
= 6 × 64 + 1 × 8 + 3 × 1
= 384 +8 +3
613 (8) = 395
ENP/1CP/cours informatique1
8
L.Djaafri
Hexadecimal number system

Set of 16 symbols: {0..9, A..F}


• Exemple :
2 1 0
E09 (16) = E × 16 2 + 0 × 16 1 + 9 × 160

= 14 × 256 +0 +9
E09 (16) = 3593
ENP/1CP/cours informatique1
9
L.Djaafri
Binary, hexa and octal roles
• Binary system is used to treat and stock information
on computer
• Binary representation of information is very verbose,
so hexadecimal and octal numbers system are used
to reduce the binary representation
• Example:
A same value represented in base 2, 8 an 16
binary 101 0110 0000 0111 1011 1101
octal 25403675
hexadecimal 5607BD
ENP/1CP/cours informatique1
10
L.Djaafri
Conversion from any base x to decimal
• Method1:
1. number each digit from right to left starting from 0
2. Multiply each digit by the base-x raising to the position number
obtained in step 1
3. Sum all values obtained in step 02
• Example
20213 33 32 31 30
2 0 2 1

20213= 227 + 09 + 23 +11 =6110


4135 52 51 50
4 1 3

4135 = 425 + 15 + 31 =10810


ENP/1CP/cours informatique1
11
L.Djaafri
Conversion from binary to decimal
• Method:
Decompose binary number using 2 n = 1 0 . . 0 feature
n
• Example
10112 = 1000 + 10 + 1
= 23 + 21 + 20
= 1 1 10

1001102 = 100000 + 100 + 10


= 25 + 22 + 21
= 3 8 10

ENP/1CP/cours informatique1
12
L.Djaafri
Conversion from Decimal to any base x
• Method 1
1. Successive division on x
2. Take the remainders from the last to the first
3. Stop when quotient equals 0.
• Example
4 4 10= ( ? ) 2
44  2 = 22 rem 0
22  2 = 11 rem 0
11  2 = 5 rem 1
5 2= 2 rem 1
2 2= 1 rem 0
1 2= 0 rem 1

4 4 10= ( 1 0 1 1 0 0 ) 2

ENP/1CP/cours informatique1
13
L.Djaafri
Conversion from Decimal to any base x
• Method 2 : need power of x values

• Example
4410=(?)2 25 24 23 22 21 20
32 16 8 4 2 1
1 0 1 1 0 0

44 = 32+8+4
= 125 + 024 + 123 + 122 + 021 + 020

44 10=1011002

ENP/1CP/cours informatique1
14
L.Djaafri
binary to Hex & Hex to binary
Need to use a look up table

Decimal Hexadecimal Binary Decimal Hexadecimal Binary


0 0 0000 10 A 1010
1 1 0001 11 B 1011
2 2 0010 12 C 1100
3 3 0011 13 D 1101
4 4 0100 14 E 1110
5 5 0101 15 F 1111
6 6 0110
7 7 0111
8 8 1000
9 9 1001
ENP/1CP/cours informatique1
15
L.Djaafri
Conversion from Binary to Hexa
• Method
Replace each 4 binary digits with its hexadecimal equivalent

• Example
101101100110110011=(?)16

0010 1101 1001 1011 0011

2 D 9 B 3

1011011001101100112= 2D9B316
ENP/1CP/cours informatique1
16
L.Djaafri
Conversion from Hexa to Binary
• Method
Break up each hexadecimal digit into 4 binary digit. Right to left

• Example
1DF8316 = (?)2

1 D F 8 3

0001 1101 1111 1000 0011

ENP/1CP/cours informatique1
17
L.Djaafri
Binary to Octal & Octal to Binary
Need to use a look up table
Decimal Octal Binary
0 0 000
1 1 001
2 2 010
3 3 011
4 4 100
5 5 101
6 6 110
7 7 111

ENP/1CP/cours informatique1
18
L.Djaafri
Conversion from Binary to Octal
• Method
Replace each 3 binary digits with its octal equivalent

• Example
• 1011011001101100112= (?)8

101 101 100 110 110 011

5 5 4 6 6 3
• 1011011001101100112= 5546638

ENP/1CP/cours informatique1
19
L.Djaafri
Conversion from Octal to Binary
• Method
Break up each octal digit into 3 binary digit. Right to left

• Example
74038 = (?)2

7 4 0 3

111 100 000 011

74038 = 1111000000112
ENP/1CP/cours informatique1
20
L.Djaafri
Summary conversion base 2, base 8
and base 16
Binary

Octal Hexa

Example
127038 =(?)16
1→001
2→010
127038 → 7→111 →001 010 111 000 0112
0→000
3→011
0001→1
0101→5
001 0101 1100 0011 → 1100→C
→15C316
0011→3
127038 =15C316 ENP/1CP/cours informatique1
21
L.Djaafri
Conversion from Base-x to Base-y
• Method
Use conversion from base-x to Decimal, then from Deciaml to Base-y

• Example
314 5= (?)2
Base-5 to decimal:
3145 = 352 + 151 + 450 = 84
Decimal to base-2
8410 = 64+16+4
= 26 + 24 + 22
= 126 + 025 + 124 + 023 + 122 + 021 + 020
8410 = 10101002

Then 3145 = 10101002

ENP/1CP/cours informatique1
22
L.Djaafri
Arithmetic with binary base system
Rules

0 0 1 1 11..

+ + + + +
0 1 0 1 1..
---- ---- ---- ---- ----
=0 =1 =1 =10 =11

carry

• You need know binary values


102 → 2
112 → 3 ENP/1CP/cours informatique1
23
L.Djaafri
addition
1 1 1 1 1 100000+1000+100+1=
1 0 1 1 0 1 25+23+22+20 45
10000+100+10+1=
+ 1 0 1 1 1 24+22+21+20 23
1000000+100=
= 1 0 0 0 1 0 0 26+22 68

101101 + 10111 = 1000100


100000+10000+
1 1 1 1 1000+100+10
1 1 1 1 1 0 =25+24+23+22+21 62

1000+10+1=
+ 1 0 1 1 23+21+20 11

= 1 0 0 1 0 0 1 72
1 1 1 1 1 0 + 1ENP/1CP/cours
0 1 1 = informatique1
1001001
24
L.Djaafri
Substraction
1 1 1 1 100000+1000+100
1 0 1 1 0 0 =25+23+22 44
10000+100+10+1
- 1 1 10 11 11 1 =24+22+21+20
23
10000+100+1
= 0 1 0 1 0 1 =25+22+20 21

101100 - 10111 = 10101


100000+10000
1 1 +1000+100+10
1 1 1 1 1 0 =25+24+23+22+21 62

1000+10+1
- 1 10 11 1 = 25+22+20 11

= 1 1 0 0 1 1 51
1 0 1 1 0 0 - 1 0 1 1 1 =ENP/1CP/cours
1 0 1 0informatique1
1 25
L.Djaafri
Multiplication
1 0 1 1 0 0 4 4

 1 1  3

1 1
1 10 1 1 0 0 1 3 2

+ 1 0 1 1 0 0 .

= 1 0 0 0 0 1 0 0

101100  11 = 10000100
ENP/1CP/cours informatique1
26
L.Djaafri
Division
10111011 101
0 1 1 0 0 0 1 0 0 10 1
111

10

10111011  101 = 100101 rem 10

187  5 = 37 rem 2

ENP/1CP/cours informatique1
27
L.Djaafri
Binary « with comma » to decimal
1 0 1 1 , 1 0 1 2 = ?10
3 2 1 0 -1 -2 -3
1 0 1 1 , 1 0 1 2 = 1 × 23 + 0 × 22 + 1 × 21 + 1 × 20 + 1 × 2-1 + 0 × 2-2 + 1 × 2-3

= 8 +0 +2 + 1 + 1/2 +0 + 1/8

= 8 + 2 + 1 + 0.5 + 0.125

1011,1012 = 11.62510

ENP/1CP/cours informatique1
28
L.Djaafri
Decimal« with comma » to binary
4 1 , 6 8 7 5 10 = ? 2 = 1 0 1 0 0 1, 1 0 1 1 2
4 1 10 = 32+8+1 = 100000+1000+1 = 1010012
0 , 6 8 7 5 10 = ? 2 = 0 , 1 0 1 1

0,68752 = 1,3750

0,37502 = 0,75

0,75 2 = 1,5

0,5 2 = 1,0
Stop when equals 0

ENP/1CP/cours informatique1
29
L.Djaafri
Decimal« with comma » to binary
2 3 , 1 5 10 = ?2 = 10111 ,0010012
2 3 10 = 1 6 + 4 + 2 + 1 = 1 0 0 0 0 + 1 0 0 + 1 0 + 1 = 1 0 1 1 1 2
0 , 1 5 10 = ? 2 =0,001001

0,15 2 = 0,3
0,3 2 = 0,6
0,6 2 = 1,2
0,2 2 = 0,4
0,4 2 = 0,8
0,8 2 = 1,6
Stop when fractional part already exist
ENP/1CP/cours informatique1
30
L.Djaafri
Memory measurement units
• Bit (Binary Digit) : is the smallest unit of data that a computer can
process and store. A bit is a binary value, and takes only 0 or 1.
• Byte : a byte is a unit of data that is eight binary digits long

Memory and storage units


Units Value Approximate value
Byte: B 8 bits
Kilo-byte: KB 210 B=1024 B  103 B =1000 B
Mega-byte: MB 220 B =1024 KB  106 B=1000 KB
Giga-byte: GB 230 B=1024 MB 109 B=1000 MB
Tera-byte: TB 240 B=1024 GB 1012 B=1000 GB
Peta-byte: : PB 250 B=1024 TB 1015 B=1000 TB
ENP/1CP/cours informatique1
31
L.Djaafri
number representation
• N bits allows the presentation of 2n positive
numbers, between 0 and 2n-1

0 2n-1 infinate
representable values unrepresentable values

• Exemple N=8 bits => 28 =256 values {0, 1, 2, 3, .., 255}

ENP/1CP/cours informatique1
32
L.Djaafri
Signed number representation
• In mathematics:
▪ negative numbers uses minus signe « - »
• In computing:
▪ signed number representations are required to
encode negative number in binary number
systems.
• Three methods are used :
▪ Sign-absolute value called Sign-magnitude
▪ One’s complement
▪ Two’s complementENP/1CP/cours informatique1
33
L.Djaafri
Sign and absolute value
• If we have an n-bit number, then the most significant
bit (MSB) is used to indicate the sign:
▪ 1: negative sign
▪ 0: positive sign
▪ The other bits (n-1) designate the absolute value of the
number
• Exemple : sur 4 bits .
1001 0001
sign absolute value sign absolute value

1001 is the representation of -1 0001 is the representation of +1

ENP/1CP/cours informatique1
34
L.Djaafri
Sign and absolute value
Exemple : All values with 3 bits jn SAV presentation:

SAV Binary number SAV Binary number


000 +00 +0 100 -00 -0
001 +01 +1 101 -01 -1
010 +10 +2 110 -10 -2
011 +11 +3 111 -11 -3

• the largest positive number with 3 bits is +011 =23-1 - 1 = +3


• the smallest negative number with 3 bits is -011 = -(23-1 -1) =-3
• in SAV, 0 is represented twice

ENP/1CP/cours informatique1
35
L.Djaafri
Sign and absolute value
• Rule :
→ range of possible values with n bits in Sign absolute
value representation:

[ - ( 2 (n-1) - 1 ) , + ( 2 (n-1)- 1 ) ]

→ 0 is represented twice :
100..00 = -0
000..00 = +0

ENP/1CP/cours informatique1
36
L.Djaafri
Addition in SAV representation
Example
perform the following operations on 4 bits:

➢ (-6)10+ (+1)10 -6 1110


(-6)10 = (1110)SAV + +1 + 0001
(+1)10=(0001)SAV = -5 = ?111

➢ (+6)+ (-1) +6 0110


(+6)10 = (0110)SAV + -1 + 1001
(-1)10 = (1001)SAV = +5 = ?111

• Addition does not work correctly with SAV


• The sign bit must be treated separately
ENP/1CP/cours informatique1
37
L.Djaafri
One’s complement
• Rules
→ positive numbers are represented in simple binary
→ negative numbers are represented in one’s complement
→ inverted all bits of the given number, each 0 becomes
1 and each 1 becomes 0
→ The most significant bit (MSB) is used to represent the
sign of the number :
→ 1 for negative
→ 0 for positive
ENP/1CP/cours informatique1
38
L.Djaafri
One’s complement
Question : What is the decimal value of the following
binary number represented in C1: 10110110 ?

Response:
• 10110110 is a negative number because his MSB=1
• 10110110C1 = - C1(10110110)
=- 010010012
=- (26+23+20)
10110110C1 = -73

ENP/1CP/cours informatique1
39
L.Djaafri
One’s complement
What numbers can be represented on 04 bits?
C1 Binary Number C1 Binary Number
0000 +0000 +0 1000 -0111 -7
0001 +0001 +1 1001 -0110 -6
0010 +0010 +2 1010 -0101 -5
0011 +0011 +3 1011 -0100 -4
0100 +0100 +4 1100 -0011 -3
0101 +0101 +5 1101 -0010 -2
0110 +0110 +6 1110 -0001 -1
0111 +0111 +7 1111 -0000 -0

• the largest positive number with 4 bits is +0111 =24-1 - 1 = +7


• the smallest negative number with 4 bits is -0111 = -(24-1 -1) =-7
• in C1, 0 is represented twice
ENP/1CP/cours informatique1
40
L.Djaafri
One’s complement
• in general, with n bits, rang of
values ​represented in C1 is:

[ - ( 2 n-1 - 1 ) , + ( 2 n-1 - 1 ) ]

ENP/1CP/cours informatique1
41
L.Djaafri
Two’s complement
• Rules

→ positive numbers are represented in simple binary

→ negative numbers are represented in two’s complement

→ C2(N)=C1(N)+1
→ The most significant bit (MSB) is used to represent the sign of the number :

→ 1 for negative

→ 0 for positive

→ the 2's complement of the 2's complement of a number is equal to the

number itself: C2(C2(N))=N


ENP/1CP/cours informatique1
42
L.Djaafri
Two’s complement
Question : What is the decimal value of the following
binary number represented in C2: 10110110 ?

Response:
• 10110110 is a negative number because his MSB=1
• 10110110C2 = - C2(10110110)
= - 01001010 2
= - (26+23+22)
10110110C2 = -74

ENP/1CP/cours informatique1
43
L.Djaafri
Two’s complement
Question : what is the decimal value represented by the
value 101010 in C2 on 6 bits?
Response:
101010 is a negative number because his MSB=1
101010C2-1= 101001C1= - 0101102= -2210
Question : what is the C2 representation of -15 on 6 bits?

Response:
-1510= -001111 2 = 110000C1+1 =110001C2

ENP/1CP/cours informatique1
44
L.Djaafri
Two’s complement
What numbers can be represented on 04 bits?

C2 Binary Number C2 Binary Number


0000 +0000 +0 1000 -1000 -8
0001 +0001 +1 1001 -0111 -7
0010 +0010 +2 1010 -0110 -6
0011 +0011 +3 1011 -0101 -5
0100 +0100 +4 1100 -0100 -4
0101 +0101 +5 1101 -0011 -3
0110 +0110 +6 1110 -0010 -2
0111 +0111 +7 1111 -0001 -1

• the largest positive number with 4 bits is +0111 =24-1 - 1 = +7


• the smallest negative number with 4 bits is -1000 = -(24-1) =-8
ENP/1CP/cours informatique1
45
L.Djaafri
Two’s complement

• A single coding for the number 0. For example


on 8 bits:
→ +0 (10) = 00000000(2)
→ -0 (10) = C2(00000000)=00000000(2)

ENP/1CP/cours informatique1
46
L.Djaafri
Two’s complement
• in general, with n bits, rang of
values ​represented in C2 is:

[ - ( 2 n-1) , + ( 2 n-1 - 1 ) ]

• Example:
• n=2 → range:[-21, 21-1] = [-2, 1]
• n=3 → range:[-22, 22-1] = [-4, 3]
• n=4 → range:[-23, 23-1] = [-8, 7]
• n=8 → range:[-27, 27-1] = [-128, 127]
ENP/1CP/cours informatique1
47
L.Djaafri
Addition in two’s complement
• It is based on the following principle:
→ with C2 the addition of 2 numbers
works without having to separate the
sign bits
→ If there is a carry generated by the
sign bit, it is DISCARED and the result is in
C2
→ Remember: −2n−1 ≤ result ≤ 2n−1 − 1
ENP/1CP/cours informatique1
48
L.Djaafri
Addition in two’s complement
• Example: perform operations on 5 bits in C2:

+9 0 1 0 0 1
+4 + 0 0 1 0 0
= + 13 = 0 1 1 0 1

Positive result : = 0 1 1 0 1 C2
=+011012
= + 1 3 10

ENP/1CP/cours informatique1
49
L.Djaafri
Addition in two’s complement
• Example: perform operations on 5 bits in C2:

1
+9 0 1 0 0 1
+ -4 + 1 1 1 0 0
= +5 = 1 0 0 1 0 1

-410= - 001002=11100C2 Discared Positive result = 0 0 1 0 1 C2


carry
= +001012
= + 5 10
ENP/1CP/cours informatique1
50
L.Djaafri
Addition in two’s complement
• Example: perform operations on 5 bits in C2:

+9 0 1 0 0 1
+ -14 + 1 0 0 1 0
= -5 = 1 1 0 1 1
- 1 4 10= - 0 1 1 1 0 2= 1 0 0 1 0 C2
Negative result = 1 1 0 1 1 c2
= -001012
= - 5 10
ENP/1CP/cours informatique1
51
L.Djaafri
Addition in two’s complement
• Example: perform operations on 5 bits in C2:

1 1
+4 0 0 1 0 0
+ -1 + 1 1 1 1 1
= +3 = 1 0 0 0 1 1
- 1 10= - 0 0 0 0 1 2= 1 1 1 1 1 C2
Positive result = 0 0 0 1 1 c2
Discared
carry = +000112
= + 3 10
ENP/1CP/cours informatique1
52
L.Djaafri
Addition in two’s complement
• Example: perform operations on 5 bits in C2:

1 1 1
-10 1 0 1 1 0
+ -6 + 1 1 0 1 0
= -16 = 1 1 0 0 0 0

- 1 0 10= - 0 1 0 1 0 2= 1 0 1 1 0 C2
Discared Negative result = 1 0 0 0 0 C2
- 6 10= - 0 0 1 1 0 2= 1 1 0 1 0 C2 carry
= -100002
= -16
ENP/1CP/cours informatique1
53
L.Djaafri
Addition in two’s complement
• Example: perform operations on 5 bits in C2:

1 1
-3 1 1 1 0 1
+ -2 + 1 1 1 1 0
= -5 = 1 1 1 0 1 1

- 3 10= - 0 0 0 1 1 2= 1 1 1 0 1 C2 Discared Negative result = 1 1 0 1 1 C2


- 2 10= - 0 0 0 1 0 2= 1 1 1 1 0 C2
carry
= -001012
= -5
ENP/1CP/cours informatique1
54
L.Djaafri
Addition in C2: Overflow
• In representation, if 2 numbers are added, and
they both have the same sign (both positive or
both negative), then overflow occurs if and only if
the result has the opposite sign.
→ (+A)+(+B) = -C
→ ( -A)+( -B) =+C
• overflow never occurs when adding operands
with different signs.
• the result of addition is too large (positive or
negative) to fit into the resultant bit-group
ENP/1CP/cours informatique1
55
L.Djaafri
Addition in C2: Overflow
• Example: perform operations on 5 bits in C2 :
+10 1 1 1
0 1 0 1 0
+ +6 + 0 0 1 1 0
= +16
= 1 0 0 0 0
Negative result

Both numbers Overflow case


are Positive

1 1 0 0 1 C2= - C 2 ( 1 1 0 0 1 ) = - 0 0 1 1 1 = - 7 r e s u l t i s w r o n g

• In C2 representation, on 5 bits, we can only represent


numbers between [-16, 15]. +16 is not representable.
ENP/1CP/cours informatique1
56
L.Djaafri
Real number representation
• A real number has two parts:
– the integer part
– the fractional part
• the two parts are separated by a point
• Two possible representation :
• Fixed point : the position of point is fixed
• Floating point the position of point is dynamic

ENP/1CP/cours informatique1
57
L.Djaafri
Fixed point (m, n) coding
• In this format, a real number is represented as
follows :

s : bit for sign


m bits : integer part of the number (in C2 representation)
n bits : fractional part of the number

ENP/1CP/cours informatique1
58
L.Djaafri
Fixed point (m, n) coding
• Example : code (-2.625) in fixed point (8,8)
-210 = - 000000102 =11111110C2
0.625= ?2 = 0.101
0.6252= 1.25
0.25 2= 0.5
0.5 2= 1.0 (end)
• Then:
-2.62510= 1111111010100000fp(8,8)

ENP/1CP/cours informatique1
59
L.Djaafri
Alphanumeric characters coding
• ASCII Table
• The American Standard Code for Information
Interchange, (pronounced aski), is a computer
standard for character encoding.
• By adopting the same coding, computer systems
designed by any manufacturer can exchange text,
numbers, punctuation marks and many other
symbols.
• Only english alphabetic characters (in the 1960s)
• it is the core of modern character tables

ENP/1CP/cours informatique1
60
L.Djaafri
Alphanumeric characters coding
• The ASCII code uses 7 bits, it allows you to define
128 digital codes, therefore 128 characters.
• the main groups of characters are:
▪ 0 to 31, are not printable characters but "control"
characters.
▪ 32 to 48: punctuation character and symbols
▪ 48 to 57: the numbers from 0 to 9
▪ 65 to 90: from A to Z
▪ 97 to 122: from a to z

ENP/1CP/cours informatique1
61
L.Djaafri
Alphanumeric characters coding
ASCII Table

ENP/1CP/cours informatique1
62
L.Djaafri
Alphanumeric characters coding

the 95 printable characters of the ASCii


table

ENP/1CP/cours informatique1
63
L.Djaafri
Alphanumeric characters coding
• This is ‘Hello’ in ASCII encoding gives the
following sequence of bytes:
▪ ‘H’ coded the value 72 = 1001000
▪ ‘e’ coded the value 101 =1100101
▪ ‘l’ coded the value 108 = 1101100
▪ ‘l’ coded the value 108 = 1101100
▪ ‘o’ coded the value 111 = 1101111

ENP/1CP/cours informatique1
64
L.Djaafri

You might also like