In: Computer Science
The syntax of a language is quite simple. The alphabet of the
language is {a, b, d, #} where # stands for a space. The grammar
is
<sentence> → <word> | <sentence> #
<word>
<word> → <syllable> | <syllable> <word>
<syllable>
<syllable> → <plosive> | <plosive> <stop> |
a <plosive> | a <stop>
<plosive> → <stop> a
<stop> → b | d
Which of the following speakers is an imposter? An impostor does
not follow the rules of the language.
a: ba#ababadada#bad#dabbada Chimp:
b: abdabaadab#ada
c: Baboon: dad#ad#abaadad#badadbaad

Option c is an imposter since it does not follow the rule of given grammar.
Explanation : Look at the figure, from the given language, the grammar can be derived. Whereas in part a grammar can be derived. Whereas c is the only part in which imposter is unable to solve the grammar.
Thus, part c is the solution.
