Consider the grammar G S→ SxS | y For a string “yxyxyxy”, the number of parse…

Consider the grammar G
S→ SxS | y
For a string “yxyxyxy”, the number of parse tree that can be generated are ______

Answer: 5

Attempted by 32 students.

Show answer & explanation

Correct answer: 5

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…