You are on page 1of 8

13/10/2020

Tutorial 1: Digital Systems & Binary


Numbers, Boolean Algebra, and
Logic Gates
ENGG 2020

Take Home Exercise 1


• Convert (0.1285)10 to base-8
• Convert (0.828125)10 to base 2

1
13/10/2020

Take Home Exercise 1 - Answer

Take Home Exercise 1 - Answer

2
13/10/2020

Take Home Exercise 2


• Convert (18.6)9 to base-11

Take Home Exercise 2 - Answer

3
13/10/2020

Take Home Exercise 3


• Convert (1011011.1010111)2 to base-8
• Convert (AF.16C)16 to base-8

Take Home Exercise 3 - Answer

4
13/10/2020

Take Home Exercise 3 - Answer

• Take Home Exercise 4 :


A and B are integer variables in a computer
program, with 𝐴 = (25) and B = −(46) .
Assuming that the computer uses 8-bit 2’s
complement arithmetic, show how it would
compute
A+B, A-B, B-A, -A-B

10

5
13/10/2020

11

• Take Home Exercise 5 :


Encode the message CATCH 22 in ASCII code
with even parity and group the coded word into
16-bit segments
Hint:
There is a
blank in
between
‘H’ and ‘2’

12

6
13/10/2020

13

Take Home Exercise 6


Simplify: (A + C)(AD + AD’) + AC + C

Answer: (A+C)(AD+AD’)+AC+C
= (A+C)A(D+D’)+C
= (A+C)A+C
= A+AC+C
= A+C

14

7
13/10/2020

Take Home Exercise 7


TRUE OR FALSE?

Answer: True
ac’ + a’c’ + b’c+ b’c’ +a’c + abc
= c’ + b’ + a’c + abc
= c’+a’+b’+abc
= (abc)’ + abc
=1

15

16

16

You might also like