[PDF] Correction du Travaux Dirigés N°2





Previous PDF Next PDF



TD : 01 Calculs en binaire et en hexadécimal Rappels Exercice 1

Exercice 2 : Addition en hexadécimal sur 8 bits. Question 1. Convertissez en hexadécimal les additions de l'exercice précédent. Question 2.



Numération

Exercice : Transformer en hexadécimal les nombres binaires suivants :… III. Opérations. III.1. Addition. Ca fonctionne comme en décimal.



Chapitre 1 : Systèmes de Numération et Codage des Nombres

Exercice. 6. Exercice : Exercice : Convertir en hexadécimal les nombres binaires suivants Quelle est le résultat de l'addition en binaire suivante :.



1- Laddition 2- La soustraction 3- La multiplication 4- La division

m- Codez en ASCII le message suivant en recourant à la représentation hexadécimal ''BON TRAVAIL''. 7- Résolution des exercices.



Correction du Travaux Dirigés N°2

Exercice N° 5 : Soient les 2 nombres codés suivant la norme IEEE 754 et représentés en hexadécimal : 3EE00000 et 3D800000. Calculez en la somme 



TD systèmes logiques.pdf

Exercice 8: Les nombres et les résultats sont représentés sur 8 bits. Faire les opérations binaires suivantes (par addition du complément à 2).



Complément à un : addition signes opposés Complément à un

L'addition de deux nombres de même signe peut donner lieu à un dépassement de capacité! Cas de deux entiers de signe positif. On a un dépassement de capacité 



Corrigé Exercice 1 : NUMERATION. Corrigé Exercice 2 : CODAGE.

1 juin 2010 Question 3 : Exprimer en hexadécimal le nombre binaire 10110110011101(2) ... Corrigé Exercice 3 : CAPTEUR DE POSITION ANGULAIRE.



Représentation des nombres flottants

Exercice – Conversion en virgule flottante IEEE 754 Addition et soustraction de deux ... Calcul en virgule flottante: Addition.



Chapitre 2 : Représentation de linformation

le système hexadécimal (hexa: seize). Exercice : Effectuer les transformations suivantes : ... addition . Représentation en complément à 2 ...



number system problems - University of Central Florida

to hexadecimal: = 555 ¸ 16 = 34 34 ¸ 16 = 2 2 ¸ 16 = 0 rem = 11 (B) rem = 2 rem = 2 reading bottom to top of remainders = (22B)16 8 Convert each of the following hexadecimal numbers to binary octal and decimal formats (4FB2)16



DECIMAL BINARY AND HEXADECIMAL - University of Washington

Ten symbols: 0 1 2 3 4 5 6 7 8 9 Represent larger numbers as a sequence of digits • Each digit is one of the available symbols Example: 7061 in decimal (base 10) • 706110 = (7x 103) + (0x 102) + (6x 101) + (1x 100) Octal Numbering System Eight symbols:: 0 1 2 3 4 5 6 7



Searches related to addition hexadecimal exercice PDF

To change this number to base 10 multiply each placeholder by the amount its location represents and add: (5 x 65536) + (3 x 4096) + (7 x 256) + (12 x 8) + (10 x 1) = 327680 + 12288 + 1792 + 96 + 10 = 341866 10 Base 16 A B C D E F Base 10 10 11 12 13 14 15 Now you try some: 436 8 = (base 10) 1234 8 = (base 10) 524 8

How does addition work in hexadecimal?

Addition in hex works exactly the same as in decimal, except with 16 instead of 10 digits. So in effect, what you're asking is how to do addition in general (including in decimal.) In dec, 9 + 1 = 10. In hex, F + 1 = 10.

How big is the adding hexadecimal numbers (base 16)(a) math worksheet?

Use the buttons below to print, open, or download the PDF version of the Adding Hexadecimal Numbers (Base 16) (A) math worksheet. The size of the PDF file is 43986 bytes. Preview images of the first and second (if there is one) pages are shown.

What is a hexadecimal number?

A hexadecimal number is a number expressed in the hexadecimal positional numeral system with a base of 16, which uses sixteen symbols: the numbers from 0 to 9 and letters A, B, C, D, E, F. Where A, B, C, D, E and F are single bit representations of decimal value 10 to 15. Hexadecimal uses a four-bit binary coding.

