Write a legal regular expression for the following regular language.
L = { w | w ∊ (0 + 1)* and w contains an even number of 1’s AND an even number of 0’s}.
If you have any queries please comment below.
Please upvote if you like this answer.



Write a legal regular expression for the following regular language. L = { w | w...
For a regular language below, write an equivalent regular expression and draw an FA that accepts the language. L = {w ∈ {a,b}*:w contains the substring aba}
Question 3. Write down a regular expression that denotes the following language. L = {a mb n : m + n is even} Question 4. Let L1 be the language denoted by ab∗ a ∗ and let L2 be the language denoted by a ∗ b ∗ a Write a regular expression that denotes the language L1 ∩ L2.
L = {w|w contains the substring bab} give the regular expression that describes L are the 2 languages L and L* the same language? Is L(aba)* a regular language?
Question 3. Write down a regular expression that denotes the following language. L = {a^m b^n : m + n is even}
Consider the language L below. (a) Is L a regular language? –
Yes, or No. (b) If L is a regular language, design the DFA (using a
State Table) to accept the language L, with the minimum number of
states. Assume , (c) Suppose the
input is “101100”. Is this input string in the language L?
Σ = {0,1} L={w l w has both an even number of O's and an odd number of 1's}
Show that the language L defined below is regular: L={w/ w has an even number of O's and 1 is the last symbol)
Write a right-linear CFG for the regular languages: (∑={0,1}) a. L = { w | w is a binary string which starts and ends with the same symbol} b. L = { w | w is a binary string with at least three 0’s } c. L = { w | w is a binary string with odd number of 0’s and even number of 1’s}
1. Construct a DFSM to accept the language: L = {w € {a,b}*: w contains at least 3 a's and no more than 3 b's} 2. Let acgt} and let L be the language of strings consisting of repeated copies of the pairs at, ta, cg, gc. Construct both a DFSM to accept the language and a regular expression that represents the language 3. Let a,b. For a string w E ', let W denote the string w with the...
Question 1. Let S = {a,b}, and consider the language L = {w E E* : w contains at least one b and an even number of a's}. Draw a graph representing a DFA (not NFA) that accepts this language. Question 2. Let L be the language given below. L = {a”62m : n > 0} = {1, abb, aabbbb, aaabbbbbb, ...} Find production rules for a grammar that generates L.
Let ?= (a, b). The Language L = {w E ?. : na(w) < na(w)) is not regular. (Note: na(w) and nu(w) are the number of a's and 's in tw, respectively.) To show this language is not regular, suppose you are given p. You now have complete choice of w. So choose wa+1, Of course you see how this satisfies the requirements of words in the language. Now, answer the following: (a) What is the largest value of lryl?...