You are on page 1of 5

CSC 159: Computer Organization|

REVISION QUESTION

1. Build a truth table for the following equation:

(6 marks)

2. Build a logic circuit for the following equation:

(4 marks)

3. Show the behavior of the following circuit with a truth table:

1 All the best!


CSC 159: Computer Organization|
REVISION QUESTION

B Y

(6 marks)

4. Draw a circuit diagram corresponding to the following Boolean expression:

Y= (AB + C) D

(4 marks)

a) Convert the following numbers to the respective numbering systems. Show your work.

i) ABCDE16= ____________2=______________10

2 All the best!


CSC 159: Computer Organization|
REVISION QUESTION

ii) 10010001101002 = ____________16=______________8

b) Perform each of the following operations using 2’s complement.

i) 1110-2510 (8 bits)

ii) 591C16-7BBC16 (16 bits)

c) Convert the following number to IEEE single-precision format. Give the results in
hexadecimal. The number is -27/256.

3 All the best!


CSC 159: Computer Organization|
REVISION QUESTION

d) Convert 2C2E000016 IEEE single precision floating point number to decimal.

e) Given the contents of registers as below:

AX = 25BDh

4 All the best!


CSC 159: Computer Organization|
REVISION QUESTION

BX = 5267h
CX = A564h
DX = 2478h
SP = FFE0h

a. Build a stack after the following instructions are executed. State the contents of registers
AX, BX, CX, DX and SP after the instructions are executed.
PUSH AX
PUSH BX
POP BX
PUSH AX
POP BX

5 All the best!

You might also like