Architecture Des Ordinateurs

ISET Mahdia 2009 / 2010

Correction du Travaux Dirigés N°2

Exercice Complémentaire : (Conversions)

Ecrire les nombres suivants dans les bases 2, 8, 10 et 16 :

7F(16)_ 11000001(2) 1000001(2)_ 13(10) 755(8)_ 1100000011011110(2)_

Correction :

_______ _ 1111111(2) 177(8) 127(10) 7F(16) _ 11000001(2) 301(8) 193(10) C1(16) _ 1000001(2) 101(8) 65(10) 41(16) _ 1101(2) 15(8) 13(10) 0D(16) _ 111101101(2) 755(8) 493(10) 1ED(16) _ 1100000011011110(2) 140336(8) 49374(10) C0DE(16)

Exercice N° 1 :

Exprimez le nombre décimal 100 dans les bases de 2 à 9 et en hexadécimal

Correction :

Base 2 1100100

Base 3 10201

Base 4 1210

Base 5 400

Base 6 244

Base 7 202

Base 8 144

Base 9 121

Base 16 64

Exercice N° 2 :

Multiplier 10011011 et 11001101 en binaire.

Correction :

Exercice N° 3 :

Convertir le nombre décimal 8,625 en virgule flottante suivant la norme IEEE 754

Correction :

Conversion de 8,625 en binaire : 8,625 => 1000,101 car o Partie entière : 8 => 1000 o Partie décimale : 0,625 => 0,101 Normalisation : 1000,101 = 1000,101 x 20 = 0,1000101 x 24

Architecture Des Ordinateurs

ISET Mahdia 2009 / 2010

Normalisation IEEE 754 : 1000,101 = 1,0001010 x 23 (de la forme 1,xxxx où xxx = pseudo mantisse) Décomposition du nombre en ses divers éléments : o Bit de signe : 0 (Nombre >0) o Exposant sur 8 bits biaisé à 127 => 3 + 127 = 130 => 10000010 o Pseudo mantisse sur 23 bits : 000 1010 00000000 00000000

Signe Exposant biaisé Pseudo mantisse

0 1 0 0 0 0 0 1 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Exercice N° 4 :

Donnez la traduction à laquelle correspond le mot de 4 octets codé en hexadécimal suivant :

49 55 50 31, :

- un entier signé, - un entier représenté en complément à 2, - un nombre représenté en virgule flottante simple précision suivant la norme IEEE 754,

- une suite de caractères ASCII (représentés chacun sur 8 bits, le bit de plus fort poids étant

inutilisé et codé à 0)

Correction :

Hexadécimal 4 9 5 5 5 0 3 1

Binaire 0 100 1001 0 101 0101 0101 0000 0011 0001

Entier signé + 1 230 327 857

Complément à 2 + 1 230 327 857

IEEE 774

0 100 1001 0 101 0101 0101 0000 0011 0001

+ Exp biaisé : 146

Exp : 146 127 = 19

Pseudo mantisse : 101 0101 0101 000 0011 0001

Mantisse : 1, 101 0101 0101 0000 0011 0001

+ 1, 101 0101 0101 0000 0011 0001 x 219 + 1101 0101 0101 0000 0011, 0001 x 20 => 873 731, 0625

ASCII I U P 1

Exercice N° 5 :

Soient les 2 nombres codés suivant la norme IEEE 754 et représentés en hexadécimal :

3EE00000 et 3D800000

Calculez en la somme et donnez le résultat sous forme IEEE 754 et sous forme décimale. Même question avec les nombres : C8 80 00 00 et C8 00 00 00.

Correction :

Somme de 3EE00000 et 3D800000

Hexadécimal 3 E E 0 0 0 0 0

Binaire 0 011 1110 1 110 0000 0000 0000 0000 0000

IEEE 774 + Exp biaisé : 125

Exp : 125127 = -2

Pseudo mantisse : 110 0000 0000 0000 0000 0000

Mantisse : 1, 110 0000 0000 0000 0000 0000

+ 1, 110 x 2-2 ( => 0,4375 en décimal)

Hexadécimal 3 D 8 0 0 0 0 0

Binaire 0 011 1101 1 000 0000 0000 0000 0000 0000

IEEE 774 + Exp biaisé : 123 Exp : 123127 = -4

