NPTEL Advanced Computer Architecture Week 4 Assignment Answers 2024

Join Our WhatsApp Group Join Now
Join Us On Telegram Join Now

NPTEL Advanced Computer Architecture Week 4 Assignment Answers 2024

1. Consider the following statements.

S1: Instructions that are being written into the IW(Instruction Window) during a broadcast will never miss the broadcast.
S2: Along with sending the broadcast message, the avlbl bit is set to ‘1’.

  • Only S1 is true
  • Only S2 is true
  • Both S1 and S2 are true
  • Both S1 and S2 are false
Answer :- For Answer Click Here 

2. The load instructions ___________ the processor’s state. Stores can be sent to the memory system only when they are the _____________ instruction in the pipeline.

  • update, newest
  • don’t update, newest
  • update, oldest
  • don’t update , oldest
Answer :- For Answer Click Here 

3. Which among the following is not a valid basic search operation in a load-store queue?

  • Search all the stores before a load
  • Search all the stores after a store
  • Search all the loads after a store
  • Search all the stores before a store
Answer :- For Answer Click Here 

4. Consider the following statements.

S1: Every instruction that has been fetched and decoded occupies an entry in the ROB.
S2: The instructions that are ready (finished execution) can be committed and removed from the ROB in any order.

  • Only S1 is true
  • Only S2 is true
  • Both S1 and S2 are true
  • Both S1 and S2 are false
Answer :- 

5. When is a load removed from the LSQ (load store queue)?

  • After all the stores after it have been resolved
  • After all the stores before it have been resolved
  • At commit time
  • When there are no loads before it in the LSQ
Answer :- 

6. What do we do in case of an exception or misprediction? (Select the most appropriate option.)

  • Mark the instruction that has suffered from the exception/mis-prediction, in the ROB.
  • Flush all the instructions in the ROB immediately.
  • Retire the topmost instruction in the ROB before handling the exception.
  • None of these
Answer :- For Answer Click Here 

7. Consider the following statements.

S1: The RRF maintains the commit time checkpoint mappings of architectural registers to physical registers.
S2: At recovery time, the values in the RRAT are transferred to the PRF.

  • Only S1 is true
  • Only S2 is true
  • Both S1 and S2 are true
  • Both S1 and S2 are false
Answer :- 

8. Consider the following statements.

S1: Branch prediction is also one form of speculation.
S2: Saturating counters can be used in address speculation using the predict last address scheme.

  • Only S1 is true
  • Only S2 is true
  • Both S1 and S2 are true
  • Both S1 and S2 are false
Answer :- 

9. Which of the following statements is true regarding load-store dependence speculation? (Select the most appropriate option.)

  • If there are collisions predicted, the load is directly sent to the cache.
  • We attempt to predict a collision between a store and a preceding load, which may access the same address in memory.
  • The use of store-to-load distance with the collision history table (CHT) is a good optimization with no overheads.
  • None of these.
Answer :- 

10. Consider the following statements.

S1: A confidence table can be made of saturating counters.
S2: Value predictors can be designed based on profiling results.

Only S1 is true
Only S2 is true
Both S1 and S2 are true
Both S1 and S2 are false

Answer :- For Answer Click Here