Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

DATA REPRESENTATION #2

OCKOURI BARNES

1. [A] Calculate the decimal equivalent of 00111110.

0 1 1 1 1 1 0
64 32 16 8 4 2 1

0111110 = 32+16+8+4+2 = 62
00111110 = 62 (the number is positive as the leftmost bit is 0)

[B] Determine if the result of 0111 + 0011 can be stored as a 4 bit binary number.
0111
+ 0011
0100

[D] Find the 4 bit two’s complement of -7

Binary Representation Of Seven = 111


Extension Of Bits = 0111
One’ Complement = 1000
Two’s Complement = 1000
+ 1
1001
2. What is the 4 bit one’s complement representation of 6.

Binary Representation Of 6 = 110


Extension Of Bits = 0110
One’s Complement = 1001

3. The decimal equivalent of the ASCII representation of ‘A’ is 65. What is the decimal
representation of ‘K’ (75)

4. The second part of a floating representation of a number is called the (A – Mantissa)

5. Convert the SIGN & MAGNITUDE number 1011 to its decimal equivalent.
.
0 1 1
8 4 2 1

011 = 2+1 = 3
1011 = -3 (the number is negative as the leftmost number is 1)

6. Convert the two’s complement number 1011 to its decimal equivalent.


1 0 1 1
-8 4 2 1

1011 = -8+2+1 = -5

7. Find the 4 bit two’s complement of -6.


Binary Representation of 6= 110
Extension Of Bits = 0110
One’s Complement = 1001
Two’s complement= 1001
+ 1
1010

You might also like