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
Which one of the following is TRUE?
Let . Let . Which one of the following is TRUE?
Let be the encoding of a Turing machine as a string over . Let Then is:
Let denotes that language is mapping reducible (also known as many-to-one reducible) to language . Which one of the following is FALSE?
If and , consider is a regular language Which one of the following is CORRECT?
Consider the decision problem defined as follows: For example, is a Boolean formula and it is in . The decision problem is
Consider the following languages over the alphabet Here, is the reverse of the string . Which of these languages are deterministic Context-free languages?
Which one of the following problems is undecidable?
Let be a finite non-empty alphabet and let be the power set of . Which one of the following is TRUE?
The length of the shortest string NOT in the language (over of the following regular expression is _______.
Which of the following is/are undecidable? is a CFG. Is ? is a CFG. Is ? is a Turing machine. Is regular? is a DFA and is an NFA. Is ?
Consider the DFA given below. Which of the following are FALSE? Complement of is context-free. For the language accepted by is the minimal DFA. accepts all strings over of length at least .
Consider the following languages. Which one of the following statements is FALSE?
Which of the following statements are TRUE? The problem of determining whether there exists a cycle in an undirected graph is in . The problem of determining whether there exists a cycle in an undirected graph is in . If a problem A is , there exists a non-deterministic polynomial time algorithm to solve
Which of the following statements is/are FALSE? For every non-deterministic Turing machine, there exists an equivalent deterministic Turing machine. Turing recognizable languages are closed under union and complementation. Turing decidable languages are closed under intersection and complementation. Turing recognizable languages are closed under union and …
Consider the languages and . Which one of the following represents ?
Consider the set of strings on in which, every substring of symbols has at most two zeros. For example, and are in the language, but is not. All strings of length less than are also in the language. A partially completed DFA that accepts this language is shown below. The missing arcs in the DFA are:
Given the language , which of the following strings are in ?
Which of the following problems are decidable? Does a given program ever produce an output? If is a context-free language, then, is also context-free? If is a regular language, then, is also regular? If is a recursive language, then, is also recursive?
What is the complement of the language accepted by the NFA shown below? Assume and is the empty string.
