Theory of Computation - Old Questions

Question Answer Details

11.  Define CFG. Prove the following CFG is ambiguous.

S→S+S | S*S | (S) | a

Write the unambiguous CFG for the above grammar.

8 marks
Asked in 2070

Answer

AI Generated Answer

AI is thinking...