in Compiler Design edited by
3,711 views
1 vote
1 vote

On translating the expression given below into quadruple representation, how many operations are required?

$$(i\ast j)+(e+f)\ast(a\ast b+c)$$

  1. $5$
  2. $6$
  3. $3$
  4. $7$
in Compiler Design edited by
by
3.7k views

1 Answer

3 votes
3 votes

6 operation required

Answer=B

1)

*

i

j

t1

2)

+

e

f

t2

3)

*

a

b

t3

4)

+

t3

c

t4

5)

+

t1

t2

t5

6)

*

t5

t4

t6

edited by
Answer:

Related questions