

2. (50 pts) Given three context-free languages N, L and M, find if the language (LON)U(NOM)...
1. (50 pts) Given two context-free languages L and M, find if the language LUM is empty.
2. (6 pts) Use the pumping lemma for context-free languages and the string s = ap + 1 bpcP+1 to show that L (amb"cm | 0 < n < m} is not context-free.
2. (6 pts) Use the pumping lemma for context-free languages and the string s = ap + 1 bpcP+1 to show that L (amb"cm | 0
Question 3 (5 Points) Find context free grammars L = a"b",n is a multiple of three Find context-free grammars for the following languages (with n 2 0, m 2 0) ** L = {a"bm : n < m+3}. (a) (b) L= {a"bm : n = m - 1}. L = {a"bm 2m}. L {a"b" 2n < m < 3n}. (c) (d)
Find a Context-free grammar G that generates the language L= 1n 0m | n ≥ 2m+1, m ≥ 0 U 1n 0m | 0≤n≤3m+2
Give a context free grammar for the language L where L = {a"bam I n>:O and there exists k>-o such that m=2"k+n) 3. Give a nondeterministic pushdown automata that recognizes the set of strings in L from question 3 above. Acceptance should be by accept state. 4. 5 Give a context-free grammar for the set (abc il j or j -k) ie, the set of strings of a's followed by b's followed by c's, such that there are either a...
Find if the following problems are algorithmically decidable and prove that your answers are correct. Given three context-free languages N, L and M, find if the language (L⋂N)⋃(N⋂M) is empty Please help.
1. Show that the following languages are context-free. You can do this by writing a context free grammar or a PDA, or you can use the closure theorems for context-free languages. For example, you could show that L is the union of two simpler context-free languages. (d) L = {0, 1}* - L1, where L1 is the language {1010010001…10n-110n1 : n n ≥ 1}.
Provide context-free grammars for the following languages : (a) {(a^n)(b^m) | n ≥ (2^m)}. (b) {(a^i)(b^j)(c^k)(d^l)| i + j = k + l}.
construct a context free grammar for the language
l {a^nc^mb^n: n,m Greaterthanorequalto 0}