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 following grammar where is the start symbol, and and are terminal symbols. Which of the following statements is/are true?
Let be a nondeterministic finite automaton (NFA) with states over a finite alphabet. Which of the following options CANNOT be the number of states in the minimal deterministic finite automaton (DFA) that is equivalent to ?
Let and be two languages over a finite alphabet, such that and are regular languages. Which of the following statements is/are always true?
Consider the following context-free grammar . In the above grammar, is the start symbol, and are terminal symbols, and and are non-terminal symbols. Let be the language …
Which one of the following statements is equivalent to the following assertion? Turing machine decides the language
Consider the following two finite automata and . Which of the following statements is/are true?
Let and let . Which of the following constraints ensure(s) that the language is context-free?
Consider the following context-free grammar , where , and are the variables (non-terminals), and are the terminal symbols, is the start variable, and the rules of are described as: Which ONE of the …
A regular language is accepted by a non-deterministic finite automaton (NFA) with states. Which of the following statement(s) is/are FALSE?
Consider the following two languages over the alphabet : Which ONE of the following statements is CORRECT?
Consider the following two languages over the alphabet , where and are natural numbers. Which ONE of the following statements is CORRECT?
Consider the following deterministic finite automaton (DFA) defined over the alphabet, . Identify which of the following language(s) is/are accepted by the given DFA.
Consider a finite state machine (FSM) with one input and one output , represented by the given state transition table. The minimum number of states required to realize this FSM is _______. (Answer in integer). …
Let . For , and , let denote the number of occurrences of in . Which one or more of the following option(s) define(s) regular language(s)?
Let . For , let be the product of symbols in modulo 7. We take , where is the null string. For example, . Define …
Which ONE of the following languages is accepted by a deteministic pushdown automaton?
Let be Context Free Grammars (CFGs) and be a regular expression. For a grammar , let denote the language generated by . Which ONE among the following questions is decidable?
Consider the two lists List I and List II given below: …
Let be two regular languages and a language which is not regular. Which of the following statements is/are always TRUE?
Consider the -state . accepting the language shown below. For any string let be the number of in and be the number of 1 's in . Which of the following statements is/are FALSE?
