Q: 1 Register renaming is done in pipelined processors -
As an alternative to register allocation at compile time
For efficient access to function parameters and local variables
To handle certain kinds of hazards
As part of address translation
[ Option C ]
Register renaming is a technique used in modern superscalar and pipelined processors to eliminate a specific type of data hazard called WAR (Write-After-Read) and WAW (Write-After-Write) hazards. These are also known as "Name Dependencies" because they arise not from a true data dependency, but from the reuse of a limited number of architectural registers.
Q: 2 Which of the following is true about CISC architecture?
(I) Large code size.
(II) Reduced instruction set.
Both I and II
Neither I Nor II
Only I
Only II
[ Option C ]
CISC stands for Complex Instruction Set Computer. It is a processor architecture design that uses a large and complex set of instructions.
CISC Processors:
| RISC (Reduced Instruction Set Computer) | CISC (Complex Instruction Set Computer) |
|---|---|
| Uses a small and simple instruction set. | Uses a large and complex instruction set. |
| Simpler hardware design. | More complex hardware design. |
| Each instruction usually executes in one clock cycle. | Instructions may take multiple clock cycles. |
| Fixed-length instructions. | Variable-length instructions. |
| Fewer addressing modes. | Many addressing modes. |
| Lower power consumption. | Higher power consumption. |
| Follows Load/Store architecture. | Allows memory-to-memory operations. |
| Easier and more efficient pipelining. | Pipelining is more complex due to variable instruction size. |
| Higher dependence on compiler optimization. | Lower dependence on compiler optimization. |
| Examples: ARM, MIPS, SPARC | Examples: Intel x86, VAX |
Thank you so much for taking the time to read my Computer Science MCQs section carefully. Your support and interest mean a lot, and I truly appreciate you being part of this journey. Stay connected for more insights and updates! If you'd like to explore more tutorials and insights, check out my YouTube channel.
Don’t forget to subscribe and stay connected for future updates.