The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
0 votes
Construct the Minimum FA that accepts all the string of 0's and 1's where

A)Every String start and end with Zero.

B)Every string Start and end with Same Symbol.
asked ago in Theory of Computation by (59 points) | 87 views
You can do it by construction the regular expression for the FA.

For the first, it will be: 0(0+1)*0 + 0

For the second, it will be: 0(0+1)*0 + 1(1+0)*1 + 0 + 1
Can you please give the State Diagram
What have you tried? If you show where you are stuck, maybe other people can help you.

1 Answer

0 votes
  • Starting and ending with symble 0

Starting and endin with same symble



answered ago by Boss (19.1k points)
edited ago by
This is correct, but don't you think OP should at least show what he is attempted before he's given an answer?
This way, he'll blindly copy your answer and may not learn to solve a similar question of a different type.
why do you not include epsilon?

Epsilon is also start and end with the same symbol
Updating now
epsilon is not a symbol of alphabet, then how you include it?

please clarify me.
Yes shubham is right
@shubham, if it is in the language then it should be included in regular expression...

my doubt is is epsilon should be in language?


epsilon doesn't start and end with any symbol of input alphabet

In the above language, we have to select those languages which start and end with the same symbol.

B) L'={ε,0,1,00,11,010,101,........}

we can write ε=εεε

hope you understand now.
@ shaik masthan you are correct i misread the qsn..thanks for correcting epsilon should not be included..!
@suraj patel, then cbc also in language. it is also starting and ending with same symbol.
No, because the acceptable string will only the forms of 0's and 1's not a,b,c.
how you recognizing that a,b,c is not in input alphabet, as the same way epsilon also not belongs to the language.
ok, let's think about some regular expression rules.

1)  0ε=0=ε0

suppose if we replace ε by a or b or c

0a=a or a=a0 ?
can you perform 1st part using concatenation.

please show me.

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

36,994 questions
44,570 answers
43,636 users