Consider the grammar with the following translation rules and A as the start symbol.

A →  A1 * B       {A.value = A1.value * B.value}

A → B              {A.value = B.value}

B → B1 + C      {B.value = B1.value + C.value}

B → C              {B.value = C.value}

C → digit          {C.value = digit.value}

What is the value of the expression 96 + 4 * 0.25 * 3.9 + 0.1 in the above language?

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