asked 150k views
3 votes
Which of the following strings does not belong to the language of this grammar? \[ S \rightarrow a|b| c|x S S|+S S \] \[ ++a b x b c \] (B) \( x a x b x c \) (C) \( x a+b c \) (D) \( x+a b+a c \)

asked
User Adamp
by
9.1k points

1 Answer

5 votes

Answer:

The string given in the Option B doesn't belong to the language of the given grammar.

Step-by-step explanation:

please see the enclosed attachment for detailed explanation and step by step working.

Which of the following strings does not belong to the language of this grammar? \[ S-example-1
answered
User DavidPostill
by
8.8k points