Access-Control-Methods
May 7, 2024
Congestion-Control
May 7, 2024
Access-Control-Methods
May 7, 2024
Congestion-Control
May 7, 2024

GATE 1991

Question 11

The arithmetic expression : (a + b) * c – d / e * * f is to be evaluated on a two-address machine, where each operands, the number of registers required to evaluate this expression is ______. The number of memory access of operand is __________.

A
3, 4
Question 11 Explanation: 
** is used for exponentiation.
So, in total 3 registers are required and 6 memory operations in total to fetch all operands.
Correct Answer: A
Question 11 Explanation: 
** is used for exponentiation.
So, in total 3 registers are required and 6 memory operations in total to fetch all operands.

Leave a Reply

Your email address will not be published. Required fields are marked *