edited by
10,115 views
39 votes
39 votes

Let $L$ be a context-free language and $M$ a regular language. Then the language $L ∩ M$ is

  1. always regular
  2. never regular
  3. always a deterministic context-free language
  4. always a context-free language
edited by

6 Answers

2 votes
2 votes
Answer: D
1 votes
1 votes
https://cs.stackexchange.com/questions/18642/intersection-of-context-free-with-regular-languages

The above link contains a very well written answer to your question with a neat and easy to understand explanation.

 

Hope it helps ! :)
Answer:

Related questions

8.2k
views
1 answers
29 votes
Ishrat Jahan asked Oct 31, 2014
8,203 views
Which of the following statements about regular languages is NOT true ?Every language has a regular supersetEvery language has a regular subsetEvery subset of a regular language is regularEvery subset of a finite language is regular
3.9k
views
3 answers
23 votes
Ishrat Jahan asked Oct 31, 2014
3,895 views
In the context-free grammar below, $S$ is the start symbol, $a$ and $b$ are terminals, and $\epsilon$ ... $Which of the following strings is NOT generated by the grammar?$aaaa$baba$abba$babaaabab$
5.0k
views
3 answers
23 votes
Ishrat Jahan asked Oct 31, 2014
4,986 views
In the automaton below, $s$ is the start state and $t$ is the only final state.Consider the strings $u = abbaba, v = bab, \text{and} w = aabb$. Which of the following ... of $u, v,$ and $w$The automaton accepts $u$ but rejects $v$ and $w$
7.7k
views
3 answers
37 votes
Ishrat Jahan asked Nov 1, 2014
7,730 views
An array $X$ of $n$ distinct integers is interpreted as a complete binary tree. The index of the first element of the array is $0$. If only the root node does not satisfy the heap property ... (n)$O (\log n)$O (n \log n)$O (n \log \log n)$