360 views
0 0 votes
A run in a string is a substring of length at least two, as long as possible and consisting entirely of the same symbol. For instance, the string abbbaab contains a run of b's of length three and a run of a's of length two. Find dfa's for the following languages on {a,b}.
 (a) L= {w: w contains no runs of length less than four}.
 (b) L= {w: every run of a’s has length either two or three}.
 (c) L= {w: there are at most two runs of a’s of length three}.
 (d) L= {w: there are exactly two runs of a’s of length 3}.

Please log in or register to answer this question.

Position:
Show:

Related questions

2 2 votes
1 answers 1 answer
2.5k
2.5k views
Naveen Kumar 3 asked Mar 30, 2019
2,495 views
Find an nfa without $λ$-transitions and with a single final state that accepts the set {$a$} $∪$ {$b^n : n ≥1$}.
1 1 vote
1 1 answer
797
797 views
Naveen Kumar 3 asked Mar 22, 2019
797 views
Construct an nfa with three states that accepts the language {$ab,abc$}*.
0 0 votes
1 1 answer
2.3k
2.3k views
Naveen Kumar 3 asked Mar 19, 2019
2,265 views
A run in a string is a substring of length at least two, as long as possible and consisting entirelyof the same symbol. For instance, the string $abbbaab$ contains a run ...
1 1 vote
1 1 answer
3.2k
3.2k views
Ananya Jaiswal 1 asked May 3, 2018
3,223 views
how to draw dfa for this?L= {w: there are at most two runs of a’s of length three}.