Consider the languages L1 = {0i1j | i ≠ j}. L2 = {0i1j | i = j}. L3 = {0i1j | i = 2j + 1}. L4 = {0i1j | i ≠ 2j} Which one of the following statements is true?
Which of the following languages are context free ?
L1 = {aibj ck | i< j < k}
L2 = {am bn | m≠n and m ≠2n}
1 Crore+ students have signed up on EduRev. Have you? Download the App |
Suppose that L1 is a regular and L2 is a context-free language, Which one of the following languages is NOT necessarily context-free?
Consider the following languages:
L1 = {anbmcn + m: m, n ≥ 1}
L2 = {anbnc2n: n ≥ 1}
Which one of the following is TRUE?
Which one of the following languages over Σ = {a, b} is NOT context-free?
Let S be an NP-complete problem. Q and R are other two problems not known to be NP. Q is polynomial time reducible to S and S is polynomial time reducible to R. Which of the following statements is true?
Consider the following CFL
L1 = {an|n≥1}
L2 = {bnan|n≥1}
L3 = {0n1m |n = 2m, n,m ≥ 0}
L4 = {ap|p is odd number}
How many statements are true?
(i) Complement of L1 is also regular.
(ii) Union of L2 and L3 is also CFL
(iii) Intersect of L1 and L4 is also CFL
(iv) Concatenation of L1 and L2 is also CFL
Consider the following languages:
L1 = {ww | w ∈ {a, b}*}
L2 = {anbncm | m, n ≥ 0}
L3 = {ambncn | m, n ≥ 0}
Which of the following statements is/are FALSE?
Consider the language L = {an |n ≥ 0} ∪ {anbn| n ≥ 0} and the following statements.
I. L is deterministic context-free.
II. L is context-free but not deterministic context-free.
III. L is not LL(k) for any k.
Which of the above statements is/are TRUE?
63 videos|8 docs|165 tests
|
63 videos|8 docs|165 tests
|