Midterm COA Oct 2023 - SET A
Midterm COA Oct 2023 - SET A
Mid Exam
CE 313: Computer Organization and Architecture
First Semester, 2023-2024
th
(Exam date: 10 of October, 2023)
Total Marks: 20 Total Time: 60 minutes
Instructions to Students
Question 1: Circle ONE choice only for each of the following Multiple-Choice Questions.
(5 Marks)
4. If R1 contents in binary is 01011001, then the content of R1 after executing the following
micro-operation is:
R1← CIL R1
a. 10110010
b. 01100111
c. 11011001
d. 10110011
6. Let us consider R1=10101010, and ASHL (R1) is performed three times then the R1 has the
contents of _____.
a. 01010000
b. 10101010
c. 00000000
d. 10101000
7. The control signals are generated in the control unit and provide control inputs for the
a. multiplexers in the common bus
b. control inputs in processor registers
c. micro operations for the accumulator
d. All of the above
a. B, 1
b. B, 0
’,
c. B 1
’,
d. B 0
1. Draw and briefly explain the three Basic computer instruction code formats.
[3 Mark]
******************************
2. Which arithmetic shift operation results in an overflow? What can be used to predict this
overflow? Support your answer with a diagram.
[3 Marks]
3. Draw the control unit of the basic computer and label as well as explain each component
with their corresponding signals clearly.
[4 Marks]
4. A digital computer has a common bus system for 16 registers of 32 bit each. The bus is
constructed with multiplexers.
[3 Marks]
******************************
5. Explain the direct and indirect addressing with an example. What is an effective address?
[2
Marks]
C7T3: SCß0
Question 4: Having a digital System that has 4 Registers (A, B, C,
and D) each of 4-bit size. Implement the Bus Circuit using three-
state buffer gate that Selects any ONE of them to be provided as an
input to any other circuit.
(6 marks)
Exam Attachments
Page 8 of 9