edited by
676 views
0 votes
0 votes
L1 = {a^mb^nc^p | m ≥ n or n = p}
L2 = {a^mb^nc^p | m ≥ n and n = p}

(a) Both are NCFL’s
(b) L1 is DCFL and L2 is NCFL
(c) L1 is NCFL and L2 is not context-free
(d) Both are not context-free
Solution: Option (c)

how it is possible plz explain indetail
edited by

Please log in or register to answer this question.

Related questions

1 votes
1 votes
1 answer
1
Souvik33 asked Dec 4, 2022
346 views
Consider the following statementS: $\left \{ a^{n}b^{n+k}|n\geq 0,k\geq 1 \right \} \cup \left \{a^{n+k}b^{n}|n\geq 0,k\geq 3 \right \}$ is DCFLThe above statement is:TRU...
2 votes
2 votes
1 answer
2
Souvik33 asked Nov 23, 2022
313 views
If L and $L^{c}$ both are CFL, the L must be DCFL a. TRUE b.FALSE
1 votes
1 votes
0 answers
3
srestha asked Apr 4, 2019
673 views
$\left \{ a^{n}.b^{n+k}\mid n\geq 0,k\geq 1 \right \}\cup \left \{ a^{n+k}.b^{n}\mid n\geq 0,k\geq 3 \right \}$ is DCFLIs it true? As we know union of two DCFL cannot be ...