Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( a ) ( 3 pts ) For each of the following languages give two strings that are members of the language and two strings

(a)(3pts) For each of the following languages give two strings that are members of the language
and two strings that are not. Assume that the alphabet is \Sigma ={a, b}
babab
(a\cup ba\cup bb)\Sigma (\epsi \cup a)b+
(b)(3pts) Give a regular expression for the following language over alphabet \Sigma ={0,1} L0={w| w contains at least two 1s and at most one 0}
(c)(12pts) Give a regular expression for the following languages. The alphabet is {0,1}.
L1={w|wbeginswith1endswith0}
L2={w|wthelengthofwisatmost5}
L3={w|wstartswitha1andhasoddlength,orstartswitha0andhasevenlength} L4={w| is any string except 0 and 11}
(d)(5pts) Use the procedure described in class to convert the following regular expression to nondeterministic finite automata. You need to show your work and intermediate steps for full credit.
(0\cup 01)
(e)(7pts) Use the procedure described in class to convert the following FAs to regular expressions.
You need to show the intermediate steps for full credit

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions

Question

1. Define and explain culture and its impact on your communication

Answered: 1 week ago