0% found this document useful (0 votes)
3 views

Series1 of tutorials MS1

The document outlines a series of exercises for a first-year engineering module on number codification and representation at the University Abdelhamid Mehri Constantine2 for the academic year 2024/2025. It includes tasks on converting numbers between different bases, performing arithmetic operations in various numeral systems, and applying the IEEE-754 standard for real numbers. The exercises cover both theoretical and practical aspects of number representation, including binary, decimal, octal, and hexadecimal systems.

Uploaded by

Mennech
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)
3 views

Series1 of tutorials MS1

The document outlines a series of exercises for a first-year engineering module on number codification and representation at the University Abdelhamid Mehri Constantine2 for the academic year 2024/2025. It includes tasks on converting numbers between different bases, performing arithmetic operations in various numeral systems, and applying the IEEE-754 standard for real numbers. The exercises cover both theoretical and practical aspects of number representation, including binary, decimal, octal, and hexadecimal systems.

Uploaded by

Mennech
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/ 2

UNIVERSITY ABDELHAMID MEHRI CONSTANTINE2 2024/2025

NTIC FACULTY
1st year ING
MODULE MS1

Serie1 of Supervised Class Work


(Codification and representation of numbers)
Exercise 1:
1- Express the following numbers in decimal base :
(472)8 (3132)4 (560)7 (101101)2 (1A8DF)16
2- Express the decimal number X= 327 in base 2, 3, 7, 8 and 16.
3- Do the Binary/decimal conversion of the following numbers:
101, 11101, 111101101, 11111111.

Exercise 2:
1- Let be the decimal number X= 4a5 + 2a3 + a + 5 such that a is an integer (a>5).
Express X in base a
2- Express the decimal numbers X, Y, Z in base a (a is an integer/ a>1).
X= a, Y= a2, Z=a3

Exercise 3:
Determine the pairs of integers (x,y) such that :
(x y)7 = (y x)10

Exercise 4:
1- Given the decimal number X= 512, express X in base 2, 4, 8 and 16.
2- Given the number Y = ( 11010110101 )2
Express the number Y directly in base 4, 8 and 16, without using base 10.
3- Express the numbers X = (1323)4 , Y= (3765)8 , Z= (AB1F9)16 directly in base 2
without using the division procedure.

Exercise 5:
1- Add the following binary numbers: X=(101101)2 and Y= (110110)2
2- Add the following two numbers in base 8: X=(735)8 and Y=(132)8
3- Add in hexadecimal the two numbers X=(A1F)16 and Y=(9BC)16

Exercise 6:
Given the numbers: X= 18 and Y= 30.
1- Express the integers X, -X, Y and -Y on six bits in SAV, CP1 and CP2.
Is this codification possible on five bits? Justify this.
2- If possible, perform the following operations in SAV, CP1 and CP2: X-Y, Y-X, -X-Y.

Exercise 7:
Given the integer numbers: X= (1101011) in CP1, Y=(11001100) in CP2,
Z= (0100111) in CP1 and T= (0101101) in CP2.
Give the sign and decimal value of each number.
UNIVERSITY ABDELHAMID MEHRI CONSTANTINE2 2024/2025
NTIC FACULTY
1st year ING
MODULE MS1

Exercise 8:
1- Express the following real numbers in binary: 112.125; 237.25; 128.75
2- Express the following real numbers in decimal: (111.01101)2; (101.10101)2
3- Perform the following arithmetic operations: 112.125 + 237.25 and
(111.01101)2+(101.10101)2

Exercise 9:
1- Using the IEEE-754 standard, give the code for the following real numbers:
X= 27.25; Y= -13.5; Z= 0.375
2- X is a real number coded according to the IEEE-754 standard. Write X in real form.
X=(11011000011010110000000000000000)

Exercise 10:
Let be the positive integers A, B and C such that: A = 109; B = 18 and C = 36.
1- Express A, B and C in base 2.
2- Perform the arithmetic operations: A+B; A+C and B+C in SAV, CP1 and CP2.
Specify the number of bits required for each operation.
3- Perform the operations A-B-C; B-A-C in SAV, CP1 and CP2 on 8 bits if possible.

Exercise 11:
1- Let the real number X= 4015, 9375 .
a- Express X in base 16, then deduce X in base 2 and base 8.
b- Let the real number Y = (50,1)16
b-1- Calculate the real number Z= X+Y in base 16, deduce Z in base 10 then in base2.
2 3
b-2- Express the numbers √𝑍 and √𝑍 in base 2 then in base 10.
𝑛
b-3- Give the largest value of the natural number n so that the integer √𝑍 is strictly
greater than 1.
2- Let the real number A = (FAF,F)16
a- Express A as A= ±1,M. 2E
b- Give the internal binary representation of A according to the IEEE-754 standard in
single precision (on 32 bits).
c- Give the internal hexadecimal representation of A.
d- Deduce the internal hexadecimal representation of the number B = -A.

You might also like