Number System Conversion addition subtraction Sample Question For Quiz and assignment online Introduction to computing
Q1.
a. Convert (1110.01)2 to base-10
1x23 + 1x22 + 1x21 + 0x20 + 0x2-1 + 1x2-2
8+4+2+0+0+(1/4) = (14.25)10
b. Convert (10.101)10 to base-2
Integer Part 10/2 = 5, 0 5/2 = 2, 1 2/2 = 1, 0 (10)10 = (1010)2 | Factor 0.101 x 2 = 0.202 0.202 x 2 = 0.404 0.404 x 2 = 0.808 0.808 x 2 = 1.616 |
(10.101)10= (1010.0001)2
c. Convert (71.2)8 to base-10
7x81 + 7x80+ 7x8-1
56 + 1 + 0.25 = 57.25
Q2.
a. Perform the following addition
(AE9)16 + (F)16= (AF8)16
b. Perform the following subtraction
(1111111)2 – (111)2 = (1111000)2
c. Perform the following addition
(231)4+ (12)4 = (303)4