Answer to Question #215444 in Algorithms for nuai

Question #215444
  1. find a regular expression corresponding to each of the following over the alphabets Σ=[0,1]. the language of all strings ending with 1 and not contain 00


  1. the set of strings over Σ={a,b} in which there are at least two occurrence of b between any two occurrence of a




1
Expert's answer
2021-07-09T14:19:48-0400

1.

In a regular expression, the first symbol will be 1 and the last symbol will be zero.

The required regular expression

R = 1 (0+1)* 0 


2.

R = (b + (abbb*a))*



Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS