1,264 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

1 votes
1 votes
1 answer
2
sushmita asked Sep 16, 2018
690 views
In converting right linear regular grammar to DFA how to determine the final states?Can anyone tell the procedure?
3 votes
3 votes
2 answers
3
0 votes
0 votes
1 answer
4
kumar.dilip asked Jan 19, 2019
776 views
Find the minimum number of states in the DFA which accept the language of all strings that begin or end with 00or 11.