GATE CS 2021, set 2 · Question 27 · Theory of Computation · Numerical answer (NAT) · 1 mark · no negative marks

Consider the following deterministic finite automaton (DFA).
The number of strings of length 8 accepted by the above automaton is ______.

DFA with six states, drawn as circles with no names. The start state (arrow labelled 'start' pointing into it) is on the far left. From the start state, an edge labelled 0 goes to an upper-left state (call it P) and an edge labelled 1 goes to a lower-left state (call it Q). From P, an edge labelled 0 goes horizontally to an upper-right state (call it R), and an edge labelled 1 goes diagonally down to a lower-right state (call it S). From Q, an edge labelled 0 goes diagonally up to R, and an edge labelled 1 goes horizontally to S. The two diagonal edges cross in the middle. From R, an edge lab…
Answer

Answer 256

Answer from the official GATE CS 2021 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes