1,176 views
2 2 votes

Can anyone please explain method to solve such example which contains equivalence classes.

2 Answers

0 0 votes
I think answer is 4
0 0 votes

ans is 2

use equivalence method to solve this

take (3,4) (1,2,5,6) as g1 and g2

 here (3,4) are final states and (1,2,5,6) are non final states

states a b
1 g2 g1
2 g2 g2
5 g2 g2
6 g2 g1

as (1,6) are having same values take them as one group.

as(2,5) have same value take them as one group

finally we have (3,4),(1,6) and (2,5)

now draw the the transition diagram with the state name 34,16,25. follow the transition table which is given in the question.

we find 16 and 34 states are connected and 25 is unreachable.

so we have only 2 equivalence classes

Position:
Show:

Related questions

0 0 votes
1 answers 1 answer
339
339 views
Sudeep 1 asked Oct 16, 2025
339 views
Give the regular expression that derives all strings of a's and b's where each string contain even occurrences of substring aba) (abab)*b) (b + abab)*c) (b + aa*bb*aa*b)*...
1 1 vote
3 3 answers
1.2k
1.2k views
Pratik.patil asked Oct 30, 2023
1,179 views
Which of the following regular expression represent the set of all the strings not containing $100$ as a substring ?$0^*(1^*0)^*$$0^*1010^*$$0^*1^*01^*$$0^*(10+1)^*$
0 0 votes
1 answers 1 answer
1.4k
1.4k views
h4kr asked Dec 4, 2022
1,407 views
I don’t get the explanation, How do you categorize grammer on the basis of production?
2 2 votes
1 1 answer
623
623 views
Souvik33 asked Nov 23, 2022
623 views
If L and $L^{c}$ both are CFL, the L must be DCFL a. TRUE b.FALSE