GATE 2011
April 15, 2024
Question 2635 – KVS 30-12-2018 Part-A
April 15, 2024
GATE 2011
April 15, 2024
Question 2635 – KVS 30-12-2018 Part-A
April 15, 2024

GATE 2011

Question 13

Let P be a regular language and Q be a context-free language such that Q ⊆ P. (For example, let P be the language represented by the regular expression p*q* and Q be [pnqn | n ∈ N]). Then which of the following is ALWAYS regular?

A
P ∩ Q
B
P – Q
C
Σ* – P
D
Σ* – Q
Question 13 Explanation: 
Exp: Σ* – P is the complement of P so it is always regular,
since regular languages are closed under complementation.
Correct Answer: C
Question 13 Explanation: 
Exp: Σ* – P is the complement of P so it is always regular,
since regular languages are closed under complementation.
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x