728x90 AdSpace

Latest Article



Number System one’s or two’s complement Quiz Example Question




Number System  one’s or two’s complement Quiz Example Question Assignment 
Q1.                                                                                                                                                                        
Represent the following decimal numbers in binary using four bits:
0000, 0001, 0010, 0011, 0100, 0101, 0110, 0111, 1000, 1001, 1010, 1011, 1100, 1101, 1110, 1111
0, 1, 2, 3, 4, 5, 6, 7, -8, -7, -6, -5, -4, -3, -2, -1
a.       -5
1011
b.      -7
1001
c.       -9
Not possible
Q2.                                                                                                                                                                        
Find one’s complement of the following binary numbers:
a.       0100
1011

b.      0011
1100

c.       0010
1101
Q3.                                                                                                                                                                        
Find two’s complement of the numbers given in Q2. Also write the decimal equivalents of the numbers represented by two’s complement.
1011+1 = 1100 = (-4)10
1100+1 = 1101 = (-3)10
1101+1 = 1110 = (-2)10

no image
  • Title : Number System one’s or two’s complement Quiz Example Question
  • Posted by :
  • Date : 06:09
  • Labels :






  • Blogger Comments
  • Facebook Comments

0 comments:

Post a Comment