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
Let be an NFA with states. Let be the number of states of a minimal DFA which is equivalent to . Which one of the following is necessarily true?
The set of all recursively enumerable languages is:
Let and be finite alphabets and let be a symbol outside both and . Let be a total function from to . We say is computable if there exists a Turing machine which given an input , always halts with on its tape. Let denote the language …
Consider the following languages over the alphabet . Let and . Which of the following are context-free languages?
Consider the context-free grammars over the alphabet given below. and are non-terminals. The language is
If is a grammar with productions where is the start variable, then which one of the following strings is not generated by ?
Consider the language given by the regular expression over the alphabet . The smallest number of states needed in a deterministic finite-state automaton (DFA) accepting is ___________ .
Consider the following context-free grammar over the alphabet with as the start symbol:Which one of the following represents the language generated by the above grammar?
Let be the language represented by regular expression . Let be the language generated by a context free grammar . Let be the language accepted by a Turing machine . Which of the following decision problems are undecidable? Given a regular expression and a string , is ? Given a context-free …
Consider the following languages. Which of the following are CORRECT? is context free but not regular is not context free is not context free but …
Identify the language generated by the following grammar, where is the start variable.
The minimum possible number of states of a deterministic finite automaton that accepts the regular language = { | , } is ______________ .
Let be any two context-free languages and be any regular language. Then which of the following is/are CORRECT? is context-free is context-free is context-free is context-free
Consider the transition diagram of a PDA given below with input alphabet and stack alphabet . is the initial stack symbol. Let denote the language accepted by the PDA Which one of the following is TRUE?
Let be a recursive language and be a recursively enumerable but not recursive language. Let and be two languages such that reduces to , and reduces to (reduction means the standard many-one reduction). Which one of the following statements is TRUE?
Consider the following context-free grammars; Which one of the following pairs of languages is generated by and ,respectively?
Which of the following decision problems are undecidable? Given NFAs and , is Given a CFG and a string , does } ? Given CFGs and , is ? Given a TM , is ?
Which one of the following regular expressions represents the language: the set of all binary strings having two consecutive 's and two consecutive 's?
Which of the following languages is generated by the given grammar?
Consider the following languages: Which one of the following is TRUE?
