502 views
1 votes
1 votes
Let L be a Context Free Language. Even(L) is the set of all strings w in L such that |w| is even.
What can you say about Even(L)?
(a) It will be regular       (b) It will be context-free
(c) It is not decidable    (d) None of the above

1 Answer

0 votes
0 votes
Option A) set of all even length strings is regular and can be recognized with a DFA of just two states.

No related questions found