Finite Automata questions — page 2 of 2

Q32

GATE CS 2015 CS-3Regular LanguagesMCQ1 mark−1/3 if wrong
Let LL be the language represented by the regular expression Σ∗0011Σ∗\Sigma^* 0011 \Sigma^* where Σ={0,1}\Sigma = \{0, 1\}. What is the minimum number of states in a DFA that recognizes L‾\overline{L} (complement of LL)?
Show answer without attempting

Answer: B

Q49

GATE CS 2015 CS-1Regular LanguagesNAT2 marks
Consider the DFAs M and N given above. The number of states in a minimal DFA that accepts the language L(M)∩L(N)L(M) \cap L(N) is ________.
Question figure
Show answer without attempting

Answer: 1

Q45

GATE CS 2015 CS-2Regular LanguagesNAT2 marks
The number of states in the minimal deterministic finite automaton corresponding to the regular expression (0+1)∗(10)(0 + 1)^*(10) is ___________.
Show answer without attempting

Answer: 3

Q36

GATE CS 2014 CS-2Regular LanguagesMCQ2 marks−2/3 if wrong
Let L1={w∈{0,1}∗∣w has at least as many occurrences of (110)’s as (011)’s}L_1 = \{w \in \{0,1\}^* \mid w \text{ has at least as many occurrences of (110)'s as (011)'s}\}. Let L2={w∈{0,1}∗∣w has at least as many occurrences of (000)’s as (111)’s}L_2 = \{w \in \{0,1\}^* \mid w \text{ has at least as many occurrences of (000)'s as (111)'s}\}. Which one of the following is TRUE?
Show answer without attempting

Answer: A

Q16

GATE CS 2014 CS-1Regular LanguagesMCQ1 mark−1/3 if wrong
Consider the finite automaton in the following figure.

What is the set of reachable states for the input string 0011?
Question figure
Show answer without attempting

Answer: A

Q33

GATE CS 2013 CSRegular LanguagesMCQ2 marks−2/3 if wrong
Consider the DFA A given below.

Which of the following are FALSE?

1. Complement of L(A)L(A) is context-free.
2. L(A)=L((11∗0+0)(0+1)∗0∗1∗)L(A) = L((11^*0+0)(0 + 1)^*0^*1^*)
3. For the language accepted by A, A is the minimal DFA.
4. A accepts all strings over {0,1}\{0, 1\} of length at least 2.
Question figure
Show answer without attempting

Answer: D

Q12

GATE CS 2012 CSRegular LanguagesMCQ1 mark−1/3 if wrong
What is the complement of the language accepted by the NFA shown below?
Assume Σ={a}\Sigma = \{a\} and ϵ\epsilon is the empty string.

(In the figure, the edge label printed as η denotes ϵ\epsilon.)
Question figure
Show answer without attempting

Answer: B

Q46

GATE CS 2012 CSRegular LanguagesMCQ2 marks−2/3 if wrong
Consider the set of strings on {0,1}\{0,1\} in which, every substring of 3 symbols has at most two zeros. For example, 001110 and 011001 are in the language, but 100010 is not. All strings of length less than 3 are also in the language. A partially completed DFA that accepts this language is shown below.

(In the figure, the start state printed as η is the state for the empty string ϵ\epsilon.)

The missing arcs in the DFA are
Question figure
Show answer without attempting

Answer: D

0/80 correct0 marks

Related topics in Regular Languages