0% found this document useful (0 votes)
15 views2 pages

Get 235

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views2 pages

Get 235

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

NAME: Nlemchukwu Chioma Blessing

MATRIC NUMBER: 23CJ033355


REG NO: 2302712
COURSE: Computer Engineering

GET 235 ASSIGNMENT

1. Convert 1023 to binary value


Ans
2 1023
2 511 r 1
2 255 r 1
2 127 r 1
2 63 r 1
2 31 r 1
2 15 r 1
2 7r1
2 3r1
2 1r1
0r1
1023 in binary = 11111111112

2. Convert 67 to binary value


Ans
2 67
2 33 r 1
2 16 r 1
2 8r0
2 4r0
2 2r0
2 1r0
0rl
67 in binary = 10000112

3. Convert the following from binary to decimal


a) 0000101
b) 00100111
c) 10101010
d) 00011100
Ans
6 5 4 3 2 1 0
a) 0 0 0 0 1 0 1
= (1 x 22) + (1 x 20)
0000101 in decimal = 5

b) 0706150403121110
= (1 x 25) + (1 x 22) + (1 x 21) + (1 x 20)
00100111 in decimal = 39

c) 1706150413021100
= (1 x 27) + (1 x 25) + (1 x 23) + (1 x 21)
10101010 in decimal = 170

d) 0706051413120100
= (1 x 24) + (1 x 23) + (1 x 22)
00011100 in decimal = 28

4. Convert the following from hexadecimal to binary


a) ABDE
b) A064
c) 0063
d) 0048
Ans
a) A B D E
NOTE
8421 8421 8421 8421
10 = A
10 11 13 14
1010 1011 1101 1110 11 = B
ABDE in binary = 10101011110111102 12 = C
13 = D
b) A 0 6 4 14 = E
8421 8421 8421 8421
1010 0000 0110 0100
A064 in binary = 10100000011001002

c) 0 0 6 3
8421 8421 8421 8421
0000 0000 0110 0011
0063 in binary = 00000000011000112

d) 0 0 4 8
8421 8421 8421 8421
0000 0000 0100 1000
0048 in binary = 00000000010010002

You might also like