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
Consider the languages: and Which one of the following statements is FALSE?
Let and denote the classes of languages accepted by non-deterministic finite automata and non-deterministic push-down automata, respectively. Let and denote the classes of languages accepted by deterministic finite automata and deterministic push-down automata respectively. Which one of the following is TRUE?
Consider three decision problems , and . It is known that is decidable and is undecidable. Which one of the following is TRUE?
is a recursively enumerable language over . An algorithm effectively enumerates its words as Define another language over as . Here # is new symbol. Consider the following …
The following finite state machine accepts all those binary strings in which the number of ’s and ’s are respectively:
The language is
Consider the NFA shown below. Let the language accepted by be . Let be the language accepted by the NFA obtained by changing the accepting state of to a non-accepting state and by changing the non-accepting states of to accepting states. Which of the following statements is true?
A single tape Turing Machine has two states and , of which is the starting state. The tape alphabet of is and its input alphabet is . The symbol is the blank symbol used to indicate end of an input string. The transition function of is described in the following table. …
Let be a context free grammar where the rule set R is Which of the following statements is true?
Consider the following deterministic finite state automaton . Let denote the set of seven bit binary strings in which the first, the fourth, and the last bits are . The number of strings in that are accepted by is
The regular expression denotes the same set as
Nobody knows yet if . Consider the language defined as follows.Which of the following statements is true?
Consider two languages and each on the alphabet . Let be a polynomial time computable bijection such that iff . Further, let be also polynomial time computable. Which of the following CANNOT be true?
Define languages and as follows : Here is a triplet, whose first component is an encoding of a Turing Machine, second component is a string, and third component …
If the strings of a language can be effectively enumerated in lexicographic (i.e., alphabetic) order, which of the following statements is true?
The smallest finite automaton which accepts the language length of is divisible by has
Which of the following is true?
The finite state machine described by the following state diagram with as starting state, where an arc label is and stands for -bit input and stands for -bit output
The language accepted by a Pushdown Automaton in which the stack is limited to items is best described as
Consider the following problem . Given a Turing machine over the input alphabet , any state of and a word , does the computation of on visit the state of ? Which of the following statements about is correct?
