TOC
TOC
● If a grammar is having both left and right recursion, then grammar may or
may not be ambiguous .
Was initially confused whether the language L={ } is considered as Regular language
or not !
Yes, the Language L= { } is considered as a Regular language.
GATE CSE 2016 Set 2 | Question: 42 - GATE Overflow for GATE CSE
Good question, took much time to solve :
See what is Arden's method : GATE IT 2005 | Question: 37 - GATE Overflow for
GATE CSE
Good question : GATE IT 2007 | Question: 50 - GATE Overflow for GATE CSE
GATE IT 2007 | Question: 72 - GATE Overflow for GATE CSE
GATE IT 2008 | Question: 36 - GATE Overflow for GATE CSE
GATE CSE 2014 Set 1 | Question: 36 - GATE Overflow for GATE CSE
G
ATE CSE 2021 Set 2 | Question: 47 - GATE Overflow for GATE CSE
Correct Option: B
Infinite set (because of ∗) of finite strings.
A string is defined as a FINITE sequence of characters and hence can never be infinite.
GOOD QUESTION :
GATE CSE 2014 Set 2 | Question: 36 - GATE Overflow for GATE CSE
GOOD QUESTION :
To be remembered :
Correct answer : C
GOOD QUESTION :
GA
TE CSE 1996 | Question: 2.9 - GATE Overflow for GATE CSE
GOOD QUESTION :
L2 is tricky :
https://www.youtube.com/watch?v=zAzS1PzU0NQ
GATE CSE 2020 | Question: 32 - GATE Overflow for GATE CSE
GATE CSE 2021 Set 2 | Question: 12 - GATE Overflow for GATE CSE
See how to minimize a moore/mealy machine with the help of partition method.
https://www.youtube.com/watch?v=HzTePILLrsA
https://www.youtube.com/watch?v=7SYiI9ssdlA
GATE CSE 1996 | Question: 2.23 - GATE Overflow for GATE CSE
Nice logic :
GOOD QUESTION :
GATE CSE 2017 Set 1 | Question: 22 - GATE Overflow for GATE CSE
TOUGHHH QUESTION !!!
GATE CSE 2015 Set 2 | Question: 35 - GATE Overflow for GATE CSE
NEW CONCEPT :
Not able to make this logic :
ARDEN’s method :
GATE CSE 1990 | Question: 3-vii - GATE Overflow for GATE CSE
See what is partially decidable :
GATE CSE 2001 | Question: 2.7 - GATE Overflow for GATE CSE
REDUCIBILITY CONCEPT :
A reducible to B :
A
B
.
.
GATE CSE 2012 | Question: 24 - GATE Overflow for GATE CSE
GATE CSE 2017 Set 1 | Question: 39 - GATE Overflow for GATE CSE
"Given a <PDA> P and a NFA N, Deciding Whether they both accept the same language
or not" is Undecidable. "
"Given a <DPDA> D and a NFA N, Deciding Whether they both accept the same
language or not" is Decidable. "
Proof:
"Equality" and "Equivalence" are two different things. Equality of Grammars (Type 0-3
Grammars) is Decidable, But Equivalence is NOT Because Equivalence of Two
Grammars is a relation defined by "Equality of Their Corresponding Languages" , Which
is Undecidable for Type-0 Grammars.
GATE CSE 2018 | Question: 36 - GATE Overflow for GATE CSE
GATE CSE 2021 Set 2 | Question: 36 - GATE Overflow for GATE CSE
GOOD QUESTION :
GATE CSE 2008 | Question: 51 - GATE Overflow for GATE CSE
For a language L is if we can form L using many grammar and each grammer must
be ambiguous then we said L is inherently ambiguous.
GATE IT 2004 | Question: 9 - GATE Overflow for GATE CSE
For any PDA which accepts by final state there is an equivalent PDA (equivalent
means that accepts the same language) which accepts by empty stack and vice-
versa.
Now, this is not the case for DPDAs.
The set of languages accepted by a DPDA by empty stack is a strict subset of the
set of languages accepted by a DPDA by final state.
GATE CSE 2016 Set 2 | Question: 44 - GATE Overflow for GATE CSE
TOUGH QUESTION !!
Kuch bhi samajh nhi aaya !!
GATE CSE 2004 | Question: 89 - GATE Overflow for GATE CSE
GATE CSE 2003 | Question: 54 - GATE Overflow for GATE CSE
GOOD QUESTION : GATE CSE 2003 | Question: 53 - GATE Overflow for GATE CSE
GATE CSE 2021 Set 1 | Question: 39 - GATE Overflow for GATE CSE
GATE CSE 2014 Set 2 | Question: 35 - GATE Overflow for GATE CSE
D option was tricky !!