Regular Languages questions

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

Q46

GATE CS 2015 CS-2Regular LanguagesMCQ2 marks−2/3 if wrong
Which of the following languages is/are regular?

L1L_1: {wxwR∣w,x∈{a,b}∗ and ∣w∣,∣x∣>0}\{wxw^R \mid w, x \in \{a, b\}^* \text{ and } |w|, |x| > 0\}, wRw^R is the reverse of string ww
L2L_2: {anbm∣m≠n and m,n≥0}\{a^n b^m \mid m \neq n \text{ and } m, n \geq 0\}
L3L_3: {apbqcr∣p,q,r≥0}\{a^p b^q c^r \mid p, q, r \geq 0\}
Show answer without attempting

Answer: A

Q60

GATE CS 2015 CS-2Regular LanguagesMCQ2 marks−2/3 if wrong
Consider the alphabet Σ={0,1}\Sigma = \{0, 1\}, the null/empty string λ\lambda and the sets of strings X0X_0, X1X_1, and X2X_2 generated by the corresponding non-terminals of a regular grammar. X0X_0, X1X_1, and X2X_2 are related as follows.

X0=1X1X_0 = 1 X_1
X1=0X1+1X2X_1 = 0 X_1 + 1 X_2
X2=0X1+{λ}X_2 = 0 X_1 + \{\lambda\}

Which one of the following choices precisely represents the strings in X0X_0?
Show answer without attempting

Answer: C

0/50 correct0 marks

Related topics in Theory of Computation