Web Page

Regular expressions and finite automata, Context-free grammars and push-down automata, Regular and context-free languages, Pumping lemma, Turing machines and undecidability.

$$\scriptsize{\overset{{\large{\textbf{Mark Distribution in Previous GATE}}}}{\begin{array}{|c|c|c|c|c|c|c|c|}\hline
\textbf{Year}&\textbf{2024-1} & \textbf{2024-2} & \textbf{2023} & \textbf{2022} & \textbf{2021-1}&\textbf{2021-2}&\textbf{Minimum}&\textbf{Average}&\textbf{Maximum}
\\\hline\textbf{1 Mark Count} &1&1&3& 2 &2&3& 1&2&3
\\\hline\textbf{2 Marks Count} &2&3&3& 3 &3&4& 2&3&4
\\\hline\textbf{Total Marks} &5&7&9& 8 &8&11&\bf{5}&\bf{8}&\bf{11}\\\hline
\end{array}}}$$

Recent questions in Theory of Computation

#4321
1.7k
views
0 answers
4 votes
..Design regular expression for no 2 a's should come together , what i did i draw a dfa for 2 a's come together and then took complement ... getting correct regular expression from this , correct regular expression is given below in image
#4322
1.7k
views
3 answers
4 votes
Problem :- intersection of 2 CFL's is CFL. Is this decidable ?
#4323
157
views
0 answers
1 votes
which is strongest correct about a finite language over some fimite alphabet sigma (E) ?A) could be undecidableB)it is TM recognisableC) it is regular langD)it ... then its also CSL, so that seems more correct right?shouldnt it be option D
#4324
342
views
0 answers
1 votes
regular grammar to CFG conversion is possible algorithmically ,is the vice versa possible?
#4325
293
views
1 answers
1 votes
if i union two minimal dfa then is it sure i will get a minimal dfa or not
#4326
598
views
0 answers
0 votes
In the above, doesn't it also accepts empty string, and {a} or {b}? I think the answer there is wrong. Correct me if I am wrong.How is that they took ... second one? z should be same, isn't it?Is PDA possible here?Isn't empty allowed?
#4327
1.4k
views
1 answers
0 votes
do we have to consider dead state in state elimination method
#4328
389
views
1 answers
1 votes
here we have to consider aa as substring ???
#4329
876
views
1 answers
0 votes
Prove language is regular or not using pumping lemma -1. L={a^nb^l :n!=l}2. L={(ab)^na^k : n>k ,k>=0}Plzz explain using pumping lemma.....
#4330
457
views
2 answers
2 votes
iam not getting when to use cross product or union of dfa to join two dfa can someone tell me
#4331
318
views
0 answers
2 votes
write regular expression for atmost 2 a's over ∑ = {a , b } , i know its easy but plz reply , then i can tell what i have problem in this
#4332
513
views
2 answers
1 votes
CaptionIs this CFL or DCFL or not CFL
#4333
375
views
1 answers
2 votes
regular expresiion for length of string atmost 2 , over {a,b}answer : ε+ a + b + ab+ ba +bb + aa = (a+b+ ε) (a+b+ ε) how these two equations are same ?
#4334
599
views
1 answers
1 votes
L = {a^nb^m : n >= m+3}below context grammer is correct??S ==> aA | AaA ==> aAb | bAa | abA | baA | aa
#4335
745
views
2 answers
1 votes
Regular grammar can be of form :-A->tV or A->Vt or A->t where t is terminal and V is variable.Here is t string of terminals or a single terminal? I am seeing different definitions of terminal everywhere.
#4336
555
views
1 answers
2 votes
can anyone tell me when we have to perform DFA UNION , CONCATENATION OR CROSS PRODUCT ???
#4337
437
views
2 answers
1 votes
which languages amongregular langCFLCSLRECREL have ambiguos grammar and which has unambiguos grammar and which can have both
#4338
615
views
2 answers
1 votes
if x=10 and y= 1010x is a proper prefix of yif x =11 and y = 101101is x a proper prefix of y?? or is it only a substringproper prefixes must contain from the zeroth element and not just any part in between?
#4339
11.1k
views
3 answers
3 votes
My understanding :We can create PDA as followsfor every 'a' push operation and on 'b' pop operation and again on 'c' push operation and on seeing 'd' pop operation. ... , if i am wrong.I am sorry, if it is not important.Thanks lot :)
#4340
1.1k
views
2 answers
2 votes
How to check whether following language are context free1)L= {a^nb^m ; n<=m<=3n}2)L={w:2na(w) <=nb(w)<=3na(w) making NPDA or DPDA is not easy/convenient perhaps