computer_architecture_questions
computer_architecture_questions
Question 1: Choose the correct option of the following (any seven only):
(d) A computer with cache access time of 100ns, main memory access time of 1000ns, and hit ratio of 0.9
Correct Answer: (ii) 200 ns
Explanation: The average memory access time (AMAT) is calculated as:
AMAT = (0.9 × 100ns) + (0.1 × 1000ns) = 190ns (Approx. 200ns).
(h) How many 128x8-bit RAMs are required to design a 32kx32-bit RAM?
Correct Answer: (ii) 1024
Explanation: To design a 32kx32-bit RAM, 1024 units of 128x8-bit RAM are required.
Question 2: What are the hazards in pipeline architecture? Explain its types with suitable examples.
Question 3: What is addressing mode? Why do computers use addressing mode techniques?
Addressing mode specifies how the operand of an instruction is to be interpreted.
Reasons: Flexibility, Efficiency, Simplicity.
Question 5: Design a 4-bit carry-look ahead adder and explain its operation with an example.
Carry-Look Ahead Adder uses Carry Generate (G), Carry Propagate (P), and Carry Out (C_out) to speed up
addition operations.
Example: Adding A = 0111 and B = 0011 results in Sum = 1101.