407 views
0 votes
0 votes
Regular expression for 0's and 1's that have odd no.of 1's

2 Answers

2 votes
2 votes
Regular expression for this language is  0*1(0 + 10*1)*

 

1 votes
1 votes
Given language L has to accept all strings over symbol {0,1} having odd number of 1s

L = {1,010,01110,010101, ……….}

First draw DFA for it and then find regular expression.

Regular expression for this language is  0*1(0 + 10*1)*

Related questions

0 votes
0 votes
1 answer
1
Mayankprakash asked Dec 20, 2018
560 views
Do I need to study computability and decidability for gate 2019?Please suggest
0 votes
0 votes
0 answers
2
0 votes
0 votes
1 answer
3
surbhijain93 asked Sep 7, 2018
2,660 views
Hi,Could someone please tell the difference between computability and decidability?Thanks
0 votes
0 votes
0 answers
4