Recent questions tagged context-free-language

2 votes
1 answer
271
1 votes
3 answers
274
0 votes
0 answers
275
1 votes
1 answer
276
0 votes
1 answer
278
0 votes
0 answers
280
The complement of the language L containing an equal number of a's , b's and c's isa)regularb)context freec)context sensitive but not context freed)recursive and not a CF...
0 votes
1 answer
282
0 votes
0 answers
284
0 votes
0 answers
286
$L=a^mb^nc^pd^q | m+p=n+q, m,n,p,q>=0$is the language CFG or CFL?
0 votes
0 answers
287
X belongs to {a,b}* such that n(a)<n(b)<2n(a) is a CFL. Please somebody explain the push and pop sequences of the alphabets on the stack. I'm not being able to visualise,...
0 votes
0 answers
289
Consider the following languages :L1: {a bn a2n | n ≥ 0 }L2: { a a bn a3n | n ≥ 0 }Which of the following is true ?A. L1 U L2 is regularB. L1 U L2 is DCFLC. L1 inters...
1 votes
0 answers
290
If L1 is CSL and L2 is CFL, then which of the following is correct ?A.L1' - L2 is CSL alwaysB. L1 - L2' is CSL alwaysC. L1 intersection Regular is Regular alwaysD. L1.L2...
0 votes
0 answers
291
The language L1={a^n b^n} union {b}The language L2={a^n b^n} union {a}They both are deterministic CFL.Am i right?
0 votes
0 answers
294
L=$a^mb^n$ | m!=nis the following DPDA correct for the mentioned language?
0 votes
0 answers
295
0 votes
1 answer
297
2 votes
3 answers
298
1 votes
0 answers
299
Is this approach of acceptance by empty stack correct ?I am confused because i have read that acceptance by empty stack may not be able to accept all regular languages.