The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
+1 vote
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
asked in Theory of Computation by Junior (747 points) | 20 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

0 votes
  • 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

answered by Boss (19.1k points)
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

36,994 questions
44,570 answers
43,636 users