Consider the following 3-address code given below.

1.   i = 1

2.   if <= goto 4

3.   goto 9

4.   r1 = a * b

5.   r2 = r1 + c

6.   x = r2

7.   j = j + 1

8.   goto 2

9.   k = k * 2

The number of nodes in the control flow graph (a), Number of edges in the control flow graph (b), Number of basic blocks in the control flow graph (c), and Number of the basic control blocks in the control flow graph (d). So find "dcba". (Hint: suppose a = 1, b = 2, c = 3 and d = 4 so answer will be 4321)

Enter numerical value using the virtual keypad. Round off where necessary.

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation