subject

Here are eight simple grammars, each of which generates an infinite language of strings. these strings tend to look like alternating a's and b's, although there are some exceptions, and not all grammars generate all such strings. s β†’ abs | abs β†’ ss | abs β†’ ab; b β†’ bs | as β†’ ab; b β†’ bs | bs β†’ ab; b β†’ bs | abs β†’ ab | b; b β†’ bss β†’ ab | a; b β†’ bss β†’ ab | ab; b β†’ bsthe initial symbol is s in all cases. determine the language of each of these grammars. then, find, in the list below, the pair of grammars that define the same language. a) g1: s β†’ ab, b β†’ bs, b β†’ bg2: s β†’ ab, b β†’ bs, s β†’ bb) g1: s β†’ ab, b β†’ bs, b β†’ ag2: s β†’ ab, b β†’ bs, b β†’ bc) g1: s β†’ ab, b β†’ bs, b β†’ bg2: s β†’ ab, b β†’ bs, s β†’ abd) g1: s β†’ ab, b β†’ bs, b β†’ abg2: s β†’ ss, s β†’ ab

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 23:00
In which part of a professional email should you try to be brief, but highly descriptive?
Answers: 1
question
Computers and Technology, 23.06.2019 00:30
Which one of the following is considered a peripheral? a software b mouse c usb connector d motherboard
Answers: 2
question
Computers and Technology, 23.06.2019 17:00
The camera still is bad even with the new iphone xr and especially in low light it is even worst because you can see the pixels more if its in low light. if all you apple customers want apple to fix this then lets fill there feedback with complaints about the
Answers: 1
question
Computers and Technology, 23.06.2019 18:00
Which finger presses the h key on the keyboard? index finger on the left hand pinky finger on the right hand index finger on the right hand thumb on the left hand
Answers: 1
You know the right answer?
Here are eight simple grammars, each of which generates an infinite language of strings. these strin...
Questions
question
Mathematics, 23.12.2019 07:31
question
Mathematics, 23.12.2019 07:31
Questions on the website: 13722367