Go Back   TestMagic Forums > Test preparation > GRE Subject Tests > GRE Computer Science
Register Forum Rules FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 2003 November 12th, 04:03 AM   #1 (permalink)
Within my grasp!
 
Join Date: Nov 2003
Location: India
Posts: 123
dionysus has disabled reputation
Let L be a regular set. Is the following regular: why or why not?

CYCLE (L) = { x_1 x_2 | x_2 x_1 is in L for strings x_1 and x_2 }
MAX (L) = { x in L | for no y other than epsilon is xy in L }
MIN (L) = { x in L | no proper prefix of x is in L }

dionysus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Google Bookmark this Post!Reddit!
Reply With Quote
Old 2003 November 12th, 09:52 AM   #2 (permalink)
I JUST got here.
 
Join Date: Oct 2003
Posts: 14
Sanju has disabled reputation
the way to detect if a language is regular is by testing it with pumping lemma

CYCLE (L) = { x_1 x_2 | x_2 x_1 is in L for strings x_1 and x_2 }
this language fails pumping lemma. Hence it is not regular.
I am still working on the other two. Will post them when I get done
Sanju is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Google Bookmark this Post!Reddit!
Reply With Quote
Old 2003 November 12th, 10:02 AM   #3 (permalink)
Within my grasp!
 
Join Date: Nov 2003
Location: India
Posts: 123
dionysus has disabled reputation
Err. I'm not sure you understand.

It is given that L is regular already. You can't apply the pumping lemma here.
dionysus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Google Bookmark this Post!Reddit!
Reply With Quote
Old 2003 November 12th, 10:30 AM   #4 (permalink)
I JUST got here.
 
Join Date: Oct 2003
Posts: 14
Sanju has disabled reputation
Oops, I misinterpreted the question ..
Sanju is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Google Bookmark this Post!Reddit!
Reply With Quote
Old 2003 November 17th, 08:02 PM   #5 (permalink)
I JUST got here.
 
Join Date: Oct 2003
Posts: 14
Sanju has disabled reputation
Have a look at this link. The second question of HW1 is kinda similar to the one that you posted. I however have not been able to work my way through the ones that you posted , See if this helps.
http://www.cs.cornell.edu/courses/cs...ml#assignments
Sanju is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Google Bookmark this Post!Reddit!
Reply With Quote
Old 2009 November 2nd, 09:17 PM   #6 (permalink)
I JUST got here.
 
Join Date: Oct 2009
Posts: 8
blah321 just joined TestMagic.
solution is here (All are regular)
cs.cornell.edu/courses/cs381/2005fa/solutions/hw5/381-hw5-solns.pdf

Last edited by blah321 : 2009 November 5th at 07:41 AM.
blah321 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Google Bookmark this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

What you can do
You cannot post new threads
You cannot post replies
You cannot post attachments
You cannot edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 09:23 AM.

Contact TestMagic   TestMagic Forums      Archive   Privacy Statement

TestMagic Locations   Legal   Privacy


SEO by vBSEO 3.2.0
Copyright © 2009 TestMagic
Ad Management by RedTyger

Scroll Up