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 in Theory of Computation by (71 points) | 138 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 by Boss (28.8k points)
edited 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.

epsilon is one of the string which belongs to above language .

R.E should give every possible string in epsilon need to be included.!
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.

@suraj patel, my intension is not querying with you...

if you are saying ∈ also in Language then, starting and ending with 1 also should be in language

due to 1 = ∈ . 1 . ∈

11 = ∈ . 11 . ∈

if you are not getting comment one more time....


Related questions

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
48,436 questions
52,746 answers
68,219 users