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
Assuming , which of the following is TRUE?
Let be a regular language and be a context-free language such that . (For example, let be the language represented by the regular expression and be . Then which of the following is ALWAYS regular?
A deterministic finite automaton () with alphabet is given below. Which of the following finite state machines is a valid minimal which accepts the same languages as ?
Definition of a language with alphabet is given as following.What is the minimum number of states needed in a DFA to recognize ?
Consider the languages as given below. Which of the following statements is NOT TRUE?
Which of the following pairs have DIFFERENT expressive power?
Let be any string of length in . Let be the set of all substrings of . What is the minimum number of states in non-deterministic finite automation that accepts ?
Consider the languages
Let . i.e., is the set of all the bit strings with even numbers of s. Which one of the regular expressions below represents ?
Let be the recursive language. Let and be languages that are recursively enumerable but not recursive. Which of the following statements is not necessarily true?
The above DFA accepts the set of all strings over that
Let , where and are languages as defined below: Then is
Which one of the following is FALSE?
Which one of the following languages over the alphabet is described by the regular expression: ?
Let be a problem that belongs to the class NP. Then which one of the following is TRUE?
The language generated by the above grammar over the alphabet is the set of:
Which of the following are regular sets?
Match the following NFAs with the regular expressions they correspond to: P Q R S
Match the following: …
Which of the following statements is false?
