GATE CS 2023 | Question 14

Theory of Computation › Regular Grammar · MCQ · 1 mark · Answer: C

  1. Question 14Theory of Computationmcq1 mark
    Consider the DFA shown over with states , start state , and the only final state. Which regular expression describes ?
    GATE CS 2023 Question 14 figure
    • A.
    • B.
    • C.
      ✓
    • D.

    Answer: C

    Solution

    Answer: (C) From , only a leading reaches the final state . From , reading a keeps you in the accepting cycle, and reading (via and back) returns to ; any other symbol goes to the dead state . So accepted strings are a followed by any sequence of 's and 's: .

More GATE PYQ on Regular Grammar

All GATE CS Theory of Computation PYQ →

Attempt GATE CS 2023 in real GATE exam mode

Full paper with a timer, the GATE interface and a topic-wise analysis — free.

Create free account →