Which of the expressions correctly is an requirement of the pumping lemma for the context free languages?

Thanh Thảo

New member
Which of the expressions correctly is an requirement of the pumping lemma for the context free languages?
A. uv$^{n}$wx$^{n}$y
B. uv$^{n}$w$^{n}$x$^{n}$y
C. uv$^{2n}$wx$^{2n}$y
D. All of the mentioned
 
Answer: B
Explanation: Let L be a CFL. Then there is an integer n so that for any u that belong to language L satisfying |t| >=n, there are strings u, v, w, x, y and z satisfying
t=uvwxy
|vx|>0
|vwx|<=n
For any m>=0, uv$^{n}$wx$^{n}$y ∈ L
 

Tìm kiếm

Back
Top