query_id
stringlengths 36
36
| fsm_id
stringclasses 25
values | fsm_json
stringclasses 21
values | difficulty_level
int64 1
4
| transition_matrix
stringclasses 21
values | query
stringlengths 161
530
| answer
stringclasses 8
values | substring_index
int64 1
20
| number_of_states
int64 1
8
| number_of_alphabets
int64 1
8
| state_alpha_combo
stringclasses 19
values |
---|---|---|---|---|---|---|---|---|---|---|
03b6722c-50d7-4a87-95fb-c6b3cc593cf4 | bc8e61af-9392-4bfd-a605-cf4472f1ac09 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcd", "accepting_states": ["s1", "s6", "s2", "s3", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s6","s1":"s3","s2":"s4","s3":"s0","s4":"s5","s5":"s6","s6":"s4"},"b":{"s0":"s4","s1":"s5","s2":"s1","s3":"s3","s4":"s1","s5":"s5","s6":"s6"},"c":{"s0":"s3","s1":"s2","s2":"s2","s3":"s4","s4":"s2","s5":"s4","s6":"s2"},"d":{"s0":"s5","s1":"s4","s2":"s5","s3":"s5","s4":"s4","s5":"s3","s6":"s6"}} | Given the following FSM:
a b c d
s0 s6 s4 s3 s5
s1 s3 s5 s2 s4
s2 s4 s1 s2 s5
s3 s0 s3 s4 s5
s4 s5 s1 s2 s4
s5 s6 s5 s4 s3
s6 s4 s6 s2 s6
With the initial state: s0, and accepting states: ['s1', 's6', 's2', 's3', 's5', 's0'],
What will be the state after reading the following input: a ? | s6 | 1 | 7 | 4 | 7_4 |
1d8bbd6a-f564-4fb0-9055-7709b96dd667 | bc8e61af-9392-4bfd-a605-cf4472f1ac09 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcd", "accepting_states": ["s1", "s6", "s2", "s3", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s6","s1":"s3","s2":"s4","s3":"s0","s4":"s5","s5":"s6","s6":"s4"},"b":{"s0":"s4","s1":"s5","s2":"s1","s3":"s3","s4":"s1","s5":"s5","s6":"s6"},"c":{"s0":"s3","s1":"s2","s2":"s2","s3":"s4","s4":"s2","s5":"s4","s6":"s2"},"d":{"s0":"s5","s1":"s4","s2":"s5","s3":"s5","s4":"s4","s5":"s3","s6":"s6"}} | Given the following FSM:
a b c d
s0 s6 s4 s3 s5
s1 s3 s5 s2 s4
s2 s4 s1 s2 s5
s3 s0 s3 s4 s5
s4 s5 s1 s2 s4
s5 s6 s5 s4 s3
s6 s4 s6 s2 s6
With the initial state: s0, and accepting states: ['s1', 's6', 's2', 's3', 's5', 's0'],
What will be the state after reading the following input: a c ? | s2 | 2 | 7 | 4 | 7_4 |
78200e1f-0b74-409c-8565-2c3ef60adcea | bc8e61af-9392-4bfd-a605-cf4472f1ac09 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcd", "accepting_states": ["s1", "s6", "s2", "s3", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s6","s1":"s3","s2":"s4","s3":"s0","s4":"s5","s5":"s6","s6":"s4"},"b":{"s0":"s4","s1":"s5","s2":"s1","s3":"s3","s4":"s1","s5":"s5","s6":"s6"},"c":{"s0":"s3","s1":"s2","s2":"s2","s3":"s4","s4":"s2","s5":"s4","s6":"s2"},"d":{"s0":"s5","s1":"s4","s2":"s5","s3":"s5","s4":"s4","s5":"s3","s6":"s6"}} | Given the following FSM:
a b c d
s0 s6 s4 s3 s5
s1 s3 s5 s2 s4
s2 s4 s1 s2 s5
s3 s0 s3 s4 s5
s4 s5 s1 s2 s4
s5 s6 s5 s4 s3
s6 s4 s6 s2 s6
With the initial state: s0, and accepting states: ['s1', 's6', 's2', 's3', 's5', 's0'],
What will be the state after reading the following input: a c d ? | s5 | 3 | 7 | 4 | 7_4 |
22d0a1d3-330a-464b-94a3-98fdebe96341 | bc8e61af-9392-4bfd-a605-cf4472f1ac09 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcd", "accepting_states": ["s1", "s6", "s2", "s3", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s6","s1":"s3","s2":"s4","s3":"s0","s4":"s5","s5":"s6","s6":"s4"},"b":{"s0":"s4","s1":"s5","s2":"s1","s3":"s3","s4":"s1","s5":"s5","s6":"s6"},"c":{"s0":"s3","s1":"s2","s2":"s2","s3":"s4","s4":"s2","s5":"s4","s6":"s2"},"d":{"s0":"s5","s1":"s4","s2":"s5","s3":"s5","s4":"s4","s5":"s3","s6":"s6"}} | Given the following FSM:
a b c d
s0 s6 s4 s3 s5
s1 s3 s5 s2 s4
s2 s4 s1 s2 s5
s3 s0 s3 s4 s5
s4 s5 s1 s2 s4
s5 s6 s5 s4 s3
s6 s4 s6 s2 s6
With the initial state: s0, and accepting states: ['s1', 's6', 's2', 's3', 's5', 's0'],
What will be the state after reading the following input: a c d c ? | s4 | 4 | 7 | 4 | 7_4 |
6e619935-b46b-4e2b-92f1-c47c6368918b | bc8e61af-9392-4bfd-a605-cf4472f1ac09 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcd", "accepting_states": ["s1", "s6", "s2", "s3", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s6","s1":"s3","s2":"s4","s3":"s0","s4":"s5","s5":"s6","s6":"s4"},"b":{"s0":"s4","s1":"s5","s2":"s1","s3":"s3","s4":"s1","s5":"s5","s6":"s6"},"c":{"s0":"s3","s1":"s2","s2":"s2","s3":"s4","s4":"s2","s5":"s4","s6":"s2"},"d":{"s0":"s5","s1":"s4","s2":"s5","s3":"s5","s4":"s4","s5":"s3","s6":"s6"}} | Given the following FSM:
a b c d
s0 s6 s4 s3 s5
s1 s3 s5 s2 s4
s2 s4 s1 s2 s5
s3 s0 s3 s4 s5
s4 s5 s1 s2 s4
s5 s6 s5 s4 s3
s6 s4 s6 s2 s6
With the initial state: s0, and accepting states: ['s1', 's6', 's2', 's3', 's5', 's0'],
What will be the state after reading the following input: a c d c a ? | s5 | 5 | 7 | 4 | 7_4 |
f4234a10-03ae-41a9-b867-54f23f58be72 | bc8e61af-9392-4bfd-a605-cf4472f1ac09 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcd", "accepting_states": ["s1", "s6", "s2", "s3", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s6","s1":"s3","s2":"s4","s3":"s0","s4":"s5","s5":"s6","s6":"s4"},"b":{"s0":"s4","s1":"s5","s2":"s1","s3":"s3","s4":"s1","s5":"s5","s6":"s6"},"c":{"s0":"s3","s1":"s2","s2":"s2","s3":"s4","s4":"s2","s5":"s4","s6":"s2"},"d":{"s0":"s5","s1":"s4","s2":"s5","s3":"s5","s4":"s4","s5":"s3","s6":"s6"}} | Given the following FSM:
a b c d
s0 s6 s4 s3 s5
s1 s3 s5 s2 s4
s2 s4 s1 s2 s5
s3 s0 s3 s4 s5
s4 s5 s1 s2 s4
s5 s6 s5 s4 s3
s6 s4 s6 s2 s6
With the initial state: s0, and accepting states: ['s1', 's6', 's2', 's3', 's5', 's0'],
What will be the state after reading the following input: a c d c a d ? | s3 | 6 | 7 | 4 | 7_4 |
624ffbbf-97b3-44a9-a07c-2ddd212bba42 | bc8e61af-9392-4bfd-a605-cf4472f1ac09 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcd", "accepting_states": ["s1", "s6", "s2", "s3", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s6","s1":"s3","s2":"s4","s3":"s0","s4":"s5","s5":"s6","s6":"s4"},"b":{"s0":"s4","s1":"s5","s2":"s1","s3":"s3","s4":"s1","s5":"s5","s6":"s6"},"c":{"s0":"s3","s1":"s2","s2":"s2","s3":"s4","s4":"s2","s5":"s4","s6":"s2"},"d":{"s0":"s5","s1":"s4","s2":"s5","s3":"s5","s4":"s4","s5":"s3","s6":"s6"}} | Given the following FSM:
a b c d
s0 s6 s4 s3 s5
s1 s3 s5 s2 s4
s2 s4 s1 s2 s5
s3 s0 s3 s4 s5
s4 s5 s1 s2 s4
s5 s6 s5 s4 s3
s6 s4 s6 s2 s6
With the initial state: s0, and accepting states: ['s1', 's6', 's2', 's3', 's5', 's0'],
What will be the state after reading the following input: a c d c a d d ? | s5 | 7 | 7 | 4 | 7_4 |
b819e662-994e-41cb-9d81-3e6bffcf1874 | bc8e61af-9392-4bfd-a605-cf4472f1ac09 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcd", "accepting_states": ["s1", "s6", "s2", "s3", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s6","s1":"s3","s2":"s4","s3":"s0","s4":"s5","s5":"s6","s6":"s4"},"b":{"s0":"s4","s1":"s5","s2":"s1","s3":"s3","s4":"s1","s5":"s5","s6":"s6"},"c":{"s0":"s3","s1":"s2","s2":"s2","s3":"s4","s4":"s2","s5":"s4","s6":"s2"},"d":{"s0":"s5","s1":"s4","s2":"s5","s3":"s5","s4":"s4","s5":"s3","s6":"s6"}} | Given the following FSM:
a b c d
s0 s6 s4 s3 s5
s1 s3 s5 s2 s4
s2 s4 s1 s2 s5
s3 s0 s3 s4 s5
s4 s5 s1 s2 s4
s5 s6 s5 s4 s3
s6 s4 s6 s2 s6
With the initial state: s0, and accepting states: ['s1', 's6', 's2', 's3', 's5', 's0'],
What will be the state after reading the following input: a c d c a d d d ? | s3 | 8 | 7 | 4 | 7_4 |
7470bb5d-55ff-4dd3-aa99-1a418021b9bb | bc8e61af-9392-4bfd-a605-cf4472f1ac09 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcd", "accepting_states": ["s1", "s6", "s2", "s3", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s6","s1":"s3","s2":"s4","s3":"s0","s4":"s5","s5":"s6","s6":"s4"},"b":{"s0":"s4","s1":"s5","s2":"s1","s3":"s3","s4":"s1","s5":"s5","s6":"s6"},"c":{"s0":"s3","s1":"s2","s2":"s2","s3":"s4","s4":"s2","s5":"s4","s6":"s2"},"d":{"s0":"s5","s1":"s4","s2":"s5","s3":"s5","s4":"s4","s5":"s3","s6":"s6"}} | Given the following FSM:
a b c d
s0 s6 s4 s3 s5
s1 s3 s5 s2 s4
s2 s4 s1 s2 s5
s3 s0 s3 s4 s5
s4 s5 s1 s2 s4
s5 s6 s5 s4 s3
s6 s4 s6 s2 s6
With the initial state: s0, and accepting states: ['s1', 's6', 's2', 's3', 's5', 's0'],
What will be the state after reading the following input: a c d c a d d d d ? | s5 | 9 | 7 | 4 | 7_4 |
50f49a41-52e9-4a45-87e4-da6d52c9f2b4 | bc8e61af-9392-4bfd-a605-cf4472f1ac09 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcd", "accepting_states": ["s1", "s6", "s2", "s3", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s6","s1":"s3","s2":"s4","s3":"s0","s4":"s5","s5":"s6","s6":"s4"},"b":{"s0":"s4","s1":"s5","s2":"s1","s3":"s3","s4":"s1","s5":"s5","s6":"s6"},"c":{"s0":"s3","s1":"s2","s2":"s2","s3":"s4","s4":"s2","s5":"s4","s6":"s2"},"d":{"s0":"s5","s1":"s4","s2":"s5","s3":"s5","s4":"s4","s5":"s3","s6":"s6"}} | Given the following FSM:
a b c d
s0 s6 s4 s3 s5
s1 s3 s5 s2 s4
s2 s4 s1 s2 s5
s3 s0 s3 s4 s5
s4 s5 s1 s2 s4
s5 s6 s5 s4 s3
s6 s4 s6 s2 s6
With the initial state: s0, and accepting states: ['s1', 's6', 's2', 's3', 's5', 's0'],
What will be the state after reading the following input: a c d c a d d d d a ? | s6 | 10 | 7 | 4 | 7_4 |
ad10b3fe-62df-4789-a659-c52f957ca450 | bc8e61af-9392-4bfd-a605-cf4472f1ac09 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcd", "accepting_states": ["s1", "s6", "s2", "s3", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s6","s1":"s3","s2":"s4","s3":"s0","s4":"s5","s5":"s6","s6":"s4"},"b":{"s0":"s4","s1":"s5","s2":"s1","s3":"s3","s4":"s1","s5":"s5","s6":"s6"},"c":{"s0":"s3","s1":"s2","s2":"s2","s3":"s4","s4":"s2","s5":"s4","s6":"s2"},"d":{"s0":"s5","s1":"s4","s2":"s5","s3":"s5","s4":"s4","s5":"s3","s6":"s6"}} | Given the following FSM:
a b c d
s0 s6 s4 s3 s5
s1 s3 s5 s2 s4
s2 s4 s1 s2 s5
s3 s0 s3 s4 s5
s4 s5 s1 s2 s4
s5 s6 s5 s4 s3
s6 s4 s6 s2 s6
With the initial state: s0, and accepting states: ['s1', 's6', 's2', 's3', 's5', 's0'],
What will be the state after reading the following input: a c d c a d d d d a c ? | s2 | 11 | 7 | 4 | 7_4 |
47064714-b807-498c-a5e0-5d8fd76098a5 | bc8e61af-9392-4bfd-a605-cf4472f1ac09 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcd", "accepting_states": ["s1", "s6", "s2", "s3", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s6","s1":"s3","s2":"s4","s3":"s0","s4":"s5","s5":"s6","s6":"s4"},"b":{"s0":"s4","s1":"s5","s2":"s1","s3":"s3","s4":"s1","s5":"s5","s6":"s6"},"c":{"s0":"s3","s1":"s2","s2":"s2","s3":"s4","s4":"s2","s5":"s4","s6":"s2"},"d":{"s0":"s5","s1":"s4","s2":"s5","s3":"s5","s4":"s4","s5":"s3","s6":"s6"}} | Given the following FSM:
a b c d
s0 s6 s4 s3 s5
s1 s3 s5 s2 s4
s2 s4 s1 s2 s5
s3 s0 s3 s4 s5
s4 s5 s1 s2 s4
s5 s6 s5 s4 s3
s6 s4 s6 s2 s6
With the initial state: s0, and accepting states: ['s1', 's6', 's2', 's3', 's5', 's0'],
What will be the state after reading the following input: a c d c a d d d d a c c ? | s2 | 12 | 7 | 4 | 7_4 |
8daee1a2-65ea-4340-8c61-3653868829e6 | bc8e61af-9392-4bfd-a605-cf4472f1ac09 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcd", "accepting_states": ["s1", "s6", "s2", "s3", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s6","s1":"s3","s2":"s4","s3":"s0","s4":"s5","s5":"s6","s6":"s4"},"b":{"s0":"s4","s1":"s5","s2":"s1","s3":"s3","s4":"s1","s5":"s5","s6":"s6"},"c":{"s0":"s3","s1":"s2","s2":"s2","s3":"s4","s4":"s2","s5":"s4","s6":"s2"},"d":{"s0":"s5","s1":"s4","s2":"s5","s3":"s5","s4":"s4","s5":"s3","s6":"s6"}} | Given the following FSM:
a b c d
s0 s6 s4 s3 s5
s1 s3 s5 s2 s4
s2 s4 s1 s2 s5
s3 s0 s3 s4 s5
s4 s5 s1 s2 s4
s5 s6 s5 s4 s3
s6 s4 s6 s2 s6
With the initial state: s0, and accepting states: ['s1', 's6', 's2', 's3', 's5', 's0'],
What will be the state after reading the following input: a c d c a d d d d a c c a ? | s4 | 13 | 7 | 4 | 7_4 |
d59b2eef-1d49-4e25-9b93-57f5188d6ae7 | bc8e61af-9392-4bfd-a605-cf4472f1ac09 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcd", "accepting_states": ["s1", "s6", "s2", "s3", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s6","s1":"s3","s2":"s4","s3":"s0","s4":"s5","s5":"s6","s6":"s4"},"b":{"s0":"s4","s1":"s5","s2":"s1","s3":"s3","s4":"s1","s5":"s5","s6":"s6"},"c":{"s0":"s3","s1":"s2","s2":"s2","s3":"s4","s4":"s2","s5":"s4","s6":"s2"},"d":{"s0":"s5","s1":"s4","s2":"s5","s3":"s5","s4":"s4","s5":"s3","s6":"s6"}} | Given the following FSM:
a b c d
s0 s6 s4 s3 s5
s1 s3 s5 s2 s4
s2 s4 s1 s2 s5
s3 s0 s3 s4 s5
s4 s5 s1 s2 s4
s5 s6 s5 s4 s3
s6 s4 s6 s2 s6
With the initial state: s0, and accepting states: ['s1', 's6', 's2', 's3', 's5', 's0'],
What will be the state after reading the following input: a c d c a d d d d a c c a a ? | s5 | 14 | 7 | 4 | 7_4 |
84acb601-b022-4c4f-b489-e86b109bc5c2 | bc8e61af-9392-4bfd-a605-cf4472f1ac09 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcd", "accepting_states": ["s1", "s6", "s2", "s3", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s6","s1":"s3","s2":"s4","s3":"s0","s4":"s5","s5":"s6","s6":"s4"},"b":{"s0":"s4","s1":"s5","s2":"s1","s3":"s3","s4":"s1","s5":"s5","s6":"s6"},"c":{"s0":"s3","s1":"s2","s2":"s2","s3":"s4","s4":"s2","s5":"s4","s6":"s2"},"d":{"s0":"s5","s1":"s4","s2":"s5","s3":"s5","s4":"s4","s5":"s3","s6":"s6"}} | Given the following FSM:
a b c d
s0 s6 s4 s3 s5
s1 s3 s5 s2 s4
s2 s4 s1 s2 s5
s3 s0 s3 s4 s5
s4 s5 s1 s2 s4
s5 s6 s5 s4 s3
s6 s4 s6 s2 s6
With the initial state: s0, and accepting states: ['s1', 's6', 's2', 's3', 's5', 's0'],
What will be the state after reading the following input: a c d c a d d d d a c c a a b ? | s5 | 15 | 7 | 4 | 7_4 |
1a79c469-a3e9-41bd-ae46-8e74d1794586 | bc8e61af-9392-4bfd-a605-cf4472f1ac09 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcd", "accepting_states": ["s1", "s6", "s2", "s3", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s6","s1":"s3","s2":"s4","s3":"s0","s4":"s5","s5":"s6","s6":"s4"},"b":{"s0":"s4","s1":"s5","s2":"s1","s3":"s3","s4":"s1","s5":"s5","s6":"s6"},"c":{"s0":"s3","s1":"s2","s2":"s2","s3":"s4","s4":"s2","s5":"s4","s6":"s2"},"d":{"s0":"s5","s1":"s4","s2":"s5","s3":"s5","s4":"s4","s5":"s3","s6":"s6"}} | Given the following FSM:
a b c d
s0 s6 s4 s3 s5
s1 s3 s5 s2 s4
s2 s4 s1 s2 s5
s3 s0 s3 s4 s5
s4 s5 s1 s2 s4
s5 s6 s5 s4 s3
s6 s4 s6 s2 s6
With the initial state: s0, and accepting states: ['s1', 's6', 's2', 's3', 's5', 's0'],
What will be the state after reading the following input: a c d c a d d d d a c c a a b a ? | s6 | 16 | 7 | 4 | 7_4 |
312485dc-64cc-4f5d-942c-c26cf1de6bf8 | bc8e61af-9392-4bfd-a605-cf4472f1ac09 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcd", "accepting_states": ["s1", "s6", "s2", "s3", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s6","s1":"s3","s2":"s4","s3":"s0","s4":"s5","s5":"s6","s6":"s4"},"b":{"s0":"s4","s1":"s5","s2":"s1","s3":"s3","s4":"s1","s5":"s5","s6":"s6"},"c":{"s0":"s3","s1":"s2","s2":"s2","s3":"s4","s4":"s2","s5":"s4","s6":"s2"},"d":{"s0":"s5","s1":"s4","s2":"s5","s3":"s5","s4":"s4","s5":"s3","s6":"s6"}} | Given the following FSM:
a b c d
s0 s6 s4 s3 s5
s1 s3 s5 s2 s4
s2 s4 s1 s2 s5
s3 s0 s3 s4 s5
s4 s5 s1 s2 s4
s5 s6 s5 s4 s3
s6 s4 s6 s2 s6
With the initial state: s0, and accepting states: ['s1', 's6', 's2', 's3', 's5', 's0'],
What will be the state after reading the following input: a c d c a d d d d a c c a a b a d ? | s6 | 17 | 7 | 4 | 7_4 |
fa31d4a2-04c5-44c6-9358-82bf4f5a65c7 | bc8e61af-9392-4bfd-a605-cf4472f1ac09 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcd", "accepting_states": ["s1", "s6", "s2", "s3", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s6","s1":"s3","s2":"s4","s3":"s0","s4":"s5","s5":"s6","s6":"s4"},"b":{"s0":"s4","s1":"s5","s2":"s1","s3":"s3","s4":"s1","s5":"s5","s6":"s6"},"c":{"s0":"s3","s1":"s2","s2":"s2","s3":"s4","s4":"s2","s5":"s4","s6":"s2"},"d":{"s0":"s5","s1":"s4","s2":"s5","s3":"s5","s4":"s4","s5":"s3","s6":"s6"}} | Given the following FSM:
a b c d
s0 s6 s4 s3 s5
s1 s3 s5 s2 s4
s2 s4 s1 s2 s5
s3 s0 s3 s4 s5
s4 s5 s1 s2 s4
s5 s6 s5 s4 s3
s6 s4 s6 s2 s6
With the initial state: s0, and accepting states: ['s1', 's6', 's2', 's3', 's5', 's0'],
What will be the state after reading the following input: a c d c a d d d d a c c a a b a d a ? | s4 | 18 | 7 | 4 | 7_4 |
47ce025b-81a9-446e-a990-7bc7a0114dc5 | bc8e61af-9392-4bfd-a605-cf4472f1ac09 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcd", "accepting_states": ["s1", "s6", "s2", "s3", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s6","s1":"s3","s2":"s4","s3":"s0","s4":"s5","s5":"s6","s6":"s4"},"b":{"s0":"s4","s1":"s5","s2":"s1","s3":"s3","s4":"s1","s5":"s5","s6":"s6"},"c":{"s0":"s3","s1":"s2","s2":"s2","s3":"s4","s4":"s2","s5":"s4","s6":"s2"},"d":{"s0":"s5","s1":"s4","s2":"s5","s3":"s5","s4":"s4","s5":"s3","s6":"s6"}} | Given the following FSM:
a b c d
s0 s6 s4 s3 s5
s1 s3 s5 s2 s4
s2 s4 s1 s2 s5
s3 s0 s3 s4 s5
s4 s5 s1 s2 s4
s5 s6 s5 s4 s3
s6 s4 s6 s2 s6
With the initial state: s0, and accepting states: ['s1', 's6', 's2', 's3', 's5', 's0'],
What will be the state after reading the following input: a c d c a d d d d a c c a a b a d a b ? | s1 | 19 | 7 | 4 | 7_4 |
57c82663-43ab-474b-820b-0b9ce66b8244 | bc8e61af-9392-4bfd-a605-cf4472f1ac09 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcd", "accepting_states": ["s1", "s6", "s2", "s3", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s6","s1":"s3","s2":"s4","s3":"s0","s4":"s5","s5":"s6","s6":"s4"},"b":{"s0":"s4","s1":"s5","s2":"s1","s3":"s3","s4":"s1","s5":"s5","s6":"s6"},"c":{"s0":"s3","s1":"s2","s2":"s2","s3":"s4","s4":"s2","s5":"s4","s6":"s2"},"d":{"s0":"s5","s1":"s4","s2":"s5","s3":"s5","s4":"s4","s5":"s3","s6":"s6"}} | Given the following FSM:
a b c d
s0 s6 s4 s3 s5
s1 s3 s5 s2 s4
s2 s4 s1 s2 s5
s3 s0 s3 s4 s5
s4 s5 s1 s2 s4
s5 s6 s5 s4 s3
s6 s4 s6 s2 s6
With the initial state: s0, and accepting states: ['s1', 's6', 's2', 's3', 's5', 's0'],
What will be the state after reading the following input: a c d c a d d d d a c c a a b a d a b c ? | s2 | 20 | 7 | 4 | 7_4 |
0bff41f0-5804-4746-9125-c21f44aae0ae | 863304cc-4735-4d8b-b245-bb356dada1be | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcdef", "accepting_states": ["s3", "s2", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s0"]}]} | 3 | {"a":{"s0":"s5","s1":"s0","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s1"},"b":{"s0":"s0","s1":"s5","s2":"s0","s3":"s3","s4":"s5","s5":"s3","s6":"s6"},"c":{"s0":"s4","s1":"s1","s2":"s1","s3":"s1","s4":"s1","s5":"s5","s6":"s5"},"d":{"s0":"s4","s1":"s5","s2":"s4","s3":"s2","s4":"s1","s5":"s6","s6":"s0"},"e":{"s0":"s6","s1":"s0","s2":"s6","s3":"s4","s4":"s2","s5":"s2","s6":"s0"},"f":{"s0":"s3","s1":"s6","s2":"s6","s3":"s3","s4":"s5","s5":"s5","s6":"s0"}} | Given the following FSM:
a b c d e f
s0 s5 s0 s4 s4 s6 s3
s1 s0 s5 s1 s5 s0 s6
s2 s6 s0 s1 s4 s6 s6
s3 s2 s3 s1 s2 s4 s3
s4 s2 s5 s1 s1 s2 s5
s5 s4 s3 s5 s6 s2 s5
s6 s1 s6 s5 s0 s0 s0
With the initial state: s0, and accepting states: ['s3', 's2', 's5', 's0'],
What will be the state after reading the following input: d ? | s4 | 1 | 7 | 6 | 7_6 |
91a4a3c0-30ea-493f-bfa3-348b3392595f | 863304cc-4735-4d8b-b245-bb356dada1be | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcdef", "accepting_states": ["s3", "s2", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s0"]}]} | 3 | {"a":{"s0":"s5","s1":"s0","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s1"},"b":{"s0":"s0","s1":"s5","s2":"s0","s3":"s3","s4":"s5","s5":"s3","s6":"s6"},"c":{"s0":"s4","s1":"s1","s2":"s1","s3":"s1","s4":"s1","s5":"s5","s6":"s5"},"d":{"s0":"s4","s1":"s5","s2":"s4","s3":"s2","s4":"s1","s5":"s6","s6":"s0"},"e":{"s0":"s6","s1":"s0","s2":"s6","s3":"s4","s4":"s2","s5":"s2","s6":"s0"},"f":{"s0":"s3","s1":"s6","s2":"s6","s3":"s3","s4":"s5","s5":"s5","s6":"s0"}} | Given the following FSM:
a b c d e f
s0 s5 s0 s4 s4 s6 s3
s1 s0 s5 s1 s5 s0 s6
s2 s6 s0 s1 s4 s6 s6
s3 s2 s3 s1 s2 s4 s3
s4 s2 s5 s1 s1 s2 s5
s5 s4 s3 s5 s6 s2 s5
s6 s1 s6 s5 s0 s0 s0
With the initial state: s0, and accepting states: ['s3', 's2', 's5', 's0'],
What will be the state after reading the following input: d b ? | s5 | 2 | 7 | 6 | 7_6 |
d8370b6d-52d6-4fb9-b6ba-cbde1153e4df | 863304cc-4735-4d8b-b245-bb356dada1be | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcdef", "accepting_states": ["s3", "s2", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s0"]}]} | 3 | {"a":{"s0":"s5","s1":"s0","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s1"},"b":{"s0":"s0","s1":"s5","s2":"s0","s3":"s3","s4":"s5","s5":"s3","s6":"s6"},"c":{"s0":"s4","s1":"s1","s2":"s1","s3":"s1","s4":"s1","s5":"s5","s6":"s5"},"d":{"s0":"s4","s1":"s5","s2":"s4","s3":"s2","s4":"s1","s5":"s6","s6":"s0"},"e":{"s0":"s6","s1":"s0","s2":"s6","s3":"s4","s4":"s2","s5":"s2","s6":"s0"},"f":{"s0":"s3","s1":"s6","s2":"s6","s3":"s3","s4":"s5","s5":"s5","s6":"s0"}} | Given the following FSM:
a b c d e f
s0 s5 s0 s4 s4 s6 s3
s1 s0 s5 s1 s5 s0 s6
s2 s6 s0 s1 s4 s6 s6
s3 s2 s3 s1 s2 s4 s3
s4 s2 s5 s1 s1 s2 s5
s5 s4 s3 s5 s6 s2 s5
s6 s1 s6 s5 s0 s0 s0
With the initial state: s0, and accepting states: ['s3', 's2', 's5', 's0'],
What will be the state after reading the following input: d b a ? | s4 | 3 | 7 | 6 | 7_6 |
97c67a92-9fd3-4873-aae8-645d4326b4b5 | 863304cc-4735-4d8b-b245-bb356dada1be | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcdef", "accepting_states": ["s3", "s2", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s0"]}]} | 3 | {"a":{"s0":"s5","s1":"s0","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s1"},"b":{"s0":"s0","s1":"s5","s2":"s0","s3":"s3","s4":"s5","s5":"s3","s6":"s6"},"c":{"s0":"s4","s1":"s1","s2":"s1","s3":"s1","s4":"s1","s5":"s5","s6":"s5"},"d":{"s0":"s4","s1":"s5","s2":"s4","s3":"s2","s4":"s1","s5":"s6","s6":"s0"},"e":{"s0":"s6","s1":"s0","s2":"s6","s3":"s4","s4":"s2","s5":"s2","s6":"s0"},"f":{"s0":"s3","s1":"s6","s2":"s6","s3":"s3","s4":"s5","s5":"s5","s6":"s0"}} | Given the following FSM:
a b c d e f
s0 s5 s0 s4 s4 s6 s3
s1 s0 s5 s1 s5 s0 s6
s2 s6 s0 s1 s4 s6 s6
s3 s2 s3 s1 s2 s4 s3
s4 s2 s5 s1 s1 s2 s5
s5 s4 s3 s5 s6 s2 s5
s6 s1 s6 s5 s0 s0 s0
With the initial state: s0, and accepting states: ['s3', 's2', 's5', 's0'],
What will be the state after reading the following input: d b a e ? | s2 | 4 | 7 | 6 | 7_6 |
4f298da3-6f97-482a-873f-9f3a8632fb09 | 863304cc-4735-4d8b-b245-bb356dada1be | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcdef", "accepting_states": ["s3", "s2", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s0"]}]} | 3 | {"a":{"s0":"s5","s1":"s0","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s1"},"b":{"s0":"s0","s1":"s5","s2":"s0","s3":"s3","s4":"s5","s5":"s3","s6":"s6"},"c":{"s0":"s4","s1":"s1","s2":"s1","s3":"s1","s4":"s1","s5":"s5","s6":"s5"},"d":{"s0":"s4","s1":"s5","s2":"s4","s3":"s2","s4":"s1","s5":"s6","s6":"s0"},"e":{"s0":"s6","s1":"s0","s2":"s6","s3":"s4","s4":"s2","s5":"s2","s6":"s0"},"f":{"s0":"s3","s1":"s6","s2":"s6","s3":"s3","s4":"s5","s5":"s5","s6":"s0"}} | Given the following FSM:
a b c d e f
s0 s5 s0 s4 s4 s6 s3
s1 s0 s5 s1 s5 s0 s6
s2 s6 s0 s1 s4 s6 s6
s3 s2 s3 s1 s2 s4 s3
s4 s2 s5 s1 s1 s2 s5
s5 s4 s3 s5 s6 s2 s5
s6 s1 s6 s5 s0 s0 s0
With the initial state: s0, and accepting states: ['s3', 's2', 's5', 's0'],
What will be the state after reading the following input: d b a e a ? | s6 | 5 | 7 | 6 | 7_6 |
b613ab65-8bcf-40d4-bd7b-a689919c5348 | 863304cc-4735-4d8b-b245-bb356dada1be | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcdef", "accepting_states": ["s3", "s2", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s0"]}]} | 3 | {"a":{"s0":"s5","s1":"s0","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s1"},"b":{"s0":"s0","s1":"s5","s2":"s0","s3":"s3","s4":"s5","s5":"s3","s6":"s6"},"c":{"s0":"s4","s1":"s1","s2":"s1","s3":"s1","s4":"s1","s5":"s5","s6":"s5"},"d":{"s0":"s4","s1":"s5","s2":"s4","s3":"s2","s4":"s1","s5":"s6","s6":"s0"},"e":{"s0":"s6","s1":"s0","s2":"s6","s3":"s4","s4":"s2","s5":"s2","s6":"s0"},"f":{"s0":"s3","s1":"s6","s2":"s6","s3":"s3","s4":"s5","s5":"s5","s6":"s0"}} | Given the following FSM:
a b c d e f
s0 s5 s0 s4 s4 s6 s3
s1 s0 s5 s1 s5 s0 s6
s2 s6 s0 s1 s4 s6 s6
s3 s2 s3 s1 s2 s4 s3
s4 s2 s5 s1 s1 s2 s5
s5 s4 s3 s5 s6 s2 s5
s6 s1 s6 s5 s0 s0 s0
With the initial state: s0, and accepting states: ['s3', 's2', 's5', 's0'],
What will be the state after reading the following input: d b a e a b ? | s6 | 6 | 7 | 6 | 7_6 |
1f65aa3d-5249-4e65-bd28-91771e4806aa | 863304cc-4735-4d8b-b245-bb356dada1be | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcdef", "accepting_states": ["s3", "s2", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s0"]}]} | 3 | {"a":{"s0":"s5","s1":"s0","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s1"},"b":{"s0":"s0","s1":"s5","s2":"s0","s3":"s3","s4":"s5","s5":"s3","s6":"s6"},"c":{"s0":"s4","s1":"s1","s2":"s1","s3":"s1","s4":"s1","s5":"s5","s6":"s5"},"d":{"s0":"s4","s1":"s5","s2":"s4","s3":"s2","s4":"s1","s5":"s6","s6":"s0"},"e":{"s0":"s6","s1":"s0","s2":"s6","s3":"s4","s4":"s2","s5":"s2","s6":"s0"},"f":{"s0":"s3","s1":"s6","s2":"s6","s3":"s3","s4":"s5","s5":"s5","s6":"s0"}} | Given the following FSM:
a b c d e f
s0 s5 s0 s4 s4 s6 s3
s1 s0 s5 s1 s5 s0 s6
s2 s6 s0 s1 s4 s6 s6
s3 s2 s3 s1 s2 s4 s3
s4 s2 s5 s1 s1 s2 s5
s5 s4 s3 s5 s6 s2 s5
s6 s1 s6 s5 s0 s0 s0
With the initial state: s0, and accepting states: ['s3', 's2', 's5', 's0'],
What will be the state after reading the following input: d b a e a b c ? | s5 | 7 | 7 | 6 | 7_6 |
489a3749-e8a5-486d-9a7b-1d6881bba8b8 | 863304cc-4735-4d8b-b245-bb356dada1be | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcdef", "accepting_states": ["s3", "s2", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s0"]}]} | 3 | {"a":{"s0":"s5","s1":"s0","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s1"},"b":{"s0":"s0","s1":"s5","s2":"s0","s3":"s3","s4":"s5","s5":"s3","s6":"s6"},"c":{"s0":"s4","s1":"s1","s2":"s1","s3":"s1","s4":"s1","s5":"s5","s6":"s5"},"d":{"s0":"s4","s1":"s5","s2":"s4","s3":"s2","s4":"s1","s5":"s6","s6":"s0"},"e":{"s0":"s6","s1":"s0","s2":"s6","s3":"s4","s4":"s2","s5":"s2","s6":"s0"},"f":{"s0":"s3","s1":"s6","s2":"s6","s3":"s3","s4":"s5","s5":"s5","s6":"s0"}} | Given the following FSM:
a b c d e f
s0 s5 s0 s4 s4 s6 s3
s1 s0 s5 s1 s5 s0 s6
s2 s6 s0 s1 s4 s6 s6
s3 s2 s3 s1 s2 s4 s3
s4 s2 s5 s1 s1 s2 s5
s5 s4 s3 s5 s6 s2 s5
s6 s1 s6 s5 s0 s0 s0
With the initial state: s0, and accepting states: ['s3', 's2', 's5', 's0'],
What will be the state after reading the following input: d b a e a b c e ? | s2 | 8 | 7 | 6 | 7_6 |
a6df41ed-9623-433f-8317-b2901a4557a1 | 863304cc-4735-4d8b-b245-bb356dada1be | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcdef", "accepting_states": ["s3", "s2", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s0"]}]} | 3 | {"a":{"s0":"s5","s1":"s0","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s1"},"b":{"s0":"s0","s1":"s5","s2":"s0","s3":"s3","s4":"s5","s5":"s3","s6":"s6"},"c":{"s0":"s4","s1":"s1","s2":"s1","s3":"s1","s4":"s1","s5":"s5","s6":"s5"},"d":{"s0":"s4","s1":"s5","s2":"s4","s3":"s2","s4":"s1","s5":"s6","s6":"s0"},"e":{"s0":"s6","s1":"s0","s2":"s6","s3":"s4","s4":"s2","s5":"s2","s6":"s0"},"f":{"s0":"s3","s1":"s6","s2":"s6","s3":"s3","s4":"s5","s5":"s5","s6":"s0"}} | Given the following FSM:
a b c d e f
s0 s5 s0 s4 s4 s6 s3
s1 s0 s5 s1 s5 s0 s6
s2 s6 s0 s1 s4 s6 s6
s3 s2 s3 s1 s2 s4 s3
s4 s2 s5 s1 s1 s2 s5
s5 s4 s3 s5 s6 s2 s5
s6 s1 s6 s5 s0 s0 s0
With the initial state: s0, and accepting states: ['s3', 's2', 's5', 's0'],
What will be the state after reading the following input: d b a e a b c e e ? | s6 | 9 | 7 | 6 | 7_6 |
b2c92ae4-e17e-462c-85f3-8e6aef443ca1 | 863304cc-4735-4d8b-b245-bb356dada1be | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcdef", "accepting_states": ["s3", "s2", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s0"]}]} | 3 | {"a":{"s0":"s5","s1":"s0","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s1"},"b":{"s0":"s0","s1":"s5","s2":"s0","s3":"s3","s4":"s5","s5":"s3","s6":"s6"},"c":{"s0":"s4","s1":"s1","s2":"s1","s3":"s1","s4":"s1","s5":"s5","s6":"s5"},"d":{"s0":"s4","s1":"s5","s2":"s4","s3":"s2","s4":"s1","s5":"s6","s6":"s0"},"e":{"s0":"s6","s1":"s0","s2":"s6","s3":"s4","s4":"s2","s5":"s2","s6":"s0"},"f":{"s0":"s3","s1":"s6","s2":"s6","s3":"s3","s4":"s5","s5":"s5","s6":"s0"}} | Given the following FSM:
a b c d e f
s0 s5 s0 s4 s4 s6 s3
s1 s0 s5 s1 s5 s0 s6
s2 s6 s0 s1 s4 s6 s6
s3 s2 s3 s1 s2 s4 s3
s4 s2 s5 s1 s1 s2 s5
s5 s4 s3 s5 s6 s2 s5
s6 s1 s6 s5 s0 s0 s0
With the initial state: s0, and accepting states: ['s3', 's2', 's5', 's0'],
What will be the state after reading the following input: d b a e a b c e e f ? | s0 | 10 | 7 | 6 | 7_6 |
0aaa2bbd-34d4-475f-b92a-f7948ae0599b | 863304cc-4735-4d8b-b245-bb356dada1be | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcdef", "accepting_states": ["s3", "s2", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s0"]}]} | 3 | {"a":{"s0":"s5","s1":"s0","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s1"},"b":{"s0":"s0","s1":"s5","s2":"s0","s3":"s3","s4":"s5","s5":"s3","s6":"s6"},"c":{"s0":"s4","s1":"s1","s2":"s1","s3":"s1","s4":"s1","s5":"s5","s6":"s5"},"d":{"s0":"s4","s1":"s5","s2":"s4","s3":"s2","s4":"s1","s5":"s6","s6":"s0"},"e":{"s0":"s6","s1":"s0","s2":"s6","s3":"s4","s4":"s2","s5":"s2","s6":"s0"},"f":{"s0":"s3","s1":"s6","s2":"s6","s3":"s3","s4":"s5","s5":"s5","s6":"s0"}} | Given the following FSM:
a b c d e f
s0 s5 s0 s4 s4 s6 s3
s1 s0 s5 s1 s5 s0 s6
s2 s6 s0 s1 s4 s6 s6
s3 s2 s3 s1 s2 s4 s3
s4 s2 s5 s1 s1 s2 s5
s5 s4 s3 s5 s6 s2 s5
s6 s1 s6 s5 s0 s0 s0
With the initial state: s0, and accepting states: ['s3', 's2', 's5', 's0'],
What will be the state after reading the following input: d b a e a b c e e f a ? | s5 | 11 | 7 | 6 | 7_6 |
d1792c01-776b-4d39-b5db-36980a9dca66 | 863304cc-4735-4d8b-b245-bb356dada1be | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcdef", "accepting_states": ["s3", "s2", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s0"]}]} | 3 | {"a":{"s0":"s5","s1":"s0","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s1"},"b":{"s0":"s0","s1":"s5","s2":"s0","s3":"s3","s4":"s5","s5":"s3","s6":"s6"},"c":{"s0":"s4","s1":"s1","s2":"s1","s3":"s1","s4":"s1","s5":"s5","s6":"s5"},"d":{"s0":"s4","s1":"s5","s2":"s4","s3":"s2","s4":"s1","s5":"s6","s6":"s0"},"e":{"s0":"s6","s1":"s0","s2":"s6","s3":"s4","s4":"s2","s5":"s2","s6":"s0"},"f":{"s0":"s3","s1":"s6","s2":"s6","s3":"s3","s4":"s5","s5":"s5","s6":"s0"}} | Given the following FSM:
a b c d e f
s0 s5 s0 s4 s4 s6 s3
s1 s0 s5 s1 s5 s0 s6
s2 s6 s0 s1 s4 s6 s6
s3 s2 s3 s1 s2 s4 s3
s4 s2 s5 s1 s1 s2 s5
s5 s4 s3 s5 s6 s2 s5
s6 s1 s6 s5 s0 s0 s0
With the initial state: s0, and accepting states: ['s3', 's2', 's5', 's0'],
What will be the state after reading the following input: d b a e a b c e e f a c ? | s5 | 12 | 7 | 6 | 7_6 |
a52cd5d8-8294-4e98-bbbc-cdcf9907472d | 863304cc-4735-4d8b-b245-bb356dada1be | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcdef", "accepting_states": ["s3", "s2", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s0"]}]} | 3 | {"a":{"s0":"s5","s1":"s0","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s1"},"b":{"s0":"s0","s1":"s5","s2":"s0","s3":"s3","s4":"s5","s5":"s3","s6":"s6"},"c":{"s0":"s4","s1":"s1","s2":"s1","s3":"s1","s4":"s1","s5":"s5","s6":"s5"},"d":{"s0":"s4","s1":"s5","s2":"s4","s3":"s2","s4":"s1","s5":"s6","s6":"s0"},"e":{"s0":"s6","s1":"s0","s2":"s6","s3":"s4","s4":"s2","s5":"s2","s6":"s0"},"f":{"s0":"s3","s1":"s6","s2":"s6","s3":"s3","s4":"s5","s5":"s5","s6":"s0"}} | Given the following FSM:
a b c d e f
s0 s5 s0 s4 s4 s6 s3
s1 s0 s5 s1 s5 s0 s6
s2 s6 s0 s1 s4 s6 s6
s3 s2 s3 s1 s2 s4 s3
s4 s2 s5 s1 s1 s2 s5
s5 s4 s3 s5 s6 s2 s5
s6 s1 s6 s5 s0 s0 s0
With the initial state: s0, and accepting states: ['s3', 's2', 's5', 's0'],
What will be the state after reading the following input: d b a e a b c e e f a c c ? | s5 | 13 | 7 | 6 | 7_6 |
6a17829a-0713-4dd7-a3e9-fb25f8d5819e | 863304cc-4735-4d8b-b245-bb356dada1be | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcdef", "accepting_states": ["s3", "s2", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s0"]}]} | 3 | {"a":{"s0":"s5","s1":"s0","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s1"},"b":{"s0":"s0","s1":"s5","s2":"s0","s3":"s3","s4":"s5","s5":"s3","s6":"s6"},"c":{"s0":"s4","s1":"s1","s2":"s1","s3":"s1","s4":"s1","s5":"s5","s6":"s5"},"d":{"s0":"s4","s1":"s5","s2":"s4","s3":"s2","s4":"s1","s5":"s6","s6":"s0"},"e":{"s0":"s6","s1":"s0","s2":"s6","s3":"s4","s4":"s2","s5":"s2","s6":"s0"},"f":{"s0":"s3","s1":"s6","s2":"s6","s3":"s3","s4":"s5","s5":"s5","s6":"s0"}} | Given the following FSM:
a b c d e f
s0 s5 s0 s4 s4 s6 s3
s1 s0 s5 s1 s5 s0 s6
s2 s6 s0 s1 s4 s6 s6
s3 s2 s3 s1 s2 s4 s3
s4 s2 s5 s1 s1 s2 s5
s5 s4 s3 s5 s6 s2 s5
s6 s1 s6 s5 s0 s0 s0
With the initial state: s0, and accepting states: ['s3', 's2', 's5', 's0'],
What will be the state after reading the following input: d b a e a b c e e f a c c b ? | s3 | 14 | 7 | 6 | 7_6 |
03f8a98c-afcc-4f4d-ada0-9578b096e192 | 863304cc-4735-4d8b-b245-bb356dada1be | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcdef", "accepting_states": ["s3", "s2", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s0"]}]} | 3 | {"a":{"s0":"s5","s1":"s0","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s1"},"b":{"s0":"s0","s1":"s5","s2":"s0","s3":"s3","s4":"s5","s5":"s3","s6":"s6"},"c":{"s0":"s4","s1":"s1","s2":"s1","s3":"s1","s4":"s1","s5":"s5","s6":"s5"},"d":{"s0":"s4","s1":"s5","s2":"s4","s3":"s2","s4":"s1","s5":"s6","s6":"s0"},"e":{"s0":"s6","s1":"s0","s2":"s6","s3":"s4","s4":"s2","s5":"s2","s6":"s0"},"f":{"s0":"s3","s1":"s6","s2":"s6","s3":"s3","s4":"s5","s5":"s5","s6":"s0"}} | Given the following FSM:
a b c d e f
s0 s5 s0 s4 s4 s6 s3
s1 s0 s5 s1 s5 s0 s6
s2 s6 s0 s1 s4 s6 s6
s3 s2 s3 s1 s2 s4 s3
s4 s2 s5 s1 s1 s2 s5
s5 s4 s3 s5 s6 s2 s5
s6 s1 s6 s5 s0 s0 s0
With the initial state: s0, and accepting states: ['s3', 's2', 's5', 's0'],
What will be the state after reading the following input: d b a e a b c e e f a c c b d ? | s2 | 15 | 7 | 6 | 7_6 |
949fd2a5-0da2-41e2-b3e6-4843e06c5ea0 | 863304cc-4735-4d8b-b245-bb356dada1be | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcdef", "accepting_states": ["s3", "s2", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s0"]}]} | 3 | {"a":{"s0":"s5","s1":"s0","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s1"},"b":{"s0":"s0","s1":"s5","s2":"s0","s3":"s3","s4":"s5","s5":"s3","s6":"s6"},"c":{"s0":"s4","s1":"s1","s2":"s1","s3":"s1","s4":"s1","s5":"s5","s6":"s5"},"d":{"s0":"s4","s1":"s5","s2":"s4","s3":"s2","s4":"s1","s5":"s6","s6":"s0"},"e":{"s0":"s6","s1":"s0","s2":"s6","s3":"s4","s4":"s2","s5":"s2","s6":"s0"},"f":{"s0":"s3","s1":"s6","s2":"s6","s3":"s3","s4":"s5","s5":"s5","s6":"s0"}} | Given the following FSM:
a b c d e f
s0 s5 s0 s4 s4 s6 s3
s1 s0 s5 s1 s5 s0 s6
s2 s6 s0 s1 s4 s6 s6
s3 s2 s3 s1 s2 s4 s3
s4 s2 s5 s1 s1 s2 s5
s5 s4 s3 s5 s6 s2 s5
s6 s1 s6 s5 s0 s0 s0
With the initial state: s0, and accepting states: ['s3', 's2', 's5', 's0'],
What will be the state after reading the following input: d b a e a b c e e f a c c b d a ? | s6 | 16 | 7 | 6 | 7_6 |
24b1e5e7-1c1b-4527-8f3e-cae54f9aa19d | 863304cc-4735-4d8b-b245-bb356dada1be | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcdef", "accepting_states": ["s3", "s2", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s0"]}]} | 3 | {"a":{"s0":"s5","s1":"s0","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s1"},"b":{"s0":"s0","s1":"s5","s2":"s0","s3":"s3","s4":"s5","s5":"s3","s6":"s6"},"c":{"s0":"s4","s1":"s1","s2":"s1","s3":"s1","s4":"s1","s5":"s5","s6":"s5"},"d":{"s0":"s4","s1":"s5","s2":"s4","s3":"s2","s4":"s1","s5":"s6","s6":"s0"},"e":{"s0":"s6","s1":"s0","s2":"s6","s3":"s4","s4":"s2","s5":"s2","s6":"s0"},"f":{"s0":"s3","s1":"s6","s2":"s6","s3":"s3","s4":"s5","s5":"s5","s6":"s0"}} | Given the following FSM:
a b c d e f
s0 s5 s0 s4 s4 s6 s3
s1 s0 s5 s1 s5 s0 s6
s2 s6 s0 s1 s4 s6 s6
s3 s2 s3 s1 s2 s4 s3
s4 s2 s5 s1 s1 s2 s5
s5 s4 s3 s5 s6 s2 s5
s6 s1 s6 s5 s0 s0 s0
With the initial state: s0, and accepting states: ['s3', 's2', 's5', 's0'],
What will be the state after reading the following input: d b a e a b c e e f a c c b d a f ? | s0 | 17 | 7 | 6 | 7_6 |
d33f7470-89de-4949-a7f8-8a542f03fa67 | 863304cc-4735-4d8b-b245-bb356dada1be | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcdef", "accepting_states": ["s3", "s2", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s0"]}]} | 3 | {"a":{"s0":"s5","s1":"s0","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s1"},"b":{"s0":"s0","s1":"s5","s2":"s0","s3":"s3","s4":"s5","s5":"s3","s6":"s6"},"c":{"s0":"s4","s1":"s1","s2":"s1","s3":"s1","s4":"s1","s5":"s5","s6":"s5"},"d":{"s0":"s4","s1":"s5","s2":"s4","s3":"s2","s4":"s1","s5":"s6","s6":"s0"},"e":{"s0":"s6","s1":"s0","s2":"s6","s3":"s4","s4":"s2","s5":"s2","s6":"s0"},"f":{"s0":"s3","s1":"s6","s2":"s6","s3":"s3","s4":"s5","s5":"s5","s6":"s0"}} | Given the following FSM:
a b c d e f
s0 s5 s0 s4 s4 s6 s3
s1 s0 s5 s1 s5 s0 s6
s2 s6 s0 s1 s4 s6 s6
s3 s2 s3 s1 s2 s4 s3
s4 s2 s5 s1 s1 s2 s5
s5 s4 s3 s5 s6 s2 s5
s6 s1 s6 s5 s0 s0 s0
With the initial state: s0, and accepting states: ['s3', 's2', 's5', 's0'],
What will be the state after reading the following input: d b a e a b c e e f a c c b d a f e ? | s6 | 18 | 7 | 6 | 7_6 |
c76f7712-e06b-44e8-942c-e5334b8c8b6a | 863304cc-4735-4d8b-b245-bb356dada1be | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcdef", "accepting_states": ["s3", "s2", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s0"]}]} | 3 | {"a":{"s0":"s5","s1":"s0","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s1"},"b":{"s0":"s0","s1":"s5","s2":"s0","s3":"s3","s4":"s5","s5":"s3","s6":"s6"},"c":{"s0":"s4","s1":"s1","s2":"s1","s3":"s1","s4":"s1","s5":"s5","s6":"s5"},"d":{"s0":"s4","s1":"s5","s2":"s4","s3":"s2","s4":"s1","s5":"s6","s6":"s0"},"e":{"s0":"s6","s1":"s0","s2":"s6","s3":"s4","s4":"s2","s5":"s2","s6":"s0"},"f":{"s0":"s3","s1":"s6","s2":"s6","s3":"s3","s4":"s5","s5":"s5","s6":"s0"}} | Given the following FSM:
a b c d e f
s0 s5 s0 s4 s4 s6 s3
s1 s0 s5 s1 s5 s0 s6
s2 s6 s0 s1 s4 s6 s6
s3 s2 s3 s1 s2 s4 s3
s4 s2 s5 s1 s1 s2 s5
s5 s4 s3 s5 s6 s2 s5
s6 s1 s6 s5 s0 s0 s0
With the initial state: s0, and accepting states: ['s3', 's2', 's5', 's0'],
What will be the state after reading the following input: d b a e a b c e e f a c c b d a f e e ? | s0 | 19 | 7 | 6 | 7_6 |
912dee73-11d6-4997-817a-f4ee9c0bf7f3 | 863304cc-4735-4d8b-b245-bb356dada1be | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcdef", "accepting_states": ["s3", "s2", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s0"]}]} | 3 | {"a":{"s0":"s5","s1":"s0","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s1"},"b":{"s0":"s0","s1":"s5","s2":"s0","s3":"s3","s4":"s5","s5":"s3","s6":"s6"},"c":{"s0":"s4","s1":"s1","s2":"s1","s3":"s1","s4":"s1","s5":"s5","s6":"s5"},"d":{"s0":"s4","s1":"s5","s2":"s4","s3":"s2","s4":"s1","s5":"s6","s6":"s0"},"e":{"s0":"s6","s1":"s0","s2":"s6","s3":"s4","s4":"s2","s5":"s2","s6":"s0"},"f":{"s0":"s3","s1":"s6","s2":"s6","s3":"s3","s4":"s5","s5":"s5","s6":"s0"}} | Given the following FSM:
a b c d e f
s0 s5 s0 s4 s4 s6 s3
s1 s0 s5 s1 s5 s0 s6
s2 s6 s0 s1 s4 s6 s6
s3 s2 s3 s1 s2 s4 s3
s4 s2 s5 s1 s1 s2 s5
s5 s4 s3 s5 s6 s2 s5
s6 s1 s6 s5 s0 s0 s0
With the initial state: s0, and accepting states: ['s3', 's2', 's5', 's0'],
What will be the state after reading the following input: d b a e a b c e e f a c c b d a f e e c ? | s4 | 20 | 7 | 6 | 7_6 |
a463255c-06db-42fd-aab8-2942ab397fd6 | 09ed5efb-8960-401b-843e-6aa0503ffa6a | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s7", "s3", "s1", "s0", "s4", "s2", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s0","s1":"s4","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s7","s7":"s3"},"b":{"s0":"s0","s1":"s4","s2":"s3","s3":"s1","s4":"s2","s5":"s3","s6":"s5","s7":"s1"},"c":{"s0":"s6","s1":"s2","s2":"s0","s3":"s1","s4":"s3","s5":"s5","s6":"s3","s7":"s7"},"d":{"s0":"s6","s1":"s0","s2":"s2","s3":"s5","s4":"s1","s5":"s3","s6":"s6","s7":"s2"}} | Given the following FSM:
a b c d
s0 s0 s0 s6 s6
s1 s4 s4 s2 s0
s2 s6 s3 s0 s2
s3 s2 s1 s1 s5
s4 s2 s2 s3 s1
s5 s4 s3 s5 s3
s6 s7 s5 s3 s6
s7 s3 s1 s7 s2
With the initial state: s0, and accepting states: ['s7', 's3', 's1', 's0', 's4', 's2', 's5', 's6'],
What will be the state after reading the following input: d ? | s6 | 1 | 8 | 4 | 8_4 |
9ddeacc7-d5ae-466c-8230-435f4a251432 | 09ed5efb-8960-401b-843e-6aa0503ffa6a | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s7", "s3", "s1", "s0", "s4", "s2", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s0","s1":"s4","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s7","s7":"s3"},"b":{"s0":"s0","s1":"s4","s2":"s3","s3":"s1","s4":"s2","s5":"s3","s6":"s5","s7":"s1"},"c":{"s0":"s6","s1":"s2","s2":"s0","s3":"s1","s4":"s3","s5":"s5","s6":"s3","s7":"s7"},"d":{"s0":"s6","s1":"s0","s2":"s2","s3":"s5","s4":"s1","s5":"s3","s6":"s6","s7":"s2"}} | Given the following FSM:
a b c d
s0 s0 s0 s6 s6
s1 s4 s4 s2 s0
s2 s6 s3 s0 s2
s3 s2 s1 s1 s5
s4 s2 s2 s3 s1
s5 s4 s3 s5 s3
s6 s7 s5 s3 s6
s7 s3 s1 s7 s2
With the initial state: s0, and accepting states: ['s7', 's3', 's1', 's0', 's4', 's2', 's5', 's6'],
What will be the state after reading the following input: d b ? | s5 | 2 | 8 | 4 | 8_4 |
9cfcc472-4d34-483a-bb41-30c4af0a2a72 | 09ed5efb-8960-401b-843e-6aa0503ffa6a | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s7", "s3", "s1", "s0", "s4", "s2", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s0","s1":"s4","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s7","s7":"s3"},"b":{"s0":"s0","s1":"s4","s2":"s3","s3":"s1","s4":"s2","s5":"s3","s6":"s5","s7":"s1"},"c":{"s0":"s6","s1":"s2","s2":"s0","s3":"s1","s4":"s3","s5":"s5","s6":"s3","s7":"s7"},"d":{"s0":"s6","s1":"s0","s2":"s2","s3":"s5","s4":"s1","s5":"s3","s6":"s6","s7":"s2"}} | Given the following FSM:
a b c d
s0 s0 s0 s6 s6
s1 s4 s4 s2 s0
s2 s6 s3 s0 s2
s3 s2 s1 s1 s5
s4 s2 s2 s3 s1
s5 s4 s3 s5 s3
s6 s7 s5 s3 s6
s7 s3 s1 s7 s2
With the initial state: s0, and accepting states: ['s7', 's3', 's1', 's0', 's4', 's2', 's5', 's6'],
What will be the state after reading the following input: d b c ? | s5 | 3 | 8 | 4 | 8_4 |
53e7929b-8443-4d63-8724-30d1fb98a0f6 | 09ed5efb-8960-401b-843e-6aa0503ffa6a | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s7", "s3", "s1", "s0", "s4", "s2", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s0","s1":"s4","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s7","s7":"s3"},"b":{"s0":"s0","s1":"s4","s2":"s3","s3":"s1","s4":"s2","s5":"s3","s6":"s5","s7":"s1"},"c":{"s0":"s6","s1":"s2","s2":"s0","s3":"s1","s4":"s3","s5":"s5","s6":"s3","s7":"s7"},"d":{"s0":"s6","s1":"s0","s2":"s2","s3":"s5","s4":"s1","s5":"s3","s6":"s6","s7":"s2"}} | Given the following FSM:
a b c d
s0 s0 s0 s6 s6
s1 s4 s4 s2 s0
s2 s6 s3 s0 s2
s3 s2 s1 s1 s5
s4 s2 s2 s3 s1
s5 s4 s3 s5 s3
s6 s7 s5 s3 s6
s7 s3 s1 s7 s2
With the initial state: s0, and accepting states: ['s7', 's3', 's1', 's0', 's4', 's2', 's5', 's6'],
What will be the state after reading the following input: d b c c ? | s5 | 4 | 8 | 4 | 8_4 |
780fdf4a-4a25-4ea1-90ef-7470d0f70369 | 09ed5efb-8960-401b-843e-6aa0503ffa6a | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s7", "s3", "s1", "s0", "s4", "s2", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s0","s1":"s4","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s7","s7":"s3"},"b":{"s0":"s0","s1":"s4","s2":"s3","s3":"s1","s4":"s2","s5":"s3","s6":"s5","s7":"s1"},"c":{"s0":"s6","s1":"s2","s2":"s0","s3":"s1","s4":"s3","s5":"s5","s6":"s3","s7":"s7"},"d":{"s0":"s6","s1":"s0","s2":"s2","s3":"s5","s4":"s1","s5":"s3","s6":"s6","s7":"s2"}} | Given the following FSM:
a b c d
s0 s0 s0 s6 s6
s1 s4 s4 s2 s0
s2 s6 s3 s0 s2
s3 s2 s1 s1 s5
s4 s2 s2 s3 s1
s5 s4 s3 s5 s3
s6 s7 s5 s3 s6
s7 s3 s1 s7 s2
With the initial state: s0, and accepting states: ['s7', 's3', 's1', 's0', 's4', 's2', 's5', 's6'],
What will be the state after reading the following input: d b c c c ? | s5 | 5 | 8 | 4 | 8_4 |
c11a6dc7-bca2-42cc-bf74-c6eabcddf0d6 | 09ed5efb-8960-401b-843e-6aa0503ffa6a | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s7", "s3", "s1", "s0", "s4", "s2", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s0","s1":"s4","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s7","s7":"s3"},"b":{"s0":"s0","s1":"s4","s2":"s3","s3":"s1","s4":"s2","s5":"s3","s6":"s5","s7":"s1"},"c":{"s0":"s6","s1":"s2","s2":"s0","s3":"s1","s4":"s3","s5":"s5","s6":"s3","s7":"s7"},"d":{"s0":"s6","s1":"s0","s2":"s2","s3":"s5","s4":"s1","s5":"s3","s6":"s6","s7":"s2"}} | Given the following FSM:
a b c d
s0 s0 s0 s6 s6
s1 s4 s4 s2 s0
s2 s6 s3 s0 s2
s3 s2 s1 s1 s5
s4 s2 s2 s3 s1
s5 s4 s3 s5 s3
s6 s7 s5 s3 s6
s7 s3 s1 s7 s2
With the initial state: s0, and accepting states: ['s7', 's3', 's1', 's0', 's4', 's2', 's5', 's6'],
What will be the state after reading the following input: d b c c c d ? | s3 | 6 | 8 | 4 | 8_4 |
73a54e99-0214-45d4-9108-48fcdcc714c8 | 09ed5efb-8960-401b-843e-6aa0503ffa6a | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s7", "s3", "s1", "s0", "s4", "s2", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s0","s1":"s4","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s7","s7":"s3"},"b":{"s0":"s0","s1":"s4","s2":"s3","s3":"s1","s4":"s2","s5":"s3","s6":"s5","s7":"s1"},"c":{"s0":"s6","s1":"s2","s2":"s0","s3":"s1","s4":"s3","s5":"s5","s6":"s3","s7":"s7"},"d":{"s0":"s6","s1":"s0","s2":"s2","s3":"s5","s4":"s1","s5":"s3","s6":"s6","s7":"s2"}} | Given the following FSM:
a b c d
s0 s0 s0 s6 s6
s1 s4 s4 s2 s0
s2 s6 s3 s0 s2
s3 s2 s1 s1 s5
s4 s2 s2 s3 s1
s5 s4 s3 s5 s3
s6 s7 s5 s3 s6
s7 s3 s1 s7 s2
With the initial state: s0, and accepting states: ['s7', 's3', 's1', 's0', 's4', 's2', 's5', 's6'],
What will be the state after reading the following input: d b c c c d a ? | s2 | 7 | 8 | 4 | 8_4 |
ea7034f8-f316-44b1-addd-005c8f0bcdb1 | 09ed5efb-8960-401b-843e-6aa0503ffa6a | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s7", "s3", "s1", "s0", "s4", "s2", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s0","s1":"s4","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s7","s7":"s3"},"b":{"s0":"s0","s1":"s4","s2":"s3","s3":"s1","s4":"s2","s5":"s3","s6":"s5","s7":"s1"},"c":{"s0":"s6","s1":"s2","s2":"s0","s3":"s1","s4":"s3","s5":"s5","s6":"s3","s7":"s7"},"d":{"s0":"s6","s1":"s0","s2":"s2","s3":"s5","s4":"s1","s5":"s3","s6":"s6","s7":"s2"}} | Given the following FSM:
a b c d
s0 s0 s0 s6 s6
s1 s4 s4 s2 s0
s2 s6 s3 s0 s2
s3 s2 s1 s1 s5
s4 s2 s2 s3 s1
s5 s4 s3 s5 s3
s6 s7 s5 s3 s6
s7 s3 s1 s7 s2
With the initial state: s0, and accepting states: ['s7', 's3', 's1', 's0', 's4', 's2', 's5', 's6'],
What will be the state after reading the following input: d b c c c d a b ? | s3 | 8 | 8 | 4 | 8_4 |
01932050-c061-449f-b268-ec219ee0ac6b | 09ed5efb-8960-401b-843e-6aa0503ffa6a | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s7", "s3", "s1", "s0", "s4", "s2", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s0","s1":"s4","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s7","s7":"s3"},"b":{"s0":"s0","s1":"s4","s2":"s3","s3":"s1","s4":"s2","s5":"s3","s6":"s5","s7":"s1"},"c":{"s0":"s6","s1":"s2","s2":"s0","s3":"s1","s4":"s3","s5":"s5","s6":"s3","s7":"s7"},"d":{"s0":"s6","s1":"s0","s2":"s2","s3":"s5","s4":"s1","s5":"s3","s6":"s6","s7":"s2"}} | Given the following FSM:
a b c d
s0 s0 s0 s6 s6
s1 s4 s4 s2 s0
s2 s6 s3 s0 s2
s3 s2 s1 s1 s5
s4 s2 s2 s3 s1
s5 s4 s3 s5 s3
s6 s7 s5 s3 s6
s7 s3 s1 s7 s2
With the initial state: s0, and accepting states: ['s7', 's3', 's1', 's0', 's4', 's2', 's5', 's6'],
What will be the state after reading the following input: d b c c c d a b c ? | s1 | 9 | 8 | 4 | 8_4 |
6f428824-3f9e-4361-aa46-3c107c4bc09b | 09ed5efb-8960-401b-843e-6aa0503ffa6a | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s7", "s3", "s1", "s0", "s4", "s2", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s0","s1":"s4","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s7","s7":"s3"},"b":{"s0":"s0","s1":"s4","s2":"s3","s3":"s1","s4":"s2","s5":"s3","s6":"s5","s7":"s1"},"c":{"s0":"s6","s1":"s2","s2":"s0","s3":"s1","s4":"s3","s5":"s5","s6":"s3","s7":"s7"},"d":{"s0":"s6","s1":"s0","s2":"s2","s3":"s5","s4":"s1","s5":"s3","s6":"s6","s7":"s2"}} | Given the following FSM:
a b c d
s0 s0 s0 s6 s6
s1 s4 s4 s2 s0
s2 s6 s3 s0 s2
s3 s2 s1 s1 s5
s4 s2 s2 s3 s1
s5 s4 s3 s5 s3
s6 s7 s5 s3 s6
s7 s3 s1 s7 s2
With the initial state: s0, and accepting states: ['s7', 's3', 's1', 's0', 's4', 's2', 's5', 's6'],
What will be the state after reading the following input: d b c c c d a b c b ? | s4 | 10 | 8 | 4 | 8_4 |
e07c4c39-e517-4907-926f-46024a5031e5 | 09ed5efb-8960-401b-843e-6aa0503ffa6a | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s7", "s3", "s1", "s0", "s4", "s2", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s0","s1":"s4","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s7","s7":"s3"},"b":{"s0":"s0","s1":"s4","s2":"s3","s3":"s1","s4":"s2","s5":"s3","s6":"s5","s7":"s1"},"c":{"s0":"s6","s1":"s2","s2":"s0","s3":"s1","s4":"s3","s5":"s5","s6":"s3","s7":"s7"},"d":{"s0":"s6","s1":"s0","s2":"s2","s3":"s5","s4":"s1","s5":"s3","s6":"s6","s7":"s2"}} | Given the following FSM:
a b c d
s0 s0 s0 s6 s6
s1 s4 s4 s2 s0
s2 s6 s3 s0 s2
s3 s2 s1 s1 s5
s4 s2 s2 s3 s1
s5 s4 s3 s5 s3
s6 s7 s5 s3 s6
s7 s3 s1 s7 s2
With the initial state: s0, and accepting states: ['s7', 's3', 's1', 's0', 's4', 's2', 's5', 's6'],
What will be the state after reading the following input: d b c c c d a b c b c ? | s3 | 11 | 8 | 4 | 8_4 |
c5ac9923-e266-47df-aa46-9388923de0ea | 09ed5efb-8960-401b-843e-6aa0503ffa6a | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s7", "s3", "s1", "s0", "s4", "s2", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s0","s1":"s4","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s7","s7":"s3"},"b":{"s0":"s0","s1":"s4","s2":"s3","s3":"s1","s4":"s2","s5":"s3","s6":"s5","s7":"s1"},"c":{"s0":"s6","s1":"s2","s2":"s0","s3":"s1","s4":"s3","s5":"s5","s6":"s3","s7":"s7"},"d":{"s0":"s6","s1":"s0","s2":"s2","s3":"s5","s4":"s1","s5":"s3","s6":"s6","s7":"s2"}} | Given the following FSM:
a b c d
s0 s0 s0 s6 s6
s1 s4 s4 s2 s0
s2 s6 s3 s0 s2
s3 s2 s1 s1 s5
s4 s2 s2 s3 s1
s5 s4 s3 s5 s3
s6 s7 s5 s3 s6
s7 s3 s1 s7 s2
With the initial state: s0, and accepting states: ['s7', 's3', 's1', 's0', 's4', 's2', 's5', 's6'],
What will be the state after reading the following input: d b c c c d a b c b c d ? | s5 | 12 | 8 | 4 | 8_4 |
97550bce-018f-4bb1-b075-fef1b89bff39 | 09ed5efb-8960-401b-843e-6aa0503ffa6a | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s7", "s3", "s1", "s0", "s4", "s2", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s0","s1":"s4","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s7","s7":"s3"},"b":{"s0":"s0","s1":"s4","s2":"s3","s3":"s1","s4":"s2","s5":"s3","s6":"s5","s7":"s1"},"c":{"s0":"s6","s1":"s2","s2":"s0","s3":"s1","s4":"s3","s5":"s5","s6":"s3","s7":"s7"},"d":{"s0":"s6","s1":"s0","s2":"s2","s3":"s5","s4":"s1","s5":"s3","s6":"s6","s7":"s2"}} | Given the following FSM:
a b c d
s0 s0 s0 s6 s6
s1 s4 s4 s2 s0
s2 s6 s3 s0 s2
s3 s2 s1 s1 s5
s4 s2 s2 s3 s1
s5 s4 s3 s5 s3
s6 s7 s5 s3 s6
s7 s3 s1 s7 s2
With the initial state: s0, and accepting states: ['s7', 's3', 's1', 's0', 's4', 's2', 's5', 's6'],
What will be the state after reading the following input: d b c c c d a b c b c d c ? | s5 | 13 | 8 | 4 | 8_4 |
867cac0c-6d97-419f-8d2e-798e1438ff99 | 09ed5efb-8960-401b-843e-6aa0503ffa6a | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s7", "s3", "s1", "s0", "s4", "s2", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s0","s1":"s4","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s7","s7":"s3"},"b":{"s0":"s0","s1":"s4","s2":"s3","s3":"s1","s4":"s2","s5":"s3","s6":"s5","s7":"s1"},"c":{"s0":"s6","s1":"s2","s2":"s0","s3":"s1","s4":"s3","s5":"s5","s6":"s3","s7":"s7"},"d":{"s0":"s6","s1":"s0","s2":"s2","s3":"s5","s4":"s1","s5":"s3","s6":"s6","s7":"s2"}} | Given the following FSM:
a b c d
s0 s0 s0 s6 s6
s1 s4 s4 s2 s0
s2 s6 s3 s0 s2
s3 s2 s1 s1 s5
s4 s2 s2 s3 s1
s5 s4 s3 s5 s3
s6 s7 s5 s3 s6
s7 s3 s1 s7 s2
With the initial state: s0, and accepting states: ['s7', 's3', 's1', 's0', 's4', 's2', 's5', 's6'],
What will be the state after reading the following input: d b c c c d a b c b c d c d ? | s3 | 14 | 8 | 4 | 8_4 |
66db71ab-48e4-492d-b291-2eaf044548bb | 09ed5efb-8960-401b-843e-6aa0503ffa6a | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s7", "s3", "s1", "s0", "s4", "s2", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s0","s1":"s4","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s7","s7":"s3"},"b":{"s0":"s0","s1":"s4","s2":"s3","s3":"s1","s4":"s2","s5":"s3","s6":"s5","s7":"s1"},"c":{"s0":"s6","s1":"s2","s2":"s0","s3":"s1","s4":"s3","s5":"s5","s6":"s3","s7":"s7"},"d":{"s0":"s6","s1":"s0","s2":"s2","s3":"s5","s4":"s1","s5":"s3","s6":"s6","s7":"s2"}} | Given the following FSM:
a b c d
s0 s0 s0 s6 s6
s1 s4 s4 s2 s0
s2 s6 s3 s0 s2
s3 s2 s1 s1 s5
s4 s2 s2 s3 s1
s5 s4 s3 s5 s3
s6 s7 s5 s3 s6
s7 s3 s1 s7 s2
With the initial state: s0, and accepting states: ['s7', 's3', 's1', 's0', 's4', 's2', 's5', 's6'],
What will be the state after reading the following input: d b c c c d a b c b c d c d c ? | s1 | 15 | 8 | 4 | 8_4 |
8aa98f45-0e5e-4f49-83e9-4a4582a39928 | 09ed5efb-8960-401b-843e-6aa0503ffa6a | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s7", "s3", "s1", "s0", "s4", "s2", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s0","s1":"s4","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s7","s7":"s3"},"b":{"s0":"s0","s1":"s4","s2":"s3","s3":"s1","s4":"s2","s5":"s3","s6":"s5","s7":"s1"},"c":{"s0":"s6","s1":"s2","s2":"s0","s3":"s1","s4":"s3","s5":"s5","s6":"s3","s7":"s7"},"d":{"s0":"s6","s1":"s0","s2":"s2","s3":"s5","s4":"s1","s5":"s3","s6":"s6","s7":"s2"}} | Given the following FSM:
a b c d
s0 s0 s0 s6 s6
s1 s4 s4 s2 s0
s2 s6 s3 s0 s2
s3 s2 s1 s1 s5
s4 s2 s2 s3 s1
s5 s4 s3 s5 s3
s6 s7 s5 s3 s6
s7 s3 s1 s7 s2
With the initial state: s0, and accepting states: ['s7', 's3', 's1', 's0', 's4', 's2', 's5', 's6'],
What will be the state after reading the following input: d b c c c d a b c b c d c d c b ? | s4 | 16 | 8 | 4 | 8_4 |
c58615f8-b4b3-46b4-9880-8f486f90b8c7 | 09ed5efb-8960-401b-843e-6aa0503ffa6a | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s7", "s3", "s1", "s0", "s4", "s2", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s0","s1":"s4","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s7","s7":"s3"},"b":{"s0":"s0","s1":"s4","s2":"s3","s3":"s1","s4":"s2","s5":"s3","s6":"s5","s7":"s1"},"c":{"s0":"s6","s1":"s2","s2":"s0","s3":"s1","s4":"s3","s5":"s5","s6":"s3","s7":"s7"},"d":{"s0":"s6","s1":"s0","s2":"s2","s3":"s5","s4":"s1","s5":"s3","s6":"s6","s7":"s2"}} | Given the following FSM:
a b c d
s0 s0 s0 s6 s6
s1 s4 s4 s2 s0
s2 s6 s3 s0 s2
s3 s2 s1 s1 s5
s4 s2 s2 s3 s1
s5 s4 s3 s5 s3
s6 s7 s5 s3 s6
s7 s3 s1 s7 s2
With the initial state: s0, and accepting states: ['s7', 's3', 's1', 's0', 's4', 's2', 's5', 's6'],
What will be the state after reading the following input: d b c c c d a b c b c d c d c b b ? | s2 | 17 | 8 | 4 | 8_4 |
e62228e8-30d2-4cd0-9df6-3867bb547a56 | 09ed5efb-8960-401b-843e-6aa0503ffa6a | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s7", "s3", "s1", "s0", "s4", "s2", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s0","s1":"s4","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s7","s7":"s3"},"b":{"s0":"s0","s1":"s4","s2":"s3","s3":"s1","s4":"s2","s5":"s3","s6":"s5","s7":"s1"},"c":{"s0":"s6","s1":"s2","s2":"s0","s3":"s1","s4":"s3","s5":"s5","s6":"s3","s7":"s7"},"d":{"s0":"s6","s1":"s0","s2":"s2","s3":"s5","s4":"s1","s5":"s3","s6":"s6","s7":"s2"}} | Given the following FSM:
a b c d
s0 s0 s0 s6 s6
s1 s4 s4 s2 s0
s2 s6 s3 s0 s2
s3 s2 s1 s1 s5
s4 s2 s2 s3 s1
s5 s4 s3 s5 s3
s6 s7 s5 s3 s6
s7 s3 s1 s7 s2
With the initial state: s0, and accepting states: ['s7', 's3', 's1', 's0', 's4', 's2', 's5', 's6'],
What will be the state after reading the following input: d b c c c d a b c b c d c d c b b b ? | s3 | 18 | 8 | 4 | 8_4 |
5d7daf01-9031-4470-8562-a64aaac4c584 | 09ed5efb-8960-401b-843e-6aa0503ffa6a | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s7", "s3", "s1", "s0", "s4", "s2", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s0","s1":"s4","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s7","s7":"s3"},"b":{"s0":"s0","s1":"s4","s2":"s3","s3":"s1","s4":"s2","s5":"s3","s6":"s5","s7":"s1"},"c":{"s0":"s6","s1":"s2","s2":"s0","s3":"s1","s4":"s3","s5":"s5","s6":"s3","s7":"s7"},"d":{"s0":"s6","s1":"s0","s2":"s2","s3":"s5","s4":"s1","s5":"s3","s6":"s6","s7":"s2"}} | Given the following FSM:
a b c d
s0 s0 s0 s6 s6
s1 s4 s4 s2 s0
s2 s6 s3 s0 s2
s3 s2 s1 s1 s5
s4 s2 s2 s3 s1
s5 s4 s3 s5 s3
s6 s7 s5 s3 s6
s7 s3 s1 s7 s2
With the initial state: s0, and accepting states: ['s7', 's3', 's1', 's0', 's4', 's2', 's5', 's6'],
What will be the state after reading the following input: d b c c c d a b c b c d c d c b b b d ? | s5 | 19 | 8 | 4 | 8_4 |
6dba21f2-341f-4553-a683-0dbe41a93beb | 09ed5efb-8960-401b-843e-6aa0503ffa6a | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s7", "s3", "s1", "s0", "s4", "s2", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s0","s1":"s4","s2":"s6","s3":"s2","s4":"s2","s5":"s4","s6":"s7","s7":"s3"},"b":{"s0":"s0","s1":"s4","s2":"s3","s3":"s1","s4":"s2","s5":"s3","s6":"s5","s7":"s1"},"c":{"s0":"s6","s1":"s2","s2":"s0","s3":"s1","s4":"s3","s5":"s5","s6":"s3","s7":"s7"},"d":{"s0":"s6","s1":"s0","s2":"s2","s3":"s5","s4":"s1","s5":"s3","s6":"s6","s7":"s2"}} | Given the following FSM:
a b c d
s0 s0 s0 s6 s6
s1 s4 s4 s2 s0
s2 s6 s3 s0 s2
s3 s2 s1 s1 s5
s4 s2 s2 s3 s1
s5 s4 s3 s5 s3
s6 s7 s5 s3 s6
s7 s3 s1 s7 s2
With the initial state: s0, and accepting states: ['s7', 's3', 's1', 's0', 's4', 's2', 's5', 's6'],
What will be the state after reading the following input: d b c c c d a b c b c d c d c b b b d b ? | s3 | 20 | 8 | 4 | 8_4 |
a161cb31-8fd2-48bd-a82e-ac66908be34d | 3c4ee78b-15d9-4e92-ad7c-08c0d21a87f1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s2","s1":"s6","s2":"s5","s3":"s6","s4":"s7","s5":"s6","s6":"s3","s7":"s6"},"b":{"s0":"s5","s1":"s3","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s1","s7":"s0"},"c":{"s0":"s2","s1":"s4","s2":"s1","s3":"s3","s4":"s0","s5":"s3","s6":"s2","s7":"s2"},"d":{"s0":"s3","s1":"s1","s2":"s7","s3":"s6","s4":"s7","s5":"s1","s6":"s1","s7":"s3"}} | Given the following FSM:
a b c d
s0 s2 s5 s2 s3
s1 s6 s3 s4 s1
s2 s5 s1 s1 s7
s3 s6 s5 s3 s6
s4 s7 s3 s0 s7
s5 s6 s3 s3 s1
s6 s3 s1 s2 s1
s7 s6 s0 s2 s3
With the initial state: s0, and accepting states: ['s2'],
What will be the state after reading the following input: a ? | s2 | 1 | 8 | 4 | 8_4 |
89fc0c3f-96d8-41a1-8be7-fa40d75cb7bc | 3c4ee78b-15d9-4e92-ad7c-08c0d21a87f1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s2","s1":"s6","s2":"s5","s3":"s6","s4":"s7","s5":"s6","s6":"s3","s7":"s6"},"b":{"s0":"s5","s1":"s3","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s1","s7":"s0"},"c":{"s0":"s2","s1":"s4","s2":"s1","s3":"s3","s4":"s0","s5":"s3","s6":"s2","s7":"s2"},"d":{"s0":"s3","s1":"s1","s2":"s7","s3":"s6","s4":"s7","s5":"s1","s6":"s1","s7":"s3"}} | Given the following FSM:
a b c d
s0 s2 s5 s2 s3
s1 s6 s3 s4 s1
s2 s5 s1 s1 s7
s3 s6 s5 s3 s6
s4 s7 s3 s0 s7
s5 s6 s3 s3 s1
s6 s3 s1 s2 s1
s7 s6 s0 s2 s3
With the initial state: s0, and accepting states: ['s2'],
What will be the state after reading the following input: a c ? | s1 | 2 | 8 | 4 | 8_4 |
932a6e08-a47d-4c6a-a14c-8936548016de | 3c4ee78b-15d9-4e92-ad7c-08c0d21a87f1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s2","s1":"s6","s2":"s5","s3":"s6","s4":"s7","s5":"s6","s6":"s3","s7":"s6"},"b":{"s0":"s5","s1":"s3","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s1","s7":"s0"},"c":{"s0":"s2","s1":"s4","s2":"s1","s3":"s3","s4":"s0","s5":"s3","s6":"s2","s7":"s2"},"d":{"s0":"s3","s1":"s1","s2":"s7","s3":"s6","s4":"s7","s5":"s1","s6":"s1","s7":"s3"}} | Given the following FSM:
a b c d
s0 s2 s5 s2 s3
s1 s6 s3 s4 s1
s2 s5 s1 s1 s7
s3 s6 s5 s3 s6
s4 s7 s3 s0 s7
s5 s6 s3 s3 s1
s6 s3 s1 s2 s1
s7 s6 s0 s2 s3
With the initial state: s0, and accepting states: ['s2'],
What will be the state after reading the following input: a c d ? | s1 | 3 | 8 | 4 | 8_4 |
40f0e837-3c68-46a9-b532-1f579cf2b734 | 3c4ee78b-15d9-4e92-ad7c-08c0d21a87f1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s2","s1":"s6","s2":"s5","s3":"s6","s4":"s7","s5":"s6","s6":"s3","s7":"s6"},"b":{"s0":"s5","s1":"s3","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s1","s7":"s0"},"c":{"s0":"s2","s1":"s4","s2":"s1","s3":"s3","s4":"s0","s5":"s3","s6":"s2","s7":"s2"},"d":{"s0":"s3","s1":"s1","s2":"s7","s3":"s6","s4":"s7","s5":"s1","s6":"s1","s7":"s3"}} | Given the following FSM:
a b c d
s0 s2 s5 s2 s3
s1 s6 s3 s4 s1
s2 s5 s1 s1 s7
s3 s6 s5 s3 s6
s4 s7 s3 s0 s7
s5 s6 s3 s3 s1
s6 s3 s1 s2 s1
s7 s6 s0 s2 s3
With the initial state: s0, and accepting states: ['s2'],
What will be the state after reading the following input: a c d c ? | s4 | 4 | 8 | 4 | 8_4 |
469c741b-bedd-466b-927a-291abc518f69 | 3c4ee78b-15d9-4e92-ad7c-08c0d21a87f1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s2","s1":"s6","s2":"s5","s3":"s6","s4":"s7","s5":"s6","s6":"s3","s7":"s6"},"b":{"s0":"s5","s1":"s3","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s1","s7":"s0"},"c":{"s0":"s2","s1":"s4","s2":"s1","s3":"s3","s4":"s0","s5":"s3","s6":"s2","s7":"s2"},"d":{"s0":"s3","s1":"s1","s2":"s7","s3":"s6","s4":"s7","s5":"s1","s6":"s1","s7":"s3"}} | Given the following FSM:
a b c d
s0 s2 s5 s2 s3
s1 s6 s3 s4 s1
s2 s5 s1 s1 s7
s3 s6 s5 s3 s6
s4 s7 s3 s0 s7
s5 s6 s3 s3 s1
s6 s3 s1 s2 s1
s7 s6 s0 s2 s3
With the initial state: s0, and accepting states: ['s2'],
What will be the state after reading the following input: a c d c a ? | s7 | 5 | 8 | 4 | 8_4 |
96e23d51-398b-40e0-9146-3af3bc7a18b1 | 3c4ee78b-15d9-4e92-ad7c-08c0d21a87f1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s2","s1":"s6","s2":"s5","s3":"s6","s4":"s7","s5":"s6","s6":"s3","s7":"s6"},"b":{"s0":"s5","s1":"s3","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s1","s7":"s0"},"c":{"s0":"s2","s1":"s4","s2":"s1","s3":"s3","s4":"s0","s5":"s3","s6":"s2","s7":"s2"},"d":{"s0":"s3","s1":"s1","s2":"s7","s3":"s6","s4":"s7","s5":"s1","s6":"s1","s7":"s3"}} | Given the following FSM:
a b c d
s0 s2 s5 s2 s3
s1 s6 s3 s4 s1
s2 s5 s1 s1 s7
s3 s6 s5 s3 s6
s4 s7 s3 s0 s7
s5 s6 s3 s3 s1
s6 s3 s1 s2 s1
s7 s6 s0 s2 s3
With the initial state: s0, and accepting states: ['s2'],
What will be the state after reading the following input: a c d c a b ? | s0 | 6 | 8 | 4 | 8_4 |
6a02e86e-031d-43e6-839a-78c9f27e96d7 | 3c4ee78b-15d9-4e92-ad7c-08c0d21a87f1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s2","s1":"s6","s2":"s5","s3":"s6","s4":"s7","s5":"s6","s6":"s3","s7":"s6"},"b":{"s0":"s5","s1":"s3","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s1","s7":"s0"},"c":{"s0":"s2","s1":"s4","s2":"s1","s3":"s3","s4":"s0","s5":"s3","s6":"s2","s7":"s2"},"d":{"s0":"s3","s1":"s1","s2":"s7","s3":"s6","s4":"s7","s5":"s1","s6":"s1","s7":"s3"}} | Given the following FSM:
a b c d
s0 s2 s5 s2 s3
s1 s6 s3 s4 s1
s2 s5 s1 s1 s7
s3 s6 s5 s3 s6
s4 s7 s3 s0 s7
s5 s6 s3 s3 s1
s6 s3 s1 s2 s1
s7 s6 s0 s2 s3
With the initial state: s0, and accepting states: ['s2'],
What will be the state after reading the following input: a c d c a b c ? | s2 | 7 | 8 | 4 | 8_4 |
f8d4e599-bf09-47cf-9565-4b4de0f9cb35 | 3c4ee78b-15d9-4e92-ad7c-08c0d21a87f1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s2","s1":"s6","s2":"s5","s3":"s6","s4":"s7","s5":"s6","s6":"s3","s7":"s6"},"b":{"s0":"s5","s1":"s3","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s1","s7":"s0"},"c":{"s0":"s2","s1":"s4","s2":"s1","s3":"s3","s4":"s0","s5":"s3","s6":"s2","s7":"s2"},"d":{"s0":"s3","s1":"s1","s2":"s7","s3":"s6","s4":"s7","s5":"s1","s6":"s1","s7":"s3"}} | Given the following FSM:
a b c d
s0 s2 s5 s2 s3
s1 s6 s3 s4 s1
s2 s5 s1 s1 s7
s3 s6 s5 s3 s6
s4 s7 s3 s0 s7
s5 s6 s3 s3 s1
s6 s3 s1 s2 s1
s7 s6 s0 s2 s3
With the initial state: s0, and accepting states: ['s2'],
What will be the state after reading the following input: a c d c a b c b ? | s1 | 8 | 8 | 4 | 8_4 |
8b20907b-b33c-4642-9bc6-e5ea6bacee8a | 3c4ee78b-15d9-4e92-ad7c-08c0d21a87f1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s2","s1":"s6","s2":"s5","s3":"s6","s4":"s7","s5":"s6","s6":"s3","s7":"s6"},"b":{"s0":"s5","s1":"s3","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s1","s7":"s0"},"c":{"s0":"s2","s1":"s4","s2":"s1","s3":"s3","s4":"s0","s5":"s3","s6":"s2","s7":"s2"},"d":{"s0":"s3","s1":"s1","s2":"s7","s3":"s6","s4":"s7","s5":"s1","s6":"s1","s7":"s3"}} | Given the following FSM:
a b c d
s0 s2 s5 s2 s3
s1 s6 s3 s4 s1
s2 s5 s1 s1 s7
s3 s6 s5 s3 s6
s4 s7 s3 s0 s7
s5 s6 s3 s3 s1
s6 s3 s1 s2 s1
s7 s6 s0 s2 s3
With the initial state: s0, and accepting states: ['s2'],
What will be the state after reading the following input: a c d c a b c b a ? | s6 | 9 | 8 | 4 | 8_4 |
ad65b9a7-79ee-4330-bdd3-ebaf5b6c6e4c | 3c4ee78b-15d9-4e92-ad7c-08c0d21a87f1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s2","s1":"s6","s2":"s5","s3":"s6","s4":"s7","s5":"s6","s6":"s3","s7":"s6"},"b":{"s0":"s5","s1":"s3","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s1","s7":"s0"},"c":{"s0":"s2","s1":"s4","s2":"s1","s3":"s3","s4":"s0","s5":"s3","s6":"s2","s7":"s2"},"d":{"s0":"s3","s1":"s1","s2":"s7","s3":"s6","s4":"s7","s5":"s1","s6":"s1","s7":"s3"}} | Given the following FSM:
a b c d
s0 s2 s5 s2 s3
s1 s6 s3 s4 s1
s2 s5 s1 s1 s7
s3 s6 s5 s3 s6
s4 s7 s3 s0 s7
s5 s6 s3 s3 s1
s6 s3 s1 s2 s1
s7 s6 s0 s2 s3
With the initial state: s0, and accepting states: ['s2'],
What will be the state after reading the following input: a c d c a b c b a d ? | s1 | 10 | 8 | 4 | 8_4 |
b3bdb865-14ae-4bb9-8bf7-f2d3bf590406 | 3c4ee78b-15d9-4e92-ad7c-08c0d21a87f1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s2","s1":"s6","s2":"s5","s3":"s6","s4":"s7","s5":"s6","s6":"s3","s7":"s6"},"b":{"s0":"s5","s1":"s3","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s1","s7":"s0"},"c":{"s0":"s2","s1":"s4","s2":"s1","s3":"s3","s4":"s0","s5":"s3","s6":"s2","s7":"s2"},"d":{"s0":"s3","s1":"s1","s2":"s7","s3":"s6","s4":"s7","s5":"s1","s6":"s1","s7":"s3"}} | Given the following FSM:
a b c d
s0 s2 s5 s2 s3
s1 s6 s3 s4 s1
s2 s5 s1 s1 s7
s3 s6 s5 s3 s6
s4 s7 s3 s0 s7
s5 s6 s3 s3 s1
s6 s3 s1 s2 s1
s7 s6 s0 s2 s3
With the initial state: s0, and accepting states: ['s2'],
What will be the state after reading the following input: a c d c a b c b a d c ? | s4 | 11 | 8 | 4 | 8_4 |
3ab2f137-5eba-4a1d-b6eb-70bb2922647f | 3c4ee78b-15d9-4e92-ad7c-08c0d21a87f1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s2","s1":"s6","s2":"s5","s3":"s6","s4":"s7","s5":"s6","s6":"s3","s7":"s6"},"b":{"s0":"s5","s1":"s3","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s1","s7":"s0"},"c":{"s0":"s2","s1":"s4","s2":"s1","s3":"s3","s4":"s0","s5":"s3","s6":"s2","s7":"s2"},"d":{"s0":"s3","s1":"s1","s2":"s7","s3":"s6","s4":"s7","s5":"s1","s6":"s1","s7":"s3"}} | Given the following FSM:
a b c d
s0 s2 s5 s2 s3
s1 s6 s3 s4 s1
s2 s5 s1 s1 s7
s3 s6 s5 s3 s6
s4 s7 s3 s0 s7
s5 s6 s3 s3 s1
s6 s3 s1 s2 s1
s7 s6 s0 s2 s3
With the initial state: s0, and accepting states: ['s2'],
What will be the state after reading the following input: a c d c a b c b a d c d ? | s7 | 12 | 8 | 4 | 8_4 |
09c666c7-4e70-456e-8cd0-67767b8e72c4 | 3c4ee78b-15d9-4e92-ad7c-08c0d21a87f1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s2","s1":"s6","s2":"s5","s3":"s6","s4":"s7","s5":"s6","s6":"s3","s7":"s6"},"b":{"s0":"s5","s1":"s3","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s1","s7":"s0"},"c":{"s0":"s2","s1":"s4","s2":"s1","s3":"s3","s4":"s0","s5":"s3","s6":"s2","s7":"s2"},"d":{"s0":"s3","s1":"s1","s2":"s7","s3":"s6","s4":"s7","s5":"s1","s6":"s1","s7":"s3"}} | Given the following FSM:
a b c d
s0 s2 s5 s2 s3
s1 s6 s3 s4 s1
s2 s5 s1 s1 s7
s3 s6 s5 s3 s6
s4 s7 s3 s0 s7
s5 s6 s3 s3 s1
s6 s3 s1 s2 s1
s7 s6 s0 s2 s3
With the initial state: s0, and accepting states: ['s2'],
What will be the state after reading the following input: a c d c a b c b a d c d c ? | s2 | 13 | 8 | 4 | 8_4 |
0402951c-48b1-4f51-bb0c-a0220469131e | 3c4ee78b-15d9-4e92-ad7c-08c0d21a87f1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s2","s1":"s6","s2":"s5","s3":"s6","s4":"s7","s5":"s6","s6":"s3","s7":"s6"},"b":{"s0":"s5","s1":"s3","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s1","s7":"s0"},"c":{"s0":"s2","s1":"s4","s2":"s1","s3":"s3","s4":"s0","s5":"s3","s6":"s2","s7":"s2"},"d":{"s0":"s3","s1":"s1","s2":"s7","s3":"s6","s4":"s7","s5":"s1","s6":"s1","s7":"s3"}} | Given the following FSM:
a b c d
s0 s2 s5 s2 s3
s1 s6 s3 s4 s1
s2 s5 s1 s1 s7
s3 s6 s5 s3 s6
s4 s7 s3 s0 s7
s5 s6 s3 s3 s1
s6 s3 s1 s2 s1
s7 s6 s0 s2 s3
With the initial state: s0, and accepting states: ['s2'],
What will be the state after reading the following input: a c d c a b c b a d c d c a ? | s5 | 14 | 8 | 4 | 8_4 |
534151a7-e547-49cf-a242-f8a48d59aadd | 3c4ee78b-15d9-4e92-ad7c-08c0d21a87f1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s2","s1":"s6","s2":"s5","s3":"s6","s4":"s7","s5":"s6","s6":"s3","s7":"s6"},"b":{"s0":"s5","s1":"s3","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s1","s7":"s0"},"c":{"s0":"s2","s1":"s4","s2":"s1","s3":"s3","s4":"s0","s5":"s3","s6":"s2","s7":"s2"},"d":{"s0":"s3","s1":"s1","s2":"s7","s3":"s6","s4":"s7","s5":"s1","s6":"s1","s7":"s3"}} | Given the following FSM:
a b c d
s0 s2 s5 s2 s3
s1 s6 s3 s4 s1
s2 s5 s1 s1 s7
s3 s6 s5 s3 s6
s4 s7 s3 s0 s7
s5 s6 s3 s3 s1
s6 s3 s1 s2 s1
s7 s6 s0 s2 s3
With the initial state: s0, and accepting states: ['s2'],
What will be the state after reading the following input: a c d c a b c b a d c d c a a ? | s6 | 15 | 8 | 4 | 8_4 |
facb96d1-d673-4028-95dc-9e39af518952 | 3c4ee78b-15d9-4e92-ad7c-08c0d21a87f1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s2","s1":"s6","s2":"s5","s3":"s6","s4":"s7","s5":"s6","s6":"s3","s7":"s6"},"b":{"s0":"s5","s1":"s3","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s1","s7":"s0"},"c":{"s0":"s2","s1":"s4","s2":"s1","s3":"s3","s4":"s0","s5":"s3","s6":"s2","s7":"s2"},"d":{"s0":"s3","s1":"s1","s2":"s7","s3":"s6","s4":"s7","s5":"s1","s6":"s1","s7":"s3"}} | Given the following FSM:
a b c d
s0 s2 s5 s2 s3
s1 s6 s3 s4 s1
s2 s5 s1 s1 s7
s3 s6 s5 s3 s6
s4 s7 s3 s0 s7
s5 s6 s3 s3 s1
s6 s3 s1 s2 s1
s7 s6 s0 s2 s3
With the initial state: s0, and accepting states: ['s2'],
What will be the state after reading the following input: a c d c a b c b a d c d c a a c ? | s2 | 16 | 8 | 4 | 8_4 |
94fbb41c-ef5c-45dd-b781-b29384aafdeb | 3c4ee78b-15d9-4e92-ad7c-08c0d21a87f1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s2","s1":"s6","s2":"s5","s3":"s6","s4":"s7","s5":"s6","s6":"s3","s7":"s6"},"b":{"s0":"s5","s1":"s3","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s1","s7":"s0"},"c":{"s0":"s2","s1":"s4","s2":"s1","s3":"s3","s4":"s0","s5":"s3","s6":"s2","s7":"s2"},"d":{"s0":"s3","s1":"s1","s2":"s7","s3":"s6","s4":"s7","s5":"s1","s6":"s1","s7":"s3"}} | Given the following FSM:
a b c d
s0 s2 s5 s2 s3
s1 s6 s3 s4 s1
s2 s5 s1 s1 s7
s3 s6 s5 s3 s6
s4 s7 s3 s0 s7
s5 s6 s3 s3 s1
s6 s3 s1 s2 s1
s7 s6 s0 s2 s3
With the initial state: s0, and accepting states: ['s2'],
What will be the state after reading the following input: a c d c a b c b a d c d c a a c c ? | s1 | 17 | 8 | 4 | 8_4 |
ab317e77-73b4-44b2-b920-fb8e0b52d9f0 | 3c4ee78b-15d9-4e92-ad7c-08c0d21a87f1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s2","s1":"s6","s2":"s5","s3":"s6","s4":"s7","s5":"s6","s6":"s3","s7":"s6"},"b":{"s0":"s5","s1":"s3","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s1","s7":"s0"},"c":{"s0":"s2","s1":"s4","s2":"s1","s3":"s3","s4":"s0","s5":"s3","s6":"s2","s7":"s2"},"d":{"s0":"s3","s1":"s1","s2":"s7","s3":"s6","s4":"s7","s5":"s1","s6":"s1","s7":"s3"}} | Given the following FSM:
a b c d
s0 s2 s5 s2 s3
s1 s6 s3 s4 s1
s2 s5 s1 s1 s7
s3 s6 s5 s3 s6
s4 s7 s3 s0 s7
s5 s6 s3 s3 s1
s6 s3 s1 s2 s1
s7 s6 s0 s2 s3
With the initial state: s0, and accepting states: ['s2'],
What will be the state after reading the following input: a c d c a b c b a d c d c a a c c c ? | s4 | 18 | 8 | 4 | 8_4 |
7408ee11-3d63-40a8-acf2-fef76963327e | 3c4ee78b-15d9-4e92-ad7c-08c0d21a87f1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s2","s1":"s6","s2":"s5","s3":"s6","s4":"s7","s5":"s6","s6":"s3","s7":"s6"},"b":{"s0":"s5","s1":"s3","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s1","s7":"s0"},"c":{"s0":"s2","s1":"s4","s2":"s1","s3":"s3","s4":"s0","s5":"s3","s6":"s2","s7":"s2"},"d":{"s0":"s3","s1":"s1","s2":"s7","s3":"s6","s4":"s7","s5":"s1","s6":"s1","s7":"s3"}} | Given the following FSM:
a b c d
s0 s2 s5 s2 s3
s1 s6 s3 s4 s1
s2 s5 s1 s1 s7
s3 s6 s5 s3 s6
s4 s7 s3 s0 s7
s5 s6 s3 s3 s1
s6 s3 s1 s2 s1
s7 s6 s0 s2 s3
With the initial state: s0, and accepting states: ['s2'],
What will be the state after reading the following input: a c d c a b c b a d c d c a a c c c d ? | s7 | 19 | 8 | 4 | 8_4 |
97eadad0-830e-496e-a17a-3cf191b51130 | 3c4ee78b-15d9-4e92-ad7c-08c0d21a87f1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcd", "accepting_states": ["s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s2","s1":"s6","s2":"s5","s3":"s6","s4":"s7","s5":"s6","s6":"s3","s7":"s6"},"b":{"s0":"s5","s1":"s3","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s1","s7":"s0"},"c":{"s0":"s2","s1":"s4","s2":"s1","s3":"s3","s4":"s0","s5":"s3","s6":"s2","s7":"s2"},"d":{"s0":"s3","s1":"s1","s2":"s7","s3":"s6","s4":"s7","s5":"s1","s6":"s1","s7":"s3"}} | Given the following FSM:
a b c d
s0 s2 s5 s2 s3
s1 s6 s3 s4 s1
s2 s5 s1 s1 s7
s3 s6 s5 s3 s6
s4 s7 s3 s0 s7
s5 s6 s3 s3 s1
s6 s3 s1 s2 s1
s7 s6 s0 s2 s3
With the initial state: s0, and accepting states: ['s2'],
What will be the state after reading the following input: a c d c a b c b a d c d c a a c c c d b ? | s0 | 20 | 8 | 4 | 8_4 |
63d3d2cc-480f-404f-ae49-767f0032fd33 | 74ad086d-cee8-4d9b-a081-1d3c99943bd4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcdefgh", "accepting_states": ["s1", "s6", "s0", "s2", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "h", "toStates": ["s0"]}]} | 4 | {"a":{"s0":"s2","s1":"s4","s2":"s2","s3":"s4","s4":"s5","s5":"s6","s6":"s2","s7":"s4"},"b":{"s0":"s7","s1":"s7","s2":"s3","s3":"s2","s4":"s2","s5":"s6","s6":"s2","s7":"s7"},"c":{"s0":"s5","s1":"s0","s2":"s1","s3":"s4","s4":"s0","s5":"s5","s6":"s4","s7":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s1","s4":"s0","s5":"s5","s6":"s5","s7":"s6"},"e":{"s0":"s5","s1":"s6","s2":"s4","s3":"s0","s4":"s2","s5":"s6","s6":"s3","s7":"s1"},"f":{"s0":"s2","s1":"s2","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s4","s7":"s7"},"g":{"s0":"s0","s1":"s5","s2":"s6","s3":"s2","s4":"s5","s5":"s4","s6":"s1","s7":"s0"},"h":{"s0":"s6","s1":"s4","s2":"s1","s3":"s7","s4":"s6","s5":"s0","s6":"s7","s7":"s0"}} | Given the following FSM:
a b c d e f g h
s0 s2 s7 s5 s7 s5 s2 s0 s6
s1 s4 s7 s0 s3 s6 s2 s5 s4
s2 s2 s3 s1 s1 s4 s1 s6 s1
s3 s4 s2 s4 s1 s0 s5 s2 s7
s4 s5 s2 s0 s0 s2 s3 s5 s6
s5 s6 s6 s5 s5 s6 s3 s4 s0
s6 s2 s2 s4 s5 s3 s4 s1 s7
s7 s4 s7 s7 s6 s1 s7 s0 s0
With the initial state: s0, and accepting states: ['s1', 's6', 's0', 's2', 's4', 's3'],
What will be the state after reading the following input: a ? | s2 | 1 | 8 | 8 | 8_8 |
269d8967-be8f-40f5-bb5b-5274c67c8571 | 74ad086d-cee8-4d9b-a081-1d3c99943bd4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcdefgh", "accepting_states": ["s1", "s6", "s0", "s2", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "h", "toStates": ["s0"]}]} | 4 | {"a":{"s0":"s2","s1":"s4","s2":"s2","s3":"s4","s4":"s5","s5":"s6","s6":"s2","s7":"s4"},"b":{"s0":"s7","s1":"s7","s2":"s3","s3":"s2","s4":"s2","s5":"s6","s6":"s2","s7":"s7"},"c":{"s0":"s5","s1":"s0","s2":"s1","s3":"s4","s4":"s0","s5":"s5","s6":"s4","s7":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s1","s4":"s0","s5":"s5","s6":"s5","s7":"s6"},"e":{"s0":"s5","s1":"s6","s2":"s4","s3":"s0","s4":"s2","s5":"s6","s6":"s3","s7":"s1"},"f":{"s0":"s2","s1":"s2","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s4","s7":"s7"},"g":{"s0":"s0","s1":"s5","s2":"s6","s3":"s2","s4":"s5","s5":"s4","s6":"s1","s7":"s0"},"h":{"s0":"s6","s1":"s4","s2":"s1","s3":"s7","s4":"s6","s5":"s0","s6":"s7","s7":"s0"}} | Given the following FSM:
a b c d e f g h
s0 s2 s7 s5 s7 s5 s2 s0 s6
s1 s4 s7 s0 s3 s6 s2 s5 s4
s2 s2 s3 s1 s1 s4 s1 s6 s1
s3 s4 s2 s4 s1 s0 s5 s2 s7
s4 s5 s2 s0 s0 s2 s3 s5 s6
s5 s6 s6 s5 s5 s6 s3 s4 s0
s6 s2 s2 s4 s5 s3 s4 s1 s7
s7 s4 s7 s7 s6 s1 s7 s0 s0
With the initial state: s0, and accepting states: ['s1', 's6', 's0', 's2', 's4', 's3'],
What will be the state after reading the following input: a e ? | s4 | 2 | 8 | 8 | 8_8 |
64038f95-8bb5-4ac1-b002-5862d88c5cb8 | 74ad086d-cee8-4d9b-a081-1d3c99943bd4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcdefgh", "accepting_states": ["s1", "s6", "s0", "s2", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "h", "toStates": ["s0"]}]} | 4 | {"a":{"s0":"s2","s1":"s4","s2":"s2","s3":"s4","s4":"s5","s5":"s6","s6":"s2","s7":"s4"},"b":{"s0":"s7","s1":"s7","s2":"s3","s3":"s2","s4":"s2","s5":"s6","s6":"s2","s7":"s7"},"c":{"s0":"s5","s1":"s0","s2":"s1","s3":"s4","s4":"s0","s5":"s5","s6":"s4","s7":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s1","s4":"s0","s5":"s5","s6":"s5","s7":"s6"},"e":{"s0":"s5","s1":"s6","s2":"s4","s3":"s0","s4":"s2","s5":"s6","s6":"s3","s7":"s1"},"f":{"s0":"s2","s1":"s2","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s4","s7":"s7"},"g":{"s0":"s0","s1":"s5","s2":"s6","s3":"s2","s4":"s5","s5":"s4","s6":"s1","s7":"s0"},"h":{"s0":"s6","s1":"s4","s2":"s1","s3":"s7","s4":"s6","s5":"s0","s6":"s7","s7":"s0"}} | Given the following FSM:
a b c d e f g h
s0 s2 s7 s5 s7 s5 s2 s0 s6
s1 s4 s7 s0 s3 s6 s2 s5 s4
s2 s2 s3 s1 s1 s4 s1 s6 s1
s3 s4 s2 s4 s1 s0 s5 s2 s7
s4 s5 s2 s0 s0 s2 s3 s5 s6
s5 s6 s6 s5 s5 s6 s3 s4 s0
s6 s2 s2 s4 s5 s3 s4 s1 s7
s7 s4 s7 s7 s6 s1 s7 s0 s0
With the initial state: s0, and accepting states: ['s1', 's6', 's0', 's2', 's4', 's3'],
What will be the state after reading the following input: a e c ? | s0 | 3 | 8 | 8 | 8_8 |
518ec328-a07f-4dda-9994-2bb4f5240bf8 | 74ad086d-cee8-4d9b-a081-1d3c99943bd4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcdefgh", "accepting_states": ["s1", "s6", "s0", "s2", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "h", "toStates": ["s0"]}]} | 4 | {"a":{"s0":"s2","s1":"s4","s2":"s2","s3":"s4","s4":"s5","s5":"s6","s6":"s2","s7":"s4"},"b":{"s0":"s7","s1":"s7","s2":"s3","s3":"s2","s4":"s2","s5":"s6","s6":"s2","s7":"s7"},"c":{"s0":"s5","s1":"s0","s2":"s1","s3":"s4","s4":"s0","s5":"s5","s6":"s4","s7":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s1","s4":"s0","s5":"s5","s6":"s5","s7":"s6"},"e":{"s0":"s5","s1":"s6","s2":"s4","s3":"s0","s4":"s2","s5":"s6","s6":"s3","s7":"s1"},"f":{"s0":"s2","s1":"s2","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s4","s7":"s7"},"g":{"s0":"s0","s1":"s5","s2":"s6","s3":"s2","s4":"s5","s5":"s4","s6":"s1","s7":"s0"},"h":{"s0":"s6","s1":"s4","s2":"s1","s3":"s7","s4":"s6","s5":"s0","s6":"s7","s7":"s0"}} | Given the following FSM:
a b c d e f g h
s0 s2 s7 s5 s7 s5 s2 s0 s6
s1 s4 s7 s0 s3 s6 s2 s5 s4
s2 s2 s3 s1 s1 s4 s1 s6 s1
s3 s4 s2 s4 s1 s0 s5 s2 s7
s4 s5 s2 s0 s0 s2 s3 s5 s6
s5 s6 s6 s5 s5 s6 s3 s4 s0
s6 s2 s2 s4 s5 s3 s4 s1 s7
s7 s4 s7 s7 s6 s1 s7 s0 s0
With the initial state: s0, and accepting states: ['s1', 's6', 's0', 's2', 's4', 's3'],
What will be the state after reading the following input: a e c a ? | s2 | 4 | 8 | 8 | 8_8 |
4177e208-1615-4c40-a5c9-59d89f9303f2 | 74ad086d-cee8-4d9b-a081-1d3c99943bd4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcdefgh", "accepting_states": ["s1", "s6", "s0", "s2", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "h", "toStates": ["s0"]}]} | 4 | {"a":{"s0":"s2","s1":"s4","s2":"s2","s3":"s4","s4":"s5","s5":"s6","s6":"s2","s7":"s4"},"b":{"s0":"s7","s1":"s7","s2":"s3","s3":"s2","s4":"s2","s5":"s6","s6":"s2","s7":"s7"},"c":{"s0":"s5","s1":"s0","s2":"s1","s3":"s4","s4":"s0","s5":"s5","s6":"s4","s7":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s1","s4":"s0","s5":"s5","s6":"s5","s7":"s6"},"e":{"s0":"s5","s1":"s6","s2":"s4","s3":"s0","s4":"s2","s5":"s6","s6":"s3","s7":"s1"},"f":{"s0":"s2","s1":"s2","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s4","s7":"s7"},"g":{"s0":"s0","s1":"s5","s2":"s6","s3":"s2","s4":"s5","s5":"s4","s6":"s1","s7":"s0"},"h":{"s0":"s6","s1":"s4","s2":"s1","s3":"s7","s4":"s6","s5":"s0","s6":"s7","s7":"s0"}} | Given the following FSM:
a b c d e f g h
s0 s2 s7 s5 s7 s5 s2 s0 s6
s1 s4 s7 s0 s3 s6 s2 s5 s4
s2 s2 s3 s1 s1 s4 s1 s6 s1
s3 s4 s2 s4 s1 s0 s5 s2 s7
s4 s5 s2 s0 s0 s2 s3 s5 s6
s5 s6 s6 s5 s5 s6 s3 s4 s0
s6 s2 s2 s4 s5 s3 s4 s1 s7
s7 s4 s7 s7 s6 s1 s7 s0 s0
With the initial state: s0, and accepting states: ['s1', 's6', 's0', 's2', 's4', 's3'],
What will be the state after reading the following input: a e c a e ? | s4 | 5 | 8 | 8 | 8_8 |
d6b9abd0-f8bf-4a31-b8ef-ba1487657e84 | 74ad086d-cee8-4d9b-a081-1d3c99943bd4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcdefgh", "accepting_states": ["s1", "s6", "s0", "s2", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "h", "toStates": ["s0"]}]} | 4 | {"a":{"s0":"s2","s1":"s4","s2":"s2","s3":"s4","s4":"s5","s5":"s6","s6":"s2","s7":"s4"},"b":{"s0":"s7","s1":"s7","s2":"s3","s3":"s2","s4":"s2","s5":"s6","s6":"s2","s7":"s7"},"c":{"s0":"s5","s1":"s0","s2":"s1","s3":"s4","s4":"s0","s5":"s5","s6":"s4","s7":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s1","s4":"s0","s5":"s5","s6":"s5","s7":"s6"},"e":{"s0":"s5","s1":"s6","s2":"s4","s3":"s0","s4":"s2","s5":"s6","s6":"s3","s7":"s1"},"f":{"s0":"s2","s1":"s2","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s4","s7":"s7"},"g":{"s0":"s0","s1":"s5","s2":"s6","s3":"s2","s4":"s5","s5":"s4","s6":"s1","s7":"s0"},"h":{"s0":"s6","s1":"s4","s2":"s1","s3":"s7","s4":"s6","s5":"s0","s6":"s7","s7":"s0"}} | Given the following FSM:
a b c d e f g h
s0 s2 s7 s5 s7 s5 s2 s0 s6
s1 s4 s7 s0 s3 s6 s2 s5 s4
s2 s2 s3 s1 s1 s4 s1 s6 s1
s3 s4 s2 s4 s1 s0 s5 s2 s7
s4 s5 s2 s0 s0 s2 s3 s5 s6
s5 s6 s6 s5 s5 s6 s3 s4 s0
s6 s2 s2 s4 s5 s3 s4 s1 s7
s7 s4 s7 s7 s6 s1 s7 s0 s0
With the initial state: s0, and accepting states: ['s1', 's6', 's0', 's2', 's4', 's3'],
What will be the state after reading the following input: a e c a e h ? | s6 | 6 | 8 | 8 | 8_8 |
1c68d9a8-1643-4b9c-a070-505e60aa02ff | 74ad086d-cee8-4d9b-a081-1d3c99943bd4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcdefgh", "accepting_states": ["s1", "s6", "s0", "s2", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "h", "toStates": ["s0"]}]} | 4 | {"a":{"s0":"s2","s1":"s4","s2":"s2","s3":"s4","s4":"s5","s5":"s6","s6":"s2","s7":"s4"},"b":{"s0":"s7","s1":"s7","s2":"s3","s3":"s2","s4":"s2","s5":"s6","s6":"s2","s7":"s7"},"c":{"s0":"s5","s1":"s0","s2":"s1","s3":"s4","s4":"s0","s5":"s5","s6":"s4","s7":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s1","s4":"s0","s5":"s5","s6":"s5","s7":"s6"},"e":{"s0":"s5","s1":"s6","s2":"s4","s3":"s0","s4":"s2","s5":"s6","s6":"s3","s7":"s1"},"f":{"s0":"s2","s1":"s2","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s4","s7":"s7"},"g":{"s0":"s0","s1":"s5","s2":"s6","s3":"s2","s4":"s5","s5":"s4","s6":"s1","s7":"s0"},"h":{"s0":"s6","s1":"s4","s2":"s1","s3":"s7","s4":"s6","s5":"s0","s6":"s7","s7":"s0"}} | Given the following FSM:
a b c d e f g h
s0 s2 s7 s5 s7 s5 s2 s0 s6
s1 s4 s7 s0 s3 s6 s2 s5 s4
s2 s2 s3 s1 s1 s4 s1 s6 s1
s3 s4 s2 s4 s1 s0 s5 s2 s7
s4 s5 s2 s0 s0 s2 s3 s5 s6
s5 s6 s6 s5 s5 s6 s3 s4 s0
s6 s2 s2 s4 s5 s3 s4 s1 s7
s7 s4 s7 s7 s6 s1 s7 s0 s0
With the initial state: s0, and accepting states: ['s1', 's6', 's0', 's2', 's4', 's3'],
What will be the state after reading the following input: a e c a e h c ? | s4 | 7 | 8 | 8 | 8_8 |
c36388f5-b97f-4e26-9b55-8750e13bcb45 | 74ad086d-cee8-4d9b-a081-1d3c99943bd4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcdefgh", "accepting_states": ["s1", "s6", "s0", "s2", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "h", "toStates": ["s0"]}]} | 4 | {"a":{"s0":"s2","s1":"s4","s2":"s2","s3":"s4","s4":"s5","s5":"s6","s6":"s2","s7":"s4"},"b":{"s0":"s7","s1":"s7","s2":"s3","s3":"s2","s4":"s2","s5":"s6","s6":"s2","s7":"s7"},"c":{"s0":"s5","s1":"s0","s2":"s1","s3":"s4","s4":"s0","s5":"s5","s6":"s4","s7":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s1","s4":"s0","s5":"s5","s6":"s5","s7":"s6"},"e":{"s0":"s5","s1":"s6","s2":"s4","s3":"s0","s4":"s2","s5":"s6","s6":"s3","s7":"s1"},"f":{"s0":"s2","s1":"s2","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s4","s7":"s7"},"g":{"s0":"s0","s1":"s5","s2":"s6","s3":"s2","s4":"s5","s5":"s4","s6":"s1","s7":"s0"},"h":{"s0":"s6","s1":"s4","s2":"s1","s3":"s7","s4":"s6","s5":"s0","s6":"s7","s7":"s0"}} | Given the following FSM:
a b c d e f g h
s0 s2 s7 s5 s7 s5 s2 s0 s6
s1 s4 s7 s0 s3 s6 s2 s5 s4
s2 s2 s3 s1 s1 s4 s1 s6 s1
s3 s4 s2 s4 s1 s0 s5 s2 s7
s4 s5 s2 s0 s0 s2 s3 s5 s6
s5 s6 s6 s5 s5 s6 s3 s4 s0
s6 s2 s2 s4 s5 s3 s4 s1 s7
s7 s4 s7 s7 s6 s1 s7 s0 s0
With the initial state: s0, and accepting states: ['s1', 's6', 's0', 's2', 's4', 's3'],
What will be the state after reading the following input: a e c a e h c c ? | s0 | 8 | 8 | 8 | 8_8 |
434dfb09-c1df-4850-b8d5-55e4c144dd58 | 74ad086d-cee8-4d9b-a081-1d3c99943bd4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcdefgh", "accepting_states": ["s1", "s6", "s0", "s2", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "h", "toStates": ["s0"]}]} | 4 | {"a":{"s0":"s2","s1":"s4","s2":"s2","s3":"s4","s4":"s5","s5":"s6","s6":"s2","s7":"s4"},"b":{"s0":"s7","s1":"s7","s2":"s3","s3":"s2","s4":"s2","s5":"s6","s6":"s2","s7":"s7"},"c":{"s0":"s5","s1":"s0","s2":"s1","s3":"s4","s4":"s0","s5":"s5","s6":"s4","s7":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s1","s4":"s0","s5":"s5","s6":"s5","s7":"s6"},"e":{"s0":"s5","s1":"s6","s2":"s4","s3":"s0","s4":"s2","s5":"s6","s6":"s3","s7":"s1"},"f":{"s0":"s2","s1":"s2","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s4","s7":"s7"},"g":{"s0":"s0","s1":"s5","s2":"s6","s3":"s2","s4":"s5","s5":"s4","s6":"s1","s7":"s0"},"h":{"s0":"s6","s1":"s4","s2":"s1","s3":"s7","s4":"s6","s5":"s0","s6":"s7","s7":"s0"}} | Given the following FSM:
a b c d e f g h
s0 s2 s7 s5 s7 s5 s2 s0 s6
s1 s4 s7 s0 s3 s6 s2 s5 s4
s2 s2 s3 s1 s1 s4 s1 s6 s1
s3 s4 s2 s4 s1 s0 s5 s2 s7
s4 s5 s2 s0 s0 s2 s3 s5 s6
s5 s6 s6 s5 s5 s6 s3 s4 s0
s6 s2 s2 s4 s5 s3 s4 s1 s7
s7 s4 s7 s7 s6 s1 s7 s0 s0
With the initial state: s0, and accepting states: ['s1', 's6', 's0', 's2', 's4', 's3'],
What will be the state after reading the following input: a e c a e h c c h ? | s6 | 9 | 8 | 8 | 8_8 |
b4cf42ac-91ee-4285-8086-eb13053f87be | 74ad086d-cee8-4d9b-a081-1d3c99943bd4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcdefgh", "accepting_states": ["s1", "s6", "s0", "s2", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "h", "toStates": ["s0"]}]} | 4 | {"a":{"s0":"s2","s1":"s4","s2":"s2","s3":"s4","s4":"s5","s5":"s6","s6":"s2","s7":"s4"},"b":{"s0":"s7","s1":"s7","s2":"s3","s3":"s2","s4":"s2","s5":"s6","s6":"s2","s7":"s7"},"c":{"s0":"s5","s1":"s0","s2":"s1","s3":"s4","s4":"s0","s5":"s5","s6":"s4","s7":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s1","s4":"s0","s5":"s5","s6":"s5","s7":"s6"},"e":{"s0":"s5","s1":"s6","s2":"s4","s3":"s0","s4":"s2","s5":"s6","s6":"s3","s7":"s1"},"f":{"s0":"s2","s1":"s2","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s4","s7":"s7"},"g":{"s0":"s0","s1":"s5","s2":"s6","s3":"s2","s4":"s5","s5":"s4","s6":"s1","s7":"s0"},"h":{"s0":"s6","s1":"s4","s2":"s1","s3":"s7","s4":"s6","s5":"s0","s6":"s7","s7":"s0"}} | Given the following FSM:
a b c d e f g h
s0 s2 s7 s5 s7 s5 s2 s0 s6
s1 s4 s7 s0 s3 s6 s2 s5 s4
s2 s2 s3 s1 s1 s4 s1 s6 s1
s3 s4 s2 s4 s1 s0 s5 s2 s7
s4 s5 s2 s0 s0 s2 s3 s5 s6
s5 s6 s6 s5 s5 s6 s3 s4 s0
s6 s2 s2 s4 s5 s3 s4 s1 s7
s7 s4 s7 s7 s6 s1 s7 s0 s0
With the initial state: s0, and accepting states: ['s1', 's6', 's0', 's2', 's4', 's3'],
What will be the state after reading the following input: a e c a e h c c h a ? | s2 | 10 | 8 | 8 | 8_8 |
49b6bab9-7408-40ec-bf98-ffe7e928609d | 74ad086d-cee8-4d9b-a081-1d3c99943bd4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcdefgh", "accepting_states": ["s1", "s6", "s0", "s2", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "h", "toStates": ["s0"]}]} | 4 | {"a":{"s0":"s2","s1":"s4","s2":"s2","s3":"s4","s4":"s5","s5":"s6","s6":"s2","s7":"s4"},"b":{"s0":"s7","s1":"s7","s2":"s3","s3":"s2","s4":"s2","s5":"s6","s6":"s2","s7":"s7"},"c":{"s0":"s5","s1":"s0","s2":"s1","s3":"s4","s4":"s0","s5":"s5","s6":"s4","s7":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s1","s4":"s0","s5":"s5","s6":"s5","s7":"s6"},"e":{"s0":"s5","s1":"s6","s2":"s4","s3":"s0","s4":"s2","s5":"s6","s6":"s3","s7":"s1"},"f":{"s0":"s2","s1":"s2","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s4","s7":"s7"},"g":{"s0":"s0","s1":"s5","s2":"s6","s3":"s2","s4":"s5","s5":"s4","s6":"s1","s7":"s0"},"h":{"s0":"s6","s1":"s4","s2":"s1","s3":"s7","s4":"s6","s5":"s0","s6":"s7","s7":"s0"}} | Given the following FSM:
a b c d e f g h
s0 s2 s7 s5 s7 s5 s2 s0 s6
s1 s4 s7 s0 s3 s6 s2 s5 s4
s2 s2 s3 s1 s1 s4 s1 s6 s1
s3 s4 s2 s4 s1 s0 s5 s2 s7
s4 s5 s2 s0 s0 s2 s3 s5 s6
s5 s6 s6 s5 s5 s6 s3 s4 s0
s6 s2 s2 s4 s5 s3 s4 s1 s7
s7 s4 s7 s7 s6 s1 s7 s0 s0
With the initial state: s0, and accepting states: ['s1', 's6', 's0', 's2', 's4', 's3'],
What will be the state after reading the following input: a e c a e h c c h a b ? | s3 | 11 | 8 | 8 | 8_8 |
da4c8568-30a7-4ddd-9fe2-8b233bc25852 | 74ad086d-cee8-4d9b-a081-1d3c99943bd4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcdefgh", "accepting_states": ["s1", "s6", "s0", "s2", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "h", "toStates": ["s0"]}]} | 4 | {"a":{"s0":"s2","s1":"s4","s2":"s2","s3":"s4","s4":"s5","s5":"s6","s6":"s2","s7":"s4"},"b":{"s0":"s7","s1":"s7","s2":"s3","s3":"s2","s4":"s2","s5":"s6","s6":"s2","s7":"s7"},"c":{"s0":"s5","s1":"s0","s2":"s1","s3":"s4","s4":"s0","s5":"s5","s6":"s4","s7":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s1","s4":"s0","s5":"s5","s6":"s5","s7":"s6"},"e":{"s0":"s5","s1":"s6","s2":"s4","s3":"s0","s4":"s2","s5":"s6","s6":"s3","s7":"s1"},"f":{"s0":"s2","s1":"s2","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s4","s7":"s7"},"g":{"s0":"s0","s1":"s5","s2":"s6","s3":"s2","s4":"s5","s5":"s4","s6":"s1","s7":"s0"},"h":{"s0":"s6","s1":"s4","s2":"s1","s3":"s7","s4":"s6","s5":"s0","s6":"s7","s7":"s0"}} | Given the following FSM:
a b c d e f g h
s0 s2 s7 s5 s7 s5 s2 s0 s6
s1 s4 s7 s0 s3 s6 s2 s5 s4
s2 s2 s3 s1 s1 s4 s1 s6 s1
s3 s4 s2 s4 s1 s0 s5 s2 s7
s4 s5 s2 s0 s0 s2 s3 s5 s6
s5 s6 s6 s5 s5 s6 s3 s4 s0
s6 s2 s2 s4 s5 s3 s4 s1 s7
s7 s4 s7 s7 s6 s1 s7 s0 s0
With the initial state: s0, and accepting states: ['s1', 's6', 's0', 's2', 's4', 's3'],
What will be the state after reading the following input: a e c a e h c c h a b h ? | s7 | 12 | 8 | 8 | 8_8 |
da52453c-2eda-45b2-94fe-e640739be7f6 | 74ad086d-cee8-4d9b-a081-1d3c99943bd4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcdefgh", "accepting_states": ["s1", "s6", "s0", "s2", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "h", "toStates": ["s0"]}]} | 4 | {"a":{"s0":"s2","s1":"s4","s2":"s2","s3":"s4","s4":"s5","s5":"s6","s6":"s2","s7":"s4"},"b":{"s0":"s7","s1":"s7","s2":"s3","s3":"s2","s4":"s2","s5":"s6","s6":"s2","s7":"s7"},"c":{"s0":"s5","s1":"s0","s2":"s1","s3":"s4","s4":"s0","s5":"s5","s6":"s4","s7":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s1","s4":"s0","s5":"s5","s6":"s5","s7":"s6"},"e":{"s0":"s5","s1":"s6","s2":"s4","s3":"s0","s4":"s2","s5":"s6","s6":"s3","s7":"s1"},"f":{"s0":"s2","s1":"s2","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s4","s7":"s7"},"g":{"s0":"s0","s1":"s5","s2":"s6","s3":"s2","s4":"s5","s5":"s4","s6":"s1","s7":"s0"},"h":{"s0":"s6","s1":"s4","s2":"s1","s3":"s7","s4":"s6","s5":"s0","s6":"s7","s7":"s0"}} | Given the following FSM:
a b c d e f g h
s0 s2 s7 s5 s7 s5 s2 s0 s6
s1 s4 s7 s0 s3 s6 s2 s5 s4
s2 s2 s3 s1 s1 s4 s1 s6 s1
s3 s4 s2 s4 s1 s0 s5 s2 s7
s4 s5 s2 s0 s0 s2 s3 s5 s6
s5 s6 s6 s5 s5 s6 s3 s4 s0
s6 s2 s2 s4 s5 s3 s4 s1 s7
s7 s4 s7 s7 s6 s1 s7 s0 s0
With the initial state: s0, and accepting states: ['s1', 's6', 's0', 's2', 's4', 's3'],
What will be the state after reading the following input: a e c a e h c c h a b h h ? | s0 | 13 | 8 | 8 | 8_8 |
952913ac-f1c5-4bc9-b7ae-ce1b6e7b5b4c | 74ad086d-cee8-4d9b-a081-1d3c99943bd4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcdefgh", "accepting_states": ["s1", "s6", "s0", "s2", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "h", "toStates": ["s0"]}]} | 4 | {"a":{"s0":"s2","s1":"s4","s2":"s2","s3":"s4","s4":"s5","s5":"s6","s6":"s2","s7":"s4"},"b":{"s0":"s7","s1":"s7","s2":"s3","s3":"s2","s4":"s2","s5":"s6","s6":"s2","s7":"s7"},"c":{"s0":"s5","s1":"s0","s2":"s1","s3":"s4","s4":"s0","s5":"s5","s6":"s4","s7":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s1","s4":"s0","s5":"s5","s6":"s5","s7":"s6"},"e":{"s0":"s5","s1":"s6","s2":"s4","s3":"s0","s4":"s2","s5":"s6","s6":"s3","s7":"s1"},"f":{"s0":"s2","s1":"s2","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s4","s7":"s7"},"g":{"s0":"s0","s1":"s5","s2":"s6","s3":"s2","s4":"s5","s5":"s4","s6":"s1","s7":"s0"},"h":{"s0":"s6","s1":"s4","s2":"s1","s3":"s7","s4":"s6","s5":"s0","s6":"s7","s7":"s0"}} | Given the following FSM:
a b c d e f g h
s0 s2 s7 s5 s7 s5 s2 s0 s6
s1 s4 s7 s0 s3 s6 s2 s5 s4
s2 s2 s3 s1 s1 s4 s1 s6 s1
s3 s4 s2 s4 s1 s0 s5 s2 s7
s4 s5 s2 s0 s0 s2 s3 s5 s6
s5 s6 s6 s5 s5 s6 s3 s4 s0
s6 s2 s2 s4 s5 s3 s4 s1 s7
s7 s4 s7 s7 s6 s1 s7 s0 s0
With the initial state: s0, and accepting states: ['s1', 's6', 's0', 's2', 's4', 's3'],
What will be the state after reading the following input: a e c a e h c c h a b h h a ? | s2 | 14 | 8 | 8 | 8_8 |
3db31a46-d332-4c30-bfd9-5c1b9a4b0722 | 74ad086d-cee8-4d9b-a081-1d3c99943bd4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcdefgh", "accepting_states": ["s1", "s6", "s0", "s2", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "h", "toStates": ["s0"]}]} | 4 | {"a":{"s0":"s2","s1":"s4","s2":"s2","s3":"s4","s4":"s5","s5":"s6","s6":"s2","s7":"s4"},"b":{"s0":"s7","s1":"s7","s2":"s3","s3":"s2","s4":"s2","s5":"s6","s6":"s2","s7":"s7"},"c":{"s0":"s5","s1":"s0","s2":"s1","s3":"s4","s4":"s0","s5":"s5","s6":"s4","s7":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s1","s4":"s0","s5":"s5","s6":"s5","s7":"s6"},"e":{"s0":"s5","s1":"s6","s2":"s4","s3":"s0","s4":"s2","s5":"s6","s6":"s3","s7":"s1"},"f":{"s0":"s2","s1":"s2","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s4","s7":"s7"},"g":{"s0":"s0","s1":"s5","s2":"s6","s3":"s2","s4":"s5","s5":"s4","s6":"s1","s7":"s0"},"h":{"s0":"s6","s1":"s4","s2":"s1","s3":"s7","s4":"s6","s5":"s0","s6":"s7","s7":"s0"}} | Given the following FSM:
a b c d e f g h
s0 s2 s7 s5 s7 s5 s2 s0 s6
s1 s4 s7 s0 s3 s6 s2 s5 s4
s2 s2 s3 s1 s1 s4 s1 s6 s1
s3 s4 s2 s4 s1 s0 s5 s2 s7
s4 s5 s2 s0 s0 s2 s3 s5 s6
s5 s6 s6 s5 s5 s6 s3 s4 s0
s6 s2 s2 s4 s5 s3 s4 s1 s7
s7 s4 s7 s7 s6 s1 s7 s0 s0
With the initial state: s0, and accepting states: ['s1', 's6', 's0', 's2', 's4', 's3'],
What will be the state after reading the following input: a e c a e h c c h a b h h a e ? | s4 | 15 | 8 | 8 | 8_8 |
b7d41db0-b471-49c9-9f84-5aeeecece93b | 74ad086d-cee8-4d9b-a081-1d3c99943bd4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcdefgh", "accepting_states": ["s1", "s6", "s0", "s2", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "h", "toStates": ["s0"]}]} | 4 | {"a":{"s0":"s2","s1":"s4","s2":"s2","s3":"s4","s4":"s5","s5":"s6","s6":"s2","s7":"s4"},"b":{"s0":"s7","s1":"s7","s2":"s3","s3":"s2","s4":"s2","s5":"s6","s6":"s2","s7":"s7"},"c":{"s0":"s5","s1":"s0","s2":"s1","s3":"s4","s4":"s0","s5":"s5","s6":"s4","s7":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s1","s4":"s0","s5":"s5","s6":"s5","s7":"s6"},"e":{"s0":"s5","s1":"s6","s2":"s4","s3":"s0","s4":"s2","s5":"s6","s6":"s3","s7":"s1"},"f":{"s0":"s2","s1":"s2","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s4","s7":"s7"},"g":{"s0":"s0","s1":"s5","s2":"s6","s3":"s2","s4":"s5","s5":"s4","s6":"s1","s7":"s0"},"h":{"s0":"s6","s1":"s4","s2":"s1","s3":"s7","s4":"s6","s5":"s0","s6":"s7","s7":"s0"}} | Given the following FSM:
a b c d e f g h
s0 s2 s7 s5 s7 s5 s2 s0 s6
s1 s4 s7 s0 s3 s6 s2 s5 s4
s2 s2 s3 s1 s1 s4 s1 s6 s1
s3 s4 s2 s4 s1 s0 s5 s2 s7
s4 s5 s2 s0 s0 s2 s3 s5 s6
s5 s6 s6 s5 s5 s6 s3 s4 s0
s6 s2 s2 s4 s5 s3 s4 s1 s7
s7 s4 s7 s7 s6 s1 s7 s0 s0
With the initial state: s0, and accepting states: ['s1', 's6', 's0', 's2', 's4', 's3'],
What will be the state after reading the following input: a e c a e h c c h a b h h a e d ? | s0 | 16 | 8 | 8 | 8_8 |
4e04a0e7-527b-42b0-829a-2e6a78d69325 | 74ad086d-cee8-4d9b-a081-1d3c99943bd4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcdefgh", "accepting_states": ["s1", "s6", "s0", "s2", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "h", "toStates": ["s0"]}]} | 4 | {"a":{"s0":"s2","s1":"s4","s2":"s2","s3":"s4","s4":"s5","s5":"s6","s6":"s2","s7":"s4"},"b":{"s0":"s7","s1":"s7","s2":"s3","s3":"s2","s4":"s2","s5":"s6","s6":"s2","s7":"s7"},"c":{"s0":"s5","s1":"s0","s2":"s1","s3":"s4","s4":"s0","s5":"s5","s6":"s4","s7":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s1","s4":"s0","s5":"s5","s6":"s5","s7":"s6"},"e":{"s0":"s5","s1":"s6","s2":"s4","s3":"s0","s4":"s2","s5":"s6","s6":"s3","s7":"s1"},"f":{"s0":"s2","s1":"s2","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s4","s7":"s7"},"g":{"s0":"s0","s1":"s5","s2":"s6","s3":"s2","s4":"s5","s5":"s4","s6":"s1","s7":"s0"},"h":{"s0":"s6","s1":"s4","s2":"s1","s3":"s7","s4":"s6","s5":"s0","s6":"s7","s7":"s0"}} | Given the following FSM:
a b c d e f g h
s0 s2 s7 s5 s7 s5 s2 s0 s6
s1 s4 s7 s0 s3 s6 s2 s5 s4
s2 s2 s3 s1 s1 s4 s1 s6 s1
s3 s4 s2 s4 s1 s0 s5 s2 s7
s4 s5 s2 s0 s0 s2 s3 s5 s6
s5 s6 s6 s5 s5 s6 s3 s4 s0
s6 s2 s2 s4 s5 s3 s4 s1 s7
s7 s4 s7 s7 s6 s1 s7 s0 s0
With the initial state: s0, and accepting states: ['s1', 's6', 's0', 's2', 's4', 's3'],
What will be the state after reading the following input: a e c a e h c c h a b h h a e d d ? | s7 | 17 | 8 | 8 | 8_8 |
db4b445e-d2e4-491a-85e4-9030be4f6e0a | 74ad086d-cee8-4d9b-a081-1d3c99943bd4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcdefgh", "accepting_states": ["s1", "s6", "s0", "s2", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "h", "toStates": ["s0"]}]} | 4 | {"a":{"s0":"s2","s1":"s4","s2":"s2","s3":"s4","s4":"s5","s5":"s6","s6":"s2","s7":"s4"},"b":{"s0":"s7","s1":"s7","s2":"s3","s3":"s2","s4":"s2","s5":"s6","s6":"s2","s7":"s7"},"c":{"s0":"s5","s1":"s0","s2":"s1","s3":"s4","s4":"s0","s5":"s5","s6":"s4","s7":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s1","s4":"s0","s5":"s5","s6":"s5","s7":"s6"},"e":{"s0":"s5","s1":"s6","s2":"s4","s3":"s0","s4":"s2","s5":"s6","s6":"s3","s7":"s1"},"f":{"s0":"s2","s1":"s2","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s4","s7":"s7"},"g":{"s0":"s0","s1":"s5","s2":"s6","s3":"s2","s4":"s5","s5":"s4","s6":"s1","s7":"s0"},"h":{"s0":"s6","s1":"s4","s2":"s1","s3":"s7","s4":"s6","s5":"s0","s6":"s7","s7":"s0"}} | Given the following FSM:
a b c d e f g h
s0 s2 s7 s5 s7 s5 s2 s0 s6
s1 s4 s7 s0 s3 s6 s2 s5 s4
s2 s2 s3 s1 s1 s4 s1 s6 s1
s3 s4 s2 s4 s1 s0 s5 s2 s7
s4 s5 s2 s0 s0 s2 s3 s5 s6
s5 s6 s6 s5 s5 s6 s3 s4 s0
s6 s2 s2 s4 s5 s3 s4 s1 s7
s7 s4 s7 s7 s6 s1 s7 s0 s0
With the initial state: s0, and accepting states: ['s1', 's6', 's0', 's2', 's4', 's3'],
What will be the state after reading the following input: a e c a e h c c h a b h h a e d d a ? | s4 | 18 | 8 | 8 | 8_8 |
fc70a3cb-4fbc-4bf4-b2c3-b7ff80683d31 | 74ad086d-cee8-4d9b-a081-1d3c99943bd4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcdefgh", "accepting_states": ["s1", "s6", "s0", "s2", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "h", "toStates": ["s0"]}]} | 4 | {"a":{"s0":"s2","s1":"s4","s2":"s2","s3":"s4","s4":"s5","s5":"s6","s6":"s2","s7":"s4"},"b":{"s0":"s7","s1":"s7","s2":"s3","s3":"s2","s4":"s2","s5":"s6","s6":"s2","s7":"s7"},"c":{"s0":"s5","s1":"s0","s2":"s1","s3":"s4","s4":"s0","s5":"s5","s6":"s4","s7":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s1","s4":"s0","s5":"s5","s6":"s5","s7":"s6"},"e":{"s0":"s5","s1":"s6","s2":"s4","s3":"s0","s4":"s2","s5":"s6","s6":"s3","s7":"s1"},"f":{"s0":"s2","s1":"s2","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s4","s7":"s7"},"g":{"s0":"s0","s1":"s5","s2":"s6","s3":"s2","s4":"s5","s5":"s4","s6":"s1","s7":"s0"},"h":{"s0":"s6","s1":"s4","s2":"s1","s3":"s7","s4":"s6","s5":"s0","s6":"s7","s7":"s0"}} | Given the following FSM:
a b c d e f g h
s0 s2 s7 s5 s7 s5 s2 s0 s6
s1 s4 s7 s0 s3 s6 s2 s5 s4
s2 s2 s3 s1 s1 s4 s1 s6 s1
s3 s4 s2 s4 s1 s0 s5 s2 s7
s4 s5 s2 s0 s0 s2 s3 s5 s6
s5 s6 s6 s5 s5 s6 s3 s4 s0
s6 s2 s2 s4 s5 s3 s4 s1 s7
s7 s4 s7 s7 s6 s1 s7 s0 s0
With the initial state: s0, and accepting states: ['s1', 's6', 's0', 's2', 's4', 's3'],
What will be the state after reading the following input: a e c a e h c c h a b h h a e d d a g ? | s5 | 19 | 8 | 8 | 8_8 |
abec5b90-57f2-4d7e-a69b-d99495108d6a | 74ad086d-cee8-4d9b-a081-1d3c99943bd4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcdefgh", "accepting_states": ["s1", "s6", "s0", "s2", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "h", "toStates": ["s0"]}]} | 4 | {"a":{"s0":"s2","s1":"s4","s2":"s2","s3":"s4","s4":"s5","s5":"s6","s6":"s2","s7":"s4"},"b":{"s0":"s7","s1":"s7","s2":"s3","s3":"s2","s4":"s2","s5":"s6","s6":"s2","s7":"s7"},"c":{"s0":"s5","s1":"s0","s2":"s1","s3":"s4","s4":"s0","s5":"s5","s6":"s4","s7":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s1","s4":"s0","s5":"s5","s6":"s5","s7":"s6"},"e":{"s0":"s5","s1":"s6","s2":"s4","s3":"s0","s4":"s2","s5":"s6","s6":"s3","s7":"s1"},"f":{"s0":"s2","s1":"s2","s2":"s1","s3":"s5","s4":"s3","s5":"s3","s6":"s4","s7":"s7"},"g":{"s0":"s0","s1":"s5","s2":"s6","s3":"s2","s4":"s5","s5":"s4","s6":"s1","s7":"s0"},"h":{"s0":"s6","s1":"s4","s2":"s1","s3":"s7","s4":"s6","s5":"s0","s6":"s7","s7":"s0"}} | Given the following FSM:
a b c d e f g h
s0 s2 s7 s5 s7 s5 s2 s0 s6
s1 s4 s7 s0 s3 s6 s2 s5 s4
s2 s2 s3 s1 s1 s4 s1 s6 s1
s3 s4 s2 s4 s1 s0 s5 s2 s7
s4 s5 s2 s0 s0 s2 s3 s5 s6
s5 s6 s6 s5 s5 s6 s3 s4 s0
s6 s2 s2 s4 s5 s3 s4 s1 s7
s7 s4 s7 s7 s6 s1 s7 s0 s0
With the initial state: s0, and accepting states: ['s1', 's6', 's0', 's2', 's4', 's3'],
What will be the state after reading the following input: a e c a e h c c h a b h h a e d d a g f ? | s3 | 20 | 8 | 8 | 8_8 |