Sunteți pe pagina 1din 5

DIGITAL CIRCITS

KWAME NKRUMAH UNIVERSITY OF SCIENCE

PHY 380

AND TECHNOLOGY (KNUST)

Preparatory Assignment
Number Conversion Calculations

DEPARTMENT PHYSICS

INDEX: ____________________________________ Date: ____________________


I - Decimal to binary:
9710

97/2 = ____ remainder ___


____/2 = ____ remainder ___
____/2 = ____ remainder ___
____/2 = ____ remainder ___
____/2 = ____ remainder ___
____/2 = ____ remainder ___
____/2 = ____ remainder ___

___
_____
_______
_________
___________
_____________
_______________

14510

145/2 = ____ remainder ___


____/2 = ____ remainder ___
____/2 = ____ remainder ___
____/2 = ____ remainder ___
____/2 = ____ remainder ___
____/2 = ____ remainder ___
____/2 = ____ remainder ___
____/2 = ____ remainder ___

___
_____
_______
_________
___________
_____________
_______________
_________________

23310

233/2 = ____ remainder ___


____/2 = ____ remainder ___
____/2 = ____ remainder ___
____/2 = ____ remainder ___
____/2 = ____ remainder ___
____/2 = ____ remainder ___
____/2 = ____ remainder ___
____/2 = ____ remainder ___

___
_____
_______
_________
___________
_____________
_______________
_________________

50110

501/2 = ____ remainder ___


____/2 = ____ remainder ___
____/2 = ____ remainder ___
____/2 = ____ remainder ___

___
_____
_______
_________
Page 1 of 5

87210

____/2 = ____ remainder ___


____/2 = ____ remainder ___
____/2 = ____ remainder ___
____/2 = ____ remainder ___
____/2 = ____ remainder ___

___________

_____________

_______________

_________________
___________________

872/2 = ____ remainder ___


____/2 = ____ remainder ___
____/2 = ____ remainder ___
____/2 = ____ remainder ___
____/2 = ____ remainder ___
____/2 = ____ remainder ___
____/2 = ____ remainder ___
____/2 = ____ remainder ___
____/2 = ____ remainder ___
____/2 = ____ remainder ___

___

_____

_______

_________

___________

_____________

_______________

_________________
___________________
___________________

II - Decimal to hexadecimal:
8110

81/16 = _____ remainder _____


____/16 = _____ remainder _____

_____
_______

25510

255/16 = _____ remainder _____


____/16 = _____ remainder _____

_____
_______

11805/16 = _____ remainder _____

_____

____/16 = _____ remainder _____


____/16 = _____ remainder _____
____/16 = _____ remainder _____

_______
________
__________

33990/16 = _____ remainder _____


____/16 = _____ remainder _____

_____
_______

____/16 = _____ remainder _____


____/16 = _____ remainder _____

________
__________

1180510

3399010

1145524010

11455240/16 = _____
____/16 = _____
____/16 = _____
____/16 = _____
____/16 = _____

remainder _____
remainder _____
remainder _____
remainder _____
remainder _____

_____
_______
________
__________
__________

Page 2 of 5

____/16 = _____ remainder _____

__________

III - Binary to decimal:


101101112 =
___ x 27 + ___ x 26 + ___ x 25 + ___ x 24 + ___ x 23 + ___ x 22 + ___ x 21 + ___ x 20
001100002 =
___ x 27 + ___ x 26 + ___ x 25 + ___ x 24 + ___ x 23 + ___ x 22 + ___ x 21 + ___ x 20
011100002 =
___ x 27 + ___ x 26 + ___ x 25 + ___ x 24 + ___ x 23 + ___ x 22 + ___ x 21 + ___ x 20
001100102 =
___ x 27 + ___ x 26 + ___ x 25 + ___ x 24 + ___ x 23 + ___ x 22 + ___ x 21 + ___ x 20
011111002 =
___ x 27 + ___ x 26 + ___ x 25 + ___ x 24 + ___ x 23 + ___ x 22 + ___ x 21 + ___ x 20
IV - Hexadecimal to decimal
D316 =

_______ x 161 + _______ x 160 =

________________

1BF16 =

_______ x 162 + _______ x 161 + _______ x 160 =

________________

A9616 =

_______ x 162 + _______ x 161 + _______ x 160 =

________________

9AFC16 =

______ x 163 _____ x 162 + _____ x 161 + ______ x 160 =

______________

EFD416 =

______ x 163 _____ x 162 + _____ x 161 + ______ x 160 =

______________

V - Encode these decimal numbers in BCD (Binary Coded Decimal).

(1) 9715

Page 3 of 5

(2) 5017

(3) 58794

(4) 69321

(5) 894683

VI - Convert the following hexadecimal numbers to Octal.


BAC416

C416

E1FC16

68D9AB16

32FC8A9A16

VII - Convert the following BCD numbers to decimal. Indicate if a number cannot be a BCD number and
explain why.
(1) 0010100111100000

(2) 1001011000110101

Page 4 of 5

(3) 10010111100000111001100

(4) 110101000100100110000011

(5) 0110101001101010010100100101.100101010100
VIII - Fill in the parity bits for the binary words below:
Odd parity Even Parity

Data Word

________ _______

1111101010110100

________ _______

1111101101111011

________ _______

0001001011000110

________ _______

0101011010110111

________ _______

0101100110110111

Page 5 of 5

S-ar putea să vă placă și