UD Batch 191 EC
Green University of Bangladesh
Department of Computer Science and Engineering
Midterm Examination, Fall 2020
Course Code: CSE 211 Course Title: Computer Architecture
Full Marks: 15
Answer all the following questions:
[The marks on the right hand side indicate marks allocated for that question only.]
1. Define structure and function. Distinguish between computer structure and function. List
and briefly discuss the main structural components of a processor with proper diagram.
Marks Level Descriptions
5 Excellent Definitions and difference both are correctly given.
Components are listed and discussed correctly. Diagrams are
also added and discussed. 5
4 Very Good Definitions and difference both are correctly given.
Components are listed and discussed correctly. But diagram
are absent.
3 Good Definitions and difference both are correctly given.
Components are listed but not discussed.
2 Average Definitions and difference both are correctly given.
1 Poor Only definitions are given.
2. Consider, the hypothetical machine has these instructions:
0011= Load AC from I/O
5
0111= Store AC to I/O
0001 = Load AC from memory
0010 = Store AC to memory
0101 = Add to AC from memory
In these cases, the 12-bit address identifies a particular I/O device. Show the program
execution for the following program:
a. Load AC from device “A”.
b. Add contents of memory location 940.
c. Store AC to device “B”.
Assume that the next value retrieved from device “A” is 3 and that location 940 contains a
value of 2.
Marks Level Descriptions
5 Excellent Final values of registers and memory location are also
correct.
4 Very Good Steps are discussed and updated with proper calculation.
3 Good Steps are identified.
2 Average Registers are identified and instruction are decoded.
1 Poor Required registers are identified.
3. Consider a hypothetical 32-bit microprocessor having 32-bit instructions composed of two
fields: the first byte contains the opcode and the remainder the immediate operand or an
operand address.
a. What is the maximum directly addressable memory capacity (in bytes)? 5
b. Discuss the impact on the system speed if the microprocessor bus has
I. 32-bit local address bus and a 16-bit local data bus
II. 16-bit local address bus and a 16-bit local data bus.
c. How many bits are needed for the program counter (PC) and the instruction register
(IR) and why?
Marks Level Descriptions
5 Excellent Memory calculation is correct. Impacts are discussed
correctly. PC and IR calculation are correct and discussed.
4 Very Good Memory calculation is correct. Impacts are discussed
correctly. PC and IR calculation are correct.
3 Good Memory calculation is correct. Impacts are discussed
correctly.
2 Average Memory calculation is correct and unit is also correct.
1 Poor Memory calculation formula is given.