FORMAL LANGUAGE & AUTOMATA THEORY
100406Module 3: Context-Sensitive Languages
Q1c. The language: L = \{ a^m b^n c^{m+n} \mid m,n \ge 1 \} is: (i) regular (ii) context-free but not regular (iii) context-sensitive but not context-free (iv) type-0 but not context-sensitive20212m
Module 3: Context-Sensitive Languages
View this question on its own page →The language:
is:
(i) regular
(ii) context-free but not regular
(iii) context-sensitive but not context-free
(iv) type-0 but not context-sensitiveQ1d. The language \{ a^n b^n c^{n+m} \mid m, n \ge 1 \} is: (i) regular (ii) context-free but not regular (iii) context-sensitive but not context-free (iv) type 0 but not context-sensitive20232m
Module 3: Context-Sensitive Languages
View this question on its own page →The language is:
(i) regular
(ii) context-free but not regular
(iii) context-sensitive but not context-free
(iv) type 0 but not context-sensitiveQ1e. Which production is not allowed in a CSG? (i) AB \rightarrow BA (ii) A \rightarrow \epsilon (iii) A \rightarrow a (iv) a B \rightarrow a b20252m
Module 3: Context-Sensitive Languages
View this question on its own page →Which production is not allowed in a CSG?
(i)
(ii)
(iii)
(iv)Q6a. Prove that every context-free language is context-sensitive, but the converse is not true. Support your answer with a suitable language example.20257m
Module 3: Context-Sensitive Languages
View this question on its own page →Prove that every context-free language is context-sensitive, but the converse is not true. Support your answer with a suitable language example.
Q6b. Given the following context-sensitive grammar: S \rightarrow aSBC | abc CB \rightarrow BC aB \rightarrow ab bB \rightarrow bb bC \rightarrow bc cC \rightarrow cc Identify the language generated by the grammar. Derive the string aabbcc step by step.20257m
Module 3: Context-Sensitive Languages
View this question on its own page →Given the following context-sensitive grammar:
Identify the language generated by the grammar. Derive the string aabbcc step by step.
Q7a. Define a Linear Bounded Automaton (LBA). Design an LBA that accepts the language L = \{a^n b^n c^n | n \ge 1\}. Explain how tape length is restricted.20257m
Module 3: Context-Sensitive Languages
View this question on its own page →Define a Linear Bounded Automaton (LBA). Design an LBA that accepts the language . Explain how tape length is restricted.