Week 1: Practice Problems
Week 1: Practice Problems
2. Which of the following statements are true during the read operation?
4. The register R1 = 12, and R2= 13. The instruction ADD R1, R2 is in memory location
2000H. After the execution of the instruction the value of PC, MAR, IR and R1 are.
a. PC= 2004H; MAR = 2004H; IR= ADD R1, R2; R1= 25.
b. PC= 2000H;MAR = 2000H; IR= ADD R1, R2; R1= 12.
c. PC= 2004H; MAR = 2004H; IR= ADD R1, R2; R1= 12.
d. PC= 2004H;MAR = 2000H; IR= ADD R1, R2; R1= 25.
5. A computer has 1 MB of memory. Each word in this computer is 32 bytes. How many
bits are needed to address any single word in memory?
a. Only one data transfer allowed in one clock cycle for single bus architecture.
b. Parallelism in data transfer is allowed in multi bus architecture only.
c. The multi-bus architecture is supposedly faster than the single-bus
architecture.
d. Both the bus architecture have the same connection complexity.
a. In von-Neumann architecture, the instructions and data are stored in the same
memory module.
b. In Harvard architecture, the instructions and data are stored in separate
memory module.
c. Harvard architecture is more flexible compare to von-Neumann architecture.
d. In Harvard architecture instructions and data accesses can be done in parallel.
9. The minimum number of instructions required to execute the statement A= B+C using
stack-based architecture is ____________.
10. Which statements are true for general purpose registers (GPRs) are.
****