Regular Languages questions

Q7

GATE CS 2019 CSRegular LanguagesMCQ1 mark−1/3 if wrong
If LL is a regular language over Σ={a,b}\Sigma = \{a, b\}, which one of the following languages is NOT regular?
Show answer without attempting

Answer: B

Q15

GATE CS 2019 CSRegular LanguagesMCQ1 mark−1/3 if wrong
For Σ={a,b}\Sigma = \{a, b\}, let us consider the regular language L={x∣x=a2+3k or x=b10+12k,k≥0}L = \{x \mid x = a^{2+3k} \text{ or } x = b^{10+12k}, k \ge 0\}. Which one of the following can be a pumping length (the constant guaranteed by the pumping lemma) for LL?
Show answer without attempting

Answer: D

Q48

GATE CS 2019 CSRegular LanguagesNAT2 marks
Let Σ\Sigma be the set of all bijections from {1,...,5}\{1, ..., 5\} to {1,...,5}\{1, ..., 5\}, where idid denotes the identity function, i.e. id(j)=j,∀jid(j) = j, \forall j. Let ∘\circ denote composition on functions. For a string x=x1x2⋯xn∈Σn,n≥0x = x_1 x_2 \cdots x_n \in \Sigma^n, n \ge 0, let π(x)=x1∘x2∘⋯∘xn\pi(x) = x_1 \circ x_2 \circ \cdots \circ x_n.
Consider the language L={x∈Σ∗∣π(x)=id}L = \{x \in \Sigma^* \mid \pi(x) = id\}. The minimum number of states in any DFA accepting LL is __________.
Show answer without attempting

Answer: 120

0/30 correct0 marks

Related topics in Theory of Computation