You are on page 1of 1

BIRLA INSTITUTE OF TECHNOLOGY & SCIENCE, PILANI - K. K.

BIRLA GOA CAMPUS


DIGITAL DESIGN Tutorial 1

Ex 1: Convert to hexadecimal and then to binary:

1. (757.25)10

2. (1063.5)10

Ex 2: Convert to base 6: (3BA.25)14 (do all of the arithmetic in decimal).


Ex 3: Add the following numbers in binary using 2’s complement to represent negative numbers.
Use a word length of 6 bits (including sign) and indicate if an overflow occurs.

1. 21 + 11

2. (-14) + (-32)

3. (-25) + 18

4. (-12) + 13

5. (-11) + (-21)

Ex 4: Devise a scheme for converting base 3 numbers directly to base 9. Use your method to
convert the following number to base 9: (1110212.20211)3
Ex 5: Construct a table for 7-3-2-1 weighted code and write 3659 using this code.
Ex 6: Assume three digits are used to represent positive integers and also assume the following
operations are correct. Determine the base of the numbers. Did any of the additions overflow?

1. 654 + 013 = 000

2. 024 + 043 + 013 + 033 = 223

3. 024 + 043 + 013 + 033 = 201

Ex 7: Is it possible to construct a 5-3-1-1 weighted code? A 6-4-1-1 weighted code? Justify your
answers.
Ex 8: Is it possible to construct a 5-4-1-1 weighted code? A 6-3-2-1 weighted code? Justify your
answers.

You might also like