Access-Control-Methods
May 7, 2024Congestion-Control
May 7, 2024GATE 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 __________.
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.
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.
So, in total 3 registers are required and 6 memory operations in total to fetch all operands.
Subscribe
Login
0 Comments