Question:medium

Let P be a regular language and Q be a context-free language such that Q ⊆ P. Then which of the following is always regular?

Show Hint

Regular languages are closed under intersection with other languages, including context-free languages.
Updated On: Feb 11, 2026
  • P ∩ Q
  • P − Q
  • Σ* − P
  • Σ* − Q
Show Solution

The Correct Option is A

Solution and Explanation

The intersection of a regular language P with any language, including a context-free language Q, is always regular. This is due to regular languages being closed under intersection with other languages. Therefore, P ∩ Q will consistently be a regular language.
Was this answer helpful?
0