1
Yes, provided that the initial state is a favourable state. For example, the DFA defined as:
digraph {
label=A
rankdir=LR
init[shape=point]
node[shape=doublecircle]; s;
node[shape=circle];
init->s
s->s[label=1]
s->s[label=0]
}If we try to input , we find that we start at and end at , which is a favourable state hence the finite automaton accepts this input.
title: Correct answer.2
digraph {
label=A
rankdir=LR
init[shape=point]
node[shape=doublecircle]; r;
node[shape=circle];
init->s
s->q[label=1]
q->q[label=0]
q->r[label=1]
r->r[label=0]
r->q[label=1]
s->p[label=0]
p->p[label=0]
p->p[label=1]
}-
Describe using a transition table.
1 0 s q p q r q r q r p p p
title: Correct answer.-
Find computations of input:
-
Ends on hence rejected as is not a favourable state.
-
Ends at hence accepted as is a favourable state.
-
Ends at hence rejected as is not favourable state.
title: Correct answer. -
-
title: Correct answer.