Which of the following statements is true ?
The union of two context free languages is context free.
Context-free languages are closed under union: for grammars with start symbols S1 and S2, a new start rule S → S1 | S2 generates their union. They are not closed under intersection or complement in general. Some CFLs require nondeterministic pushdown automata.
The language L = {a ib c i | i ≥ 0} over the alphabet {a, b, c} is :
Consider the following languages :
L 1 = {a m b n | m ≠ n}
L 2 = {a m b n | m = 2n + 1}
L 3 = {a m b n | m ≠ 2n}
Which one of the following statement is correct ?
Consider the following statements about Context Free Language (CFL):
Statement I: CFL is closed under homomorphism.
Statement II: CFL is closed under complement.
Which of the following is correct?
Given below are two statements
Statement I : The family of context free languages is closed under homomorphism
Statement II : The family of context free languages is closed under reversal
In light of the above statements, choose the correct answer from the options given below
Match List-I with List-II:
Where L1: Regular language
L2: Context-free language
L3: Recursive language
L4: Recursively enumerable language
List-1 | List-2 |
(a) L' 3 U L 4 | (i) Context-free language |
(b) L' 2 U L 3 | (ii) Recursively enumerable language |
(c) L 1* ∩ L 2 | (iii) Recursive language |
Choose the correct from those given below: