GATE CS 2024 Set 2 | Question 22

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

  1. Question 22Theory of Computationmcq1 mark
    Which regular expression is equivalent to the language accepted by the DFA shown (states over )?
    GATE CS 2024 Set 2 Question 22 figure
    • A.
      ✓
    • B.
    • C.
    • D.

    Answer: A

    Solution

    Answer: (A) From the DFA, strings reach the accepting state by first taking any number of 0's then a 1 (), after which the self/return transitions allow repeating patterns of a single or a followed by : . This exactly describes the accepted language.

More GATE PYQ on Regular Grammar

All GATE CS Theory of Computation PYQ →

Attempt GATE CS 2024 Set 2 in real GATE exam mode

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

Create free account →