Skip to content

GATE CS Theory of Computation questions

Practise Theory of Computation questions for GATE CS. Explore official PYQs and original subject-wise quizzes, check answers and view available solutions. Free, no sign-in.

Subject, topic, year and type filter the full library. Match any choice within a filter, and all selected filter categories. Search, source and sort apply to this page.

20 on this page
Official PYQ1997Theory of ComputationUndecidabilityMCQ · 1 mark
Which one of the following is not decidable?
Official PYQ1997Theory of ComputationRegular Expressions and Finite AutomataMCQ · 1 mark
Which one of the following regular expressions over {0,1}\{0,1\} denotes the set of all strings not containing 100\text{100} as substring?
Official PYQ1997Theory of ComputationRegular and Context-free LanguagesMCQ · 1 mark
Given Σ={a,b}\Sigma=\{a,b\}, which one of the following sets is not countable?
Official PYQ1996Theory of ComputationContext-free Grammars and Push-down AutomataMCQ · 1 mark
If L1L_1 and L2L_2 are context free languages and RR a regular set, one of the languages below is not necessarily a context free language. Which one?
Official PYQ1996Theory of ComputationUndecidabilityMCQ · 1 mark
Which of the following statements is false?
Official PYQ1996Theory of ComputationRegular and Context-free LanguagesMCQ · 1 mark
Let L⊆Σ∗L \subseteq \Sigma^* where Σ={a,b}\Sigma = \left\{a,b \right\}. Which of the following is true?
Official PYQ1996Theory of ComputationRegular Expressions and Finite AutomataMCQ · 1 mark
Which two of the following four regular expressions are equivalent? (ε\varepsilon is the empty string). (00)∗(ε+0)(00)^ * (\varepsilon +0) (00)∗(00)^* 0∗0^* 0(00)∗0(00)^*
Official PYQ1995Theory of ComputationRegular and Context-free LanguagesMCQ · 1 mark
Let Σ={0,1},L=Σ∗\Sigma=\left\{0,1\right\}, L = \Sigma^* and R={0n1n∣n>0}R=\left\{0^n1^n \mid n > 0\right\} then the languages L∪RL \cup R and RR are respectively
Official PYQ1995Theory of ComputationContext-free Grammars and Push-down AutomataMCQ · 1 mark
Which of the following definitions below generate the same language as LL, where L={xnyn such that n≥1}L=\{x^ny^n \text{ such that } n\geq 1 \}? E→xEy∣xyE \rightarrow xEy\mid xy xy∣(x+xyy+x y \mid (x^+xyy^+) x+y+x^+y^+
Official PYQ1995Theory of ComputationRegular Expressions and Finite AutomataMCQ · 1 mark
In some programming language, an identifier is permitted to be a letter followed by any number of letters or digits. If LL and DD denote the sets of letters and digits respectively, which of the following expressions defines an identifier?
Official PYQ1994Theory of ComputationRegular Expressions and Finite AutomataMCQ · 1 mark
Which of the following conversions is not possible (algorithmically)?
Official PYQ1992Theory of ComputationRegular and Context-free LanguagesMSQ · 1 mark
Which of the following three statements are true? Prove your answer.
Official PYQ1992Theory of ComputationRegular Expressions and Finite AutomataMSQ · 1 mark
In which of the cases stated below is the following statement true? "For every non-deterministic machine M1M_{1} there exists an equivalent deterministic machine M2M_{2} recognizing the same language".
Official PYQ1992Theory of ComputationRegular Expressions and Finite AutomataMCQ · 1 mark
Which of the following regular expression identities is/are TRUE?
Official PYQ1992Theory of ComputationContext-free Grammars and Push-down AutomataMSQ · 1 mark
Context-free languages are:
Official PYQ1991Theory of ComputationRegular and Context-free LanguagesMCQ · 1 mark
Which of the following is the strongest correct statement about a finite language over some finite alphabet Σ?\Sigma?
Official PYQ1991Theory of ComputationRegular Expressions and Finite AutomataMSQ · 1 mark
Let r=1(1+0)∗,s=11∗0 and t=1∗0r=1(1+0)^*, s=11^*0 \text{ and } t=1^*0 be three regular expressions. Which one of the following is true?
Official PYQ1990Theory of ComputationRegular and Context-free LanguagesMSQ · 1 mark
Let R1R_{1} and R2R_{2} be regular sets defined over the alphabet Σ\Sigma Then:
Official PYQ1990Theory of ComputationUndecidabilityMSQ · 1 mark
It is undecidable whether:
Official PYQ1990Theory of ComputationTuring MachinesMSQ · 1 mark
Recursive languages are: