GATE CSE 2018 Q62: Order of a unary language accepted by a three-state automaton
- Theory of Computation
- 2 marks
- NAT
- No negative marking
Syllabus topic: Regular expressions and finite automata
Question
Given a language , define as follows:
The order of a language is defined as the smallest such that .
Consider the language (over alphabet 0) accepted by the following automaton.

The order of is _____.
Try it: numerical answer: type the value
Show answer and explanation
Answer: 2 (official GATE 2018 final answer key)
Concept used: Powers of a language grow until they stabilise; since , , and the order is where the chain stops growing.
First step: Read off from the automaton (it is plus strings with an odd number of 0s), then compute , , and see when they become equal.
Full step-by-step solution
Loading…
Answer from the official final answer key. Found a mistake? Use Report issue and we will fix it.
More questions on Regular expressions and finite automata
Every PYQ on this topic →Share this question
Source: official GATE 2018 CS question paper and final answer key, organised by IIT Guwahati. Question paper · Answer key
More Theory of Computation PYQs
- 2026 Session 1 · Q25Ambiguity of S → aSbS | bS | ε
- 2026 Session 1 · Q26Impossible minimal DFA sizes for a 6-state NFA
- 2026 Session 1 · Q51What follows from L1 ∩ L2 and L2 being regular
- 2026 Session 1 · Q52Counts of a's and b's in strings of a given CFG
- 2026 Session 2 · Q13Meaning of a Turing machine deciding a language
- 2026 Session 2 · Q29Which of four grammars are ambiguous