Skip to content
Related Articles

Related Articles

Improve Article

GATE | GATE-CS-2000 | Question 4

  • Last Updated : 28 Jun, 2021

Let S and T be language over Σ = {a,b} represented by the regular expressions (a+b*)* and (a+b)*, respectively. Which of the following is true?
(A) S ⊂ T
(B) T ⊂ S
(C) S = T
(D) S ∩ T = φ


Answer: (C)

Explanation: Both have same output because if we draw DFA of S which is (a+b*)*, at final state it is just repeating.

Quiz of this Question

Attention reader! Don’t stop learning now.  Practice GATE exam well before the actual exam with the subject-wise and overall quizzes available in GATE Test Series Course.

Learn all GATE CS concepts with Free Live Classes on our youtube channel.

My Personal Notes arrow_drop_up
Recommended Articles
Page :