just need to answer (e , f , g )
I done the answer in a,b,c,e,f,g
Main important answer is e,f,g
just need to answer (e , f , g ) 5. Prove that the following languages...
5. Prove that the following languages are not regular: (a) L = {a"bak-k < n+1). (b) L-(angla": kメn + 1). (c) L = {anglak : n = l or l k} . (d) L = {anb : n2 1} L = {w : na (w)关nb (w)). "(f) L = {ww : w E {a, b)'). (g) L = {w"www" : w E {a,b}*}
Show that the following languages are not regular. Parts(b) and (c) 5. Prove that the following languages are not regular: (a) L = {amb’ak: k sn +1}. (b) L = {a” b'ak : kun +1}. (c) L = {a"b'ak: n=1 or 1 # k}.
Prove that the following languages are not regular. You may use the pumping lemma and the closure of the class of regular languages under union, intersection, and compliment. a){} b){} c) { is not a palindrome} *d)} 0"1"0" m,n>0
Prove that the following are not regular languages. Just B and F please Prove that the following are not regular languages. {0^n1^n | n Greaterthanorequalto 1}. This language, consisting of a string of 0's followed by an equal-length string of l's, is the language L_01 we considered informally at the beginning of the section. Here, you should apply the pumping lemma in the proof. The set of strings of balanced parentheses. These are the strings of characters "(" and ")"...
disprove that the given lan 4. [20 Points For each of the following languages, prove or guage is regular (a) L1www e {a,b}*} {w w E {a, b}* and no two b's in w have odd number of a's in between}. (b) L2 (c) L3 a" (d) L4 vw n = 3k, for k > 0}. a, b}*} disprove that the given lan 4. [20 Points For each of the following languages, prove or guage is regular (a) L1www e...
Prove that each of the following languages is not regular A) L= {a^n b^m c^k : k = 2n + 3m and n, m, k ≥ 0} B) L = {a^n : n is a power of 5}
5. (20 pt.) Prove that the class of regular languages is closed under reverse. That is, show that if A is a regular language, then AR = {wR W E A} is also regular. Hint: given a DFA M = (Q,2,8,90, F) that recognizes A, construct a new NFA N = (Q', 2,8', qo',F') that recognizes AR and justify why your construction is correct.
Prove or Disprove: Let p E P(F) and suppose that deg p > 1 and p is irreducible. Then p(a)メ0 for all a E F.
1)Convert the following context free grammar to Chomsky Normal Form S → a X | Yb X → S | λ Y → b Y | λ 2)Some languages distinguish between uppercase and lowercase in identifiers. What are the pros and cons of this design decision? 3)Use the pumping lemma to prove that the following languages are not regular. (The alphabet is Σ = {a, b}.) a) L = {an b1 ak: k >= n+ l} b) L = {ww:...
Problem 1 Create a CFG that generates each of the languages below. [10 points] [10 points] wR is a substring of r if there are strings y, z E {a, b)" such that r = ywR2. A = {w I w E {a, b)" has more as than bs} B = {w#r l w,xe(a, b)" and wR a. b. is a substring of r). Rememb er, c. [10 points] C = {amb"ck 1 m, n > 0 and k =...