MCQ · 1 mark · Regular LanguagesGATE CS 2014 CS-1 — Q15Which one of the following is TRUE?Select one optionA.The language L={anbn∣n≥0}L = \{a^n b^n \mid n \ge 0\}L={anbn∣n≥0} is regular.B.The language L={an∣n is prime}L = \{a^n \mid n \text{ is prime}\}L={an∣n is prime} is regular.C.The language L={w∣w has 3k+1 b’s for some k∈N with Σ={a,b}}L = \{w \mid w \text{ has } 3k + 1 \text{ } b\text{'s for some } k \in \mathbb{N} \text{ with } \Sigma = \{a, b\}\}L={w∣w has 3k+1 b’s for some k∈N with Σ={a,b}} is regular.D.The language L={ww∣w∈Σ∗ with Σ={0,1}}L = \{ww \mid w \in \Sigma^* \text{ with } \Sigma = \{0,1\}\}L={ww∣w∈Σ∗ with Σ={0,1}} is regular.Check answer