Consider the syntax-directed transition scheme given below with non-terminals {A, B, C} and terminals {a, b, c}

S → AC {print*} | aB{print ***}

A → Sb {print **}

B → c {print *}

C → S {print *}

Using the above SDT, calculate the total number of * that are going to be printed in the output for the input acbac.

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