Question 6758 – Computer-Networks
May 7, 2024
Question 6680 – Computer-Networks
May 7, 2024
Question 6758 – Computer-Networks
May 7, 2024
Question 6680 – Computer-Networks
May 7, 2024

Compiler-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 __________.

A
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.
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.
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!