NPTEL Advanced Computer Architecture Week 2 Assignment Answers 2025
1. Which of the following dependencies are not respected by an out-of-order processor?
- program order
- data
- control
- None of the options
Answer :- For Answers Click Here
2. In an out-of-order processor, register renaming is done in __________ order, and it converts the ________________registers to ____________ registers.
- out of, architectural, physical
- program, physical, architectural
- out of, physical, architectural
- program, architectural, physical
Answer :-
3. What are the advantages of having a highly accurate branch predictor in an out-of-order processor? Choose the most appropriate option.
- Enable a large instruction window.
- Maximize the ILP of a program.
- Increase the IPC of an out-of-order processor.
- All of these
Answer :-
4. Select the most appropriate option for branch statements in an out-of-order processor.
S1: To predict the second branch, we do not need to predict the first branch.
S2: If we have branches in a bundle of 4 instructions, the instructions may not be contiguous.
- S1 is true, S2 is false
- S1 is false, S2 is true
- Both S1 and S2 are true
- Both S1 and S2 are false
Answer :-
5. Which of the following metrics of a processor does not get affected negatively by increasing the size of the instruction status table?
- The area of the chip.
- Power consumption.
- The latency of a program.
- The accuracy of the branch predictor.
Answer :-
6. Select the correct statement regarding a branch predictor?
- We do not use the branch predictor when we encounter unconditional branch and call/return instructions.
- We do not use the branch predictor when we encounter only call/return instructions.
- We do not use the branch predictor when we encounter only unconditional branch instructions.
- None of the options.
Answer :- For Answers Click Here
7. In a simple bimodal predictor, the current prediction is equal to the _____________.
- first branch outcome
- most frequent branch outcome
- last branch outcome.
- least frequent branch outcome
Answer :-
8. In a PAg predictor, which bits of the PC are used to index the table of GHRs (global history registers)?
- k LSB bits
- k MSB bits
- k continuous bits from somewhere in the middle.
- Any randomly chosen k bits of the PC can be used.
Answer :-
9. In a Gap predictor that uses n bits of the program counter and k bits of the GHR, how many entries does the PHT have?
- 2n+k
- 2n
- 2k
- 2n*k
Answer :-
10. For a very biased branch, we prefer to use a ____________. Try to find the most appropriate option that is the most accurate as well as the most hardware-efficient.
- Bimodal predictor with saturating counters.
- Pap predictor
- Pag predictor
- Bimodal predictor without saturating counters.
Answer :- For Answers Click Here