Pseudo mantisse : 000 0000 0000 0000 0000 0000

Mantisse : 1, 000 0000 0000 0000 0000 0000

+ 1 , 0 x 2-4 ( => 0,0625 en décimal)

Architecture Des Ordinateurs

ISET Mahdia 2009 / 2010

(1,110 x 2-2 ) + (1,0 x 2-4 ) = (1,110 x 2-2 ) + (0,010 x 2-2 ) = (1,110 + 0,010) x 2-2 = 10,0 x 2-2 = 1,0 x 2-1

IEEE 774

+ 1, 0 x 2-1 ( => 0, 5 en décimal) + Exp : = -1

Biaisé :-1+127 = 126

Mantisse : 1, 0

Pseudo mantisse : 000 0000 0000 0000 0000 0000

Binaire 0 011 1111 0 000 0000 0000 0000 0000 0000

Hexadécimal 3 F 0 0 0 0 0 0

Somme de C8 80 00 00 et C8 00 00 00

Hexadécimal C 8 8 0 0 0 0 0

Binaire 1 100 1000 1 000 0000 0000 0000 0000 0000

IEEE 774 - Exp biaisé : 145 Exp : 145 127 =18

Pseudo mantisse : 000 0000 0000 0000 0000 0000

Mantisse : 1, 000 0000 0000 0000 0000 0000

- 1 , 0 x 218 (- 262 144 en décimal)

Hexadécimal C 8 0 0 0 0 0 0

Binaire 1 100 1000 0 000 0000 0000 0000 0000 0000 IEEE 774 - Exp biaisé : 1442 Exp : 144 127 = 17

Pseudo mantisse : 000 0000 0000 0000 0000 0000

Mantisse : 1, 000 0000 0000 0000 0000 0000

- 1 , 0 x 217 (- 131 072en décimal) (- 1,.0 x 218) + (- 1, 0 x 217) = (- 1,.0 x 218) + (- 0, 1 x 218) = - 1,1 x 218

IEEE 774

- 1,10 x 218 en décimal) - Exposant = 18 Biaisé: 18 + 127= 145 Mantisse : 1, 10

Pseudo mantisse : 100 0000 0000 0000 0000 0000

1 100 1000 1 100 0000 0000 0000 0000 0000

Hexadécimal C 8 C 0 0 0 0 0

Exercice N° 6 :

Convertissez les quantités suivantes en valeurs IEEE à virgule flottante simple précision :

A = 128 B = 32.75 C = 18.125

Correction :

A = 0100'0011'0000'0000'0000'0000'0000'0000

B = 1100'0010'0000'0011'0000'0000'0000'0000

C = 0100'0001'1001'0001'0000'0000'0000'0000

Exercice N° 7 :

Quelles valeurs sont représentées par les nombres IEEE à virgule flottante en simple précision

présentés ci-après:

A = 1011'1101'0100'0000'0000'0000'0000'0000

B = 0101'0101'0110'0000'0000'0000'0000'0000

C = 1100'0001'1111'0000'0000'0000'0000'0000

Correction :

A = -0.046875

B = 1.539x1013

C = -30.0

Architecture Des Ordinateurs

ISET Mahdia 2009 / 2010

Exercice N° 9 :

Supposez un ordinateur 11 bits avec les nombres

réels représentés selon le format suivant, avec

Pour les valeurs 45.125 et 12.0625 donnez:

a. la représentation de chaque opérande

Correction :

45.125 = 0'1100'011010 erreur = 0.125

-12.0625 = 1'1010'100000 erreur = 0.0625quotesdbs_dbs22.pdfusesText_28
[PDF] addition hexadecimal pdf

[PDF] addition hexadecimal cours

[PDF] pose et effectue multiplication

[PDF] fractions primaire 2e cycle

[PDF] évaluation addition soustraction nombres entiers cm2

[PDF] addition cm2 ? imprimer

[PDF] exercices addition soustraction nombres décimaux cm2

[PDF] additionner des nombres entiers cm2

[PDF] additionner des durées cm2

[PDF] opérations sur les durées

[PDF] additionner des durées cm1

[PDF] nombres sexagésimaux exercices

[PDF] exercice de durée cm2 a imprimer

[PDF] excel calcul heure de travail

[PDF] calcul puissance de 10 en fraction