The Gateway to Computer Science Excellence
+2 votes
Statement I: Li be regular language i = 1, 2, . . ., ∞
Language ⋂ ∞=1is regular i.e. Infinite intersection.
Statement II: L = {wx | w ∈ Ʃ*, x ∈ Ʃ*, |w| = |x|} is regular.

(a) Both are True (b) Both are False
(c) S1 → True, S2 → False (d) S1 → False, S2 → True
in Theory of Computation by | 137 views
I could not understand what Statement 1 is..

Statement 2 seems to be regular as we just need to check if the strings are of even length..

Infinite intersection in not regular. You can see this

It did not understand the solution though.

1 Answer

+1 vote
  • Infinite intersection of regular language may or may not be regular. So option a is false.

  • Second one is regular becz we can write regular expression for this

So Option d is right

we can not draw finite automata for a^m b^m, m!=n thats why the whole language is not regular...right?
Yes you are right.
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
52,345 questions
60,513 answers
95,360 users