Sports GK Questions and Answers 2024 (Latest Updated)

Awards & Honours GK Questions 2024 (Latest Updated)

Question

Which of the following CFG’s can't be simulated by an FSM?

A S → Sa | a
B S → abX
      X → cY
      Y → d | aX
C S → aSb | ab
D None of the above

Answer & Explanation

Answer: Option [C]

The set generated by the Option (C) is ( anbn, n=1, 2, 3, ………) which is not regular. Options (A) and (B) being left linear and right linear respectively and option [c] cannot be simulated by an FSM.

Advertisement
Article and Schedule Quiz Start Test!
DOWNLOAD CURRENT AFFAIRS PDF FROM APP

Random GK Questions

Assam Direct Recruitment Test Series

Teacher Eligibility Test

Assam Direct Recruitment Test Series