GATE CSE
First time here? Checkout the FAQ!
x
0 votes
59 views
{XWWrY} is regular or not?

XYW € (0,1)+
asked in Theory of Computation by (43 points) 5 | 59 views
Is it equivalent to  * r * ? Then it will be regular.

yes, it is regular...

its corresponding regular expression is: (0+1)^+00(0+1)^+  +  (0+1)^+11(0+1)^+

you language accept a language which contain either 00 or 11 as substring. Nothing can be infere from given problem about this condition.
@Chandan

Take examples of strings, u will get it its actual meaning why I wrote that regular expression.
00 is accepted by given regular expression, does it belong to grammer..
Chandan u r right!!

I have updated answer..

Please log in or register to answer this question.



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
Top Users Oct 2017
  1. Arjun

    23338 Points

  2. Bikram

    17048 Points

  3. Habibkhan

    7912 Points

  4. srestha

    6238 Points

  5. Debashish Deka

    5438 Points

  6. jothee

    4968 Points

  7. Sachin Mittal 1

    4772 Points

  8. joshi_nitish

    4286 Points

  9. sushmita

    3964 Points

  10. Rishi yadav

    3794 Points


Recent Badges

Popular Question user1234
Copy Editor Ayush Upadhyaya
Popular Question asu
Popular Question .
Popular Question makhdoom ghaya
Popular Question junaid ahmad
Notable Question learner_geek
Notable Question jothee
Popular Question jothee
Notable Question Jeffrey Jose
27,290 questions
35,142 answers
83,926 comments
33,231 users