1,332 views
1 votes
1 votes
For the given Grammar

S->aA|bB

A->bC|aS

B->aC|bS

C->aB|bA

 

Construct DFA I am getting confused in understanding how to take the final state.

1 Answer

0 votes
0 votes
w:aaaabbbbaaaa

for any random string if the given grammar generate it,then we definitely can draw DFA,otherwise not.

and since the grammar doesnot have any terminating condition ,therefore,it is not possible.

Related questions

718
views
1 answers
1 votes
sushmita asked Sep 16, 2018
718 views
In converting right linear regular grammar to DFA how to determine the final states?Can anyone tell the procedure?
2.5k
views
2 answers
3 votes
Tuhin Dutta asked Nov 22, 2017
2,456 views
...............................................................
862
views
1 answers
0 votes
kumar.dilip asked Jan 19, 2019
862 views
Find the minimum number of states in the DFA which accept the language of all strings that begin or end with 00or 11.