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, 21.06.2019 15:40
Most networking media send data using in which data is represented by only two discrete states: 0s and 1s. a. digital signals b. contiguous signals c. ramp signals d. exponential signals
Answers: 1
question
Computers and Technology, 22.06.2019 02:30
Your boss wants you to configure his laptop so that he can access the company network when he is on the road. you suggest a vpn connection to him. he is very concerned about security and asks you how secure vpn is. what do you tell him?
Answers: 1
question
Computers and Technology, 22.06.2019 06:30
This technology is used to produce high-quality documents that look good on the computer screen and in print. wiki presentation paint desktop publishing
Answers: 3
question
Computers and Technology, 22.06.2019 18:30
Which of the following commands is more recommended while creating a bot?
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, 16.01.2021 01:00
question
Mathematics, 16.01.2021 01:00
Questions on the website: 13722363