Regular Grammar: GATE CS Previous Year Questions

Regular Grammar · Theory of Computation

6 questions · asked in 5 of 27 years (2000–2026)

MCQ 61-mark 5 · 2-mark 1

2000Questions per year2026

Questions 6–6 of 6

Q6GATE 20041 markMCQ−0.33 if wrong
Let M=(K,Σ,σ,s,F)M=(K, \Sigma,\sigma ,s, F) be a finite state automaton, where
K={A,B},Σ={a,b},s=A,F={B}K=\{A, B\}, \Sigma=\{a, b\}, s=A, F=\{B\}
σ(A,a)=A,σ(A,b)=B,σ(B,a)=B and σ(B,b)=A\sigma(A, a)=A, \sigma(A, b)=B, \sigma(B, a)=B \text { and } \sigma(B, b)=A
A grammar to generate the language accepted by M can be specified as
G=(V,Σ,R,S), where V=K∪Σ, and S=AG=(V, \Sigma, R, S), \text { where } V=K \cup \Sigma, \text { and } S=A
Which one of the following set of rules will make L(G) = L(M) ?

Keep practising

Topics in Theory of Computation

All CS topics ›