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

#4281
260
views
0 answers
1 votes
Find a regular grammar that generates the language L (aa* (ab+ a)*).how to convert this into finite automata?? and also how to form regular grammer ?
#4282
2.0k
views
1 answers
1 votes
How many stacks are available with DPDA and NPDA? I assume it is 1 with DPDA and n with NPDA where n is some constant.Assume i have a language ,over alphabet a,b,c, ... It is a CFL. Now can DPA handle this ?If yes,then how?If not,then why?
#4283
487
views
1 answers
1 votes
Can we have a mod- n machine with states less than n?Does it exist for a particular n?
#4284
440
views
1 answers
1 votes
Is it possible to convert NFA with e-moves to NFA without e-moves ?I have read that using e-closure we can convert the NFA with e-moves to DFA.But can we also convert NFA with e-moves to NFA without e-moves?
#4285
351
views
1 answers
1 votes
Is it true that for every nfa M = (Q, Σ,δ,q0,F)the complement of L (M)is equal to the set {w ∈ Σ* :δ*; (q0,w) ∈ (Q – F) = Ø}? If so, prove it; if not, give a counterexample.plz explain this ques by taking some simple example
#4286
2.5k
views
1 answers
1 votes
When we define DFA extended transition function :δ(q, e) = δ( q).Assume this is extended transition function with q as state and e as epsilon.Now what does e means ... on same state.But DFA should hang on e,as e is not defined in DFA.?
#4287
539
views
1 answers
1 votes
In case of NFA, assume i have defined e(epsilon transition) from qo to q1:-Now if e comes on qo,then can i stay on same qo or do i need to follow transition from qo to q1?
#4288
2.1k
views
1 answers
1 votes
Assume my Alphabet set($\sum$) :-{0,01,10,110}Now we say number of strings of length n in universal language= (e)^n // e is the cardinality of alphabet ... this formulae written is correct?If yes,then is there some issue with my ($\sum$)?
#4289
816
views
1 answers
1 votes
Let L be a given language $L{}'$ represents L complement.What will be result of following operations?a. ( $L{}*$)${}'$b. ( $L{}'$)${}*$
#4290
525
views
1 answers
1 votes
in 7e what is the ans and in 7g if specific condition that is not equal to 6 is to be constructed then how can we consider middle situation?7e-- L= {w :(na(w) – nb(w)) mod 3 > 0}.7g--L= {w: |w| mod 3 = 0, |w| ≠6}.
#4291
1.1k
views
2 answers
1 votes
L= {w: na(w) mod 3 >nb(w)mod 3}. how we will make dfa of this?
#4292
2.1k
views
1 answers
2 votes
Consider the Following regular expressionsr1 = 1(0 + 1)*r2 = 1(1 + 0)+r3 = 11*0What is the relation between the languages generated by the regular expressions above ?a) L ( ... L(r2) ⊆ L(r1) Also Please tell explain the value of 1(1 + 0)+ .
#4293
5.8k
views
3 answers
3 votes
We can say there are four types of strings in the language so the regex will be: a(a+b)+a + b(a+b)+b + a(a+b)+b + b(a+b)+a Please expleain where I am wrong
#4294
704
views
2 answers
1 votes
In cross product method of dfa If one dfa is M1 and another is M2M1 X M2!= M2 X M1Is it Right or wrong I am little bit confused
#4295
326
views
0 answers
1 votes
Convert regular expression to dfa(i) (ab*)*(ii) (a+ab)*(a+^)
#4296
188
views
1 answers
1 votes
identify the class of language{a^(m)b^(n)} for followinga) m + n = 10b) m + n <=10c)m+n>10d) m+n<10e) m + n>=10f) m/n = 10g) m - n = 10
#4297
331
views
0 answers
1 votes
If we number sigma* in dictionary order then sigma* is countable infinite. On the other hand sigma* is the superset of all the lunguagesso is sigma* regular?
#4298
446
views
1 answers
1 votes
When we convert a NFA to a DFA we count dead state in DFA or not?
#4299
248
views
0 answers
1 votes
What will be the DPDA of a language L = {aibj|for every prefix of the string |n(a)-n(b)|≤2 where n(a)=number of a & n(b)=number of b}
#4300
177
views
0 answers
1 votes
The number of languages from the below given options that are Deterministic Context Free languages are?(a) apbqcrds | p+q=r+s(b) apbqcrds | p+r=q+s(c) wxwR | w∈(0,1) x∈(a,b)(d) aibjck ... Answer is (4).. Why????