Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Chapter 1: Number Base System

Student ID
Student Name
Intake
1. Using two’s complement in 8-bit register, show how the computer would evaluate

a)

b)

c)
2. Find the value of X for the following equation.
a) Show your workings in Hexadecimal

b) Show your workings in octal

3. A computer stores a number in a 16-bit register using floating-point representation. First bit is
reserved for the sign, followed by 6 bits for the exponent with a bias of (+31) and the remaining
bits are the mantissa with a hidden bit.
a) Show how the computer stores 14.2510 in floating point representation.
b) Find the equivalent decimal value for
1100101101100000 2
4. A computer stores the floating number in 32-bit where 1 bit for the sign, 8 bits for the exponent
having a biased or (+127) and mantissa has a hidden bit. Show how those floating-point values
would be represented in that computer.
a) Show how the computer stores 24.2510 in floating point representation.
b) Find the equivalent decimal value for
0 10000010 010010000000000000000002

You might also like