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

#4341
657
views
3 answers
1 votes
Suppose L is a regular language of all a's and b's where the number of a's is divisible by 4 and 8 and number of b's is divisible by 10. If M is ... are merged to one, 10 is aken as 9when is it performed like this and when is it multiplied
#4342
352
views
0 answers
1 votes
Input Alphabet ={0,1}, construct a finite automata (preferably dfa) for a language containing set of all strings such that every block of 5 consecutive symbols contain at least 2 zeroes.
#4343
339
views
1 answers
1 votes
{ w E (0 + 1)* | n10(w) = n 01 (w) }(i.e) L= set of all stringf of 0's and 1's where the occurences of 10 and 01 is sameis it regular language?
#4344
1.7k
views
1 answers
1 votes
How many DFA's can be constructed with 3 states and 2 input symbols which accept empty language?
#4346
511
views
0 answers
1 votes
Can anybody plzz explain how we got the diagram of L1/L2 in the example given in book???
#4347
837
views
2 answers
4 votes
construct a Minimal dfa in which every a is followed by b , so language will be L = { ε , ab ,.......,............., }why epsilon will be included here ????
#4348
344
views
1 answers
1 votes
According the Peter Linz Book, the two example the Grammar G1 = ({S},{a,b},S,P1) with P1 given asS -> abS|aand G2 = ({S,S1,S2,},{a,b},S,P2)S -> S1abS1 - ... it's regular expression can't be a(ab)* .In the book it show its aab(ab)* but how.
#4349
640
views
1 answers
1 votes
how many strings of at most 4 bits that start with and end with "0" belongs to the language described by (01+10)* 0 (0+1)* ?? please give explanation..
#4350
1.7k
views
3 answers
3 votes
Construct a minimal DFA, which accepts set of all strings over {0, 1}, which when interpreted as binary number is divisible by ‘3’. , IS IS this solution right because null string is also accepted which is not in language
#4351
1.5k
views
2 answers
1 votes
the regular expression is given by R=( ab|abb)* bbab which of the following does not belong to R??a) ab ab abb) ab bb abc) ababbabbbabd) abbabbbab
#4352
1.1k
views
1 answers
2 votes
Design a DFA over w ∈ {a,b}* such that number of a = 2 and there is no restriction over length of b.AnswerWe will explain this intuitive approachStep 1 Make ... to accept null string too ???? in dfa and we should make A as also final
#4353
1.2k
views
1 answers
1 votes
How many number of states will be there in minimal DFA for the regular expression a* b* c* d* ??
#4354
1.6k
views
1 answers
1 votes
can anyone provide solution of Toc Peter Linz 6th edition ?
#4355
286
views
1 answers
1 votes
How it is true ?can somebody explain it?Thanks lot :)
#4356
431
views
0 answers
1 votes
a) Find a regular expression and finite automata for all bit strings, with leading bit 1 interpreted as a binary integer, with values not between 10 and 30.b) is L={w1cw2:w1,w2 ={ ... L={w1cw2:w1,w2 ={a,b}*,w1!=w2^R, with alphabet={a,b,c}
#4357
222
views
0 answers
1 votes
Epsilon is terminal or non terminal in cfg?
#4358
774
views
1 answers
1 votes
A language L = {w|w contain 'a' in every odd position, w belongs to {a, b}*}Doubt: Here, null string will be accepted or not. Please explain? ... questions whether to include null string or not. Please suggest some way to sort this out.
#4359
1.2k
views
2 answers
4 votes
#4360
253
views
1 answers
2 votes