COA Practice Problems
COA Practice Problems
JAN-MAY 2025
Amdahl’s law and its proof
For example, if a system has a single bottleneck that occupies 20% of the total
execution time, and we add 4 more processors to the system, the speedup would
be:
S = 1 / (1 – 0.2 + (0.2 / 5))
S = 1 / (0.8 + 0.04)
S = 1 / 0.84
S = 1.19
This means that the overall performance of the system would improve by about 19%
with the addition of the 4 processors.
CPU Execution Time
MIPS in COA
Frequency
Memory Interfacing Example1
Memory Interfacing Example2
Practice Problem on Addressing Modes
Practice Problem on Addressing Modes
Practice Problem on Addressing Modes
Practice Problem on Addressing Modes
Practice Problem on Addressing Modes
Practice Problem on Addressing Modes
Practice Problem on Addressing Modes
Practice Problem on Addressing Modes
Create a data path that implements a single clock cycle approach to execute
the data transfer, arithmetic, and branching instructions.
Describe the schematic representation of a sequential multiplier that minimizes
the hardware needs for multiplying two numbers?
Write a control sequence for an unconditional branching instruction, namely a
JUMP to memory address 4500 stored in register R1, for a single bus architecture.
• Z is the register and Zin and Zout are the input and output gating signal of register Z.
• Y is the register and Yin and Yout are the input and output signals of Y.
• MAR, or “Memory Address Register,” is part of a computer's central processing unit (CPU). CPUs possess memory addresses of data that must be fetched
and stored from or to the main memory. The memory address register is essential for data coordination and transfers between the CPU and memory.
• The Memory Data Register (MDR) in a computer system temporarily holds the data that is being transferred to or from the memory. During a read
operation, it stores the data fetched from the memory, and in a write operation, it holds the data ready to be stored in memory.
Write a control sequence for an unconditional branching instruction, namely a
JUMP to memory address 4500 stored in register R1, for a single bus architecture.
Consider a pipeline having 4 phases with duration 60, 50, 90 and 80 ns. Given latch delay is
10 ns.
Pipeline time for 1000 tasks = Time taken for 1st task + Time taken for
remaining 999 tasks
= 1 x 4 clock cycles + 999 x 1 clock cycle
= 4 x cycle time + 999 x cycle time
= 4 x 100 ns + 999 x 100 ns
= 400 ns + 99900 ns
= 100300 ns
Part-05: Sequential Time For 1000 Tasks-
Non-pipeline time for 1000 tasks = 1000 x Time taken for one task
= 1000 x 280 ns
= 280000 ns
Practice Problem on Pipelining
Consider a pipeline having 4 phases with duration 60, 50, 90 and 80 ns. Given
latch delay is 10 ns.
Part-06: Throughput-
2025