Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

The syntax of a language is quite simple. The alphabet of the language is {a, b,

ID: 3846164 • Letter: T

Question

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

b: abdabaadab#ada

c: dad#ad#abaadad#badadbaad

Explanation / Answer

option b is a imposter because that string not be generated by the grammer.

abdabaadad can not be generated by only <word> so this is generating without rule of the grammer.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote