Question 6758 – Computer-Networks
May 7, 2024Question 6680 – Computer-Networks
May 7, 2024Compiler-Design
Question 24
|
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 24 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 24 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