7,996 views
0 votes
0 votes

my question is whether we have a shortcut an idea which can help us in recognizing any language to be regular or not,in GATE .and also what is the best way to get it properly done when you want to do it the old school way?

1 Answer

Best answer
6 votes
6 votes
Check following thing .

1. Is DFA/NFA or regular expressions possible or not (especially in case of WW, WWr, W1W2.....)

2. String matching ---> non regular

3. Counting comparison ---> non regular

4. Power is non linear ---> non regular

5. If finite then regular.. it doesn't matter comparison or string matching or power is non linear if language is finite it must be regular.. even finite subset of non regular is regular..

Still some more but questions base on these 5 points frequently asked in GATE..

referhrefer : http://gatecse.in/wiki/Identify_the_class_of_the_language
selected by

Related questions

0 votes
0 votes
2 answers
1
rohan.1737 asked Aug 17, 2018
722 views
Is there any way to check whether a language is regular or not without using Pumping lemma?
3 votes
3 votes
1 answer
3
Meenakshi Sharma asked Aug 4, 2016
1,077 views
how to find an infinite language is regular or not is there any other method than drawing DFA as DFA made by us may or may not be correct how to ensure DFA is correct an...
2 votes
2 votes
2 answers
4
Kaushal28 asked Sep 21, 2016
2,317 views
If any grammer is given, how can we tell that the grammar is regular or not? Is that any perticular method?