Skip to content

GATE CS Regular Expressions and Finite Automata questions

Practise Regular Expressions and Finite Automata questions for GATE CS. Explore official PYQs and original topic-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.

14 on this page
Official PYQ1999Theory of ComputationRegular Expressions and Finite AutomataMCQ · 1 mark
Consider the regular expression (0+1)(0+1)…N(0 + 1) (0+1) \dots N times. The minimum state finite automaton that recognizes the language represented by this regular expression contains
Official PYQ1998Theory of ComputationRegular Expressions and Finite AutomataMCQ · 1 mark
Let LL be the set of all binary strings whose last two symbols are the same. The number of states in the minimal state deterministic finite state automaton accepting LL is
Official PYQ1998Theory of ComputationRegular Expressions and Finite AutomataMSQ · 1 mark
The string 11011101 does not belong to the set represented by
Official PYQ1998Theory of ComputationRegular Expressions and Finite AutomataMCQ · 1 mark
Regarding the power of recognition of languages, which of the following statements is false?
Official PYQ1998Theory of ComputationRegular Expressions and Finite AutomataMCQ · 1 mark
Which of the following set can be recognized by a Deterministic Finite state Automaton?
Official PYQ1998Theory of ComputationRegular Expressions and Finite AutomataMCQ · 1 mark
If the regular set AA is represented by A=(01+1)∗A = (01 + 1)^* and the regular set BB is represented by B=((01)∗1∗)∗B = \left(\left(01\right)^*1^*\right)^*, which of the following is true?
Official PYQ1997Theory of ComputationRegular Expressions and Finite AutomataMCQ · 1 mark
Which one of the following regular expressions over {0,1}\{0,1\} denotes the set of all strings not containing 100\text{100} as substring?
Official PYQ1996Theory of ComputationRegular Expressions and Finite AutomataMCQ · 1 mark
Which two of the following four regular expressions are equivalent? (ε\varepsilon is the empty string). (00)∗(ε+0)(00)^ * (\varepsilon +0) (00)∗(00)^* 0∗0^* 0(00)∗0(00)^*
Official PYQ1995Theory of ComputationRegular Expressions and Finite AutomataMCQ · 1 mark
In some programming language, an identifier is permitted to be a letter followed by any number of letters or digits. If LL and DD denote the sets of letters and digits respectively, which of the following expressions defines an identifier?
Official PYQ1994Theory of ComputationRegular Expressions and Finite AutomataMCQ · 1 mark
Which of the following conversions is not possible (algorithmically)?
Official PYQ1992Theory of ComputationRegular Expressions and Finite AutomataMSQ · 1 mark
In which of the cases stated below is the following statement true? "For every non-deterministic machine M1M_{1} there exists an equivalent deterministic machine M2M_{2} recognizing the same language".
Official PYQ1992Theory of ComputationRegular Expressions and Finite AutomataMCQ · 1 mark
Which of the following regular expression identities is/are TRUE?
Official PYQ1991Theory of ComputationRegular Expressions and Finite AutomataMSQ · 1 mark
Let r=1(1+0)∗,s=11∗0 and t=1∗0r=1(1+0)^*, s=11^*0 \text{ and } t=1^*0 be three regular expressions. Which one of the following is true?
Official PYQ1987Theory of ComputationRegular Expressions and Finite AutomataNAT · 1 mark
State whether the following statements are TRUE or FALSE: A minimal DFA that is equivalent to an NDFA with nn nodes has always 2n2^{n} states.