query_id
stringlengths 36
36
| fsm_id
stringclasses 640
values | fsm_json
stringclasses 584
values | difficulty_level
int64 1
4
| transition_matrix
stringclasses 581
values | query
stringlengths 178
1.53k
| answer
stringclasses 15
values | substring_index
int64 1
20
| number_of_states
int64 1
10
| number_of_alphabets
int64 1
8
| state_alpha_combo
stringclasses 80
values | transition_matrix_triplets
stringclasses 581
values |
---|---|---|---|---|---|---|---|---|---|---|---|
94ffd339-529e-406c-9b36-d57711e0eae0 | 35d4998b-79c0-4fbe-931f-fe0b3284c4fd | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s6", "s2", "s0", "s8", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s7","s1":"s8","s2":"s5","s3":"s2","s4":"s8","s5":"s8","s6":"s0","s7":"s8","s8":"s5"},"b":{"s0":"s5","s1":"s2","s2":"s0","s3":"s1","s4":"s5","s5":"s5","s6":"s4","s7":"s7","s8":"s8"},"c":{"s0":"s8","s1":"s7","s2":"s2","s3":"s6","s4":"s5","s5":"s6","s6":"s6","s7":"s4","s8":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s5","s4":"s1","s5":"s6","s6":"s6","s7":"s5","s8":"s0"},"e":{"s0":"s7","s1":"s6","s2":"s6","s3":"s6","s4":"s6","s5":"s8","s6":"s4","s7":"s2","s8":"s1"},"f":{"s0":"s0","s1":"s1","s2":"s7","s3":"s7","s4":"s3","s5":"s3","s6":"s2","s7":"s7","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s6', 's2', 's0', 's8', 's4'],
What will be the state after reading the following input: e | s7 | 1 | 9 | 6 | 9_6 | ( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 ) |
f5768087-5211-4437-8e36-18e815c85639 | 35d4998b-79c0-4fbe-931f-fe0b3284c4fd | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s6", "s2", "s0", "s8", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s7","s1":"s8","s2":"s5","s3":"s2","s4":"s8","s5":"s8","s6":"s0","s7":"s8","s8":"s5"},"b":{"s0":"s5","s1":"s2","s2":"s0","s3":"s1","s4":"s5","s5":"s5","s6":"s4","s7":"s7","s8":"s8"},"c":{"s0":"s8","s1":"s7","s2":"s2","s3":"s6","s4":"s5","s5":"s6","s6":"s6","s7":"s4","s8":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s5","s4":"s1","s5":"s6","s6":"s6","s7":"s5","s8":"s0"},"e":{"s0":"s7","s1":"s6","s2":"s6","s3":"s6","s4":"s6","s5":"s8","s6":"s4","s7":"s2","s8":"s1"},"f":{"s0":"s0","s1":"s1","s2":"s7","s3":"s7","s4":"s3","s5":"s3","s6":"s2","s7":"s7","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s6', 's2', 's0', 's8', 's4'],
What will be the state after reading the following input: e e | s2 | 2 | 9 | 6 | 9_6 | ( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 ) |
3fd0f72b-7e3c-44cd-a870-48c06fd15f1e | 35d4998b-79c0-4fbe-931f-fe0b3284c4fd | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s6", "s2", "s0", "s8", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s7","s1":"s8","s2":"s5","s3":"s2","s4":"s8","s5":"s8","s6":"s0","s7":"s8","s8":"s5"},"b":{"s0":"s5","s1":"s2","s2":"s0","s3":"s1","s4":"s5","s5":"s5","s6":"s4","s7":"s7","s8":"s8"},"c":{"s0":"s8","s1":"s7","s2":"s2","s3":"s6","s4":"s5","s5":"s6","s6":"s6","s7":"s4","s8":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s5","s4":"s1","s5":"s6","s6":"s6","s7":"s5","s8":"s0"},"e":{"s0":"s7","s1":"s6","s2":"s6","s3":"s6","s4":"s6","s5":"s8","s6":"s4","s7":"s2","s8":"s1"},"f":{"s0":"s0","s1":"s1","s2":"s7","s3":"s7","s4":"s3","s5":"s3","s6":"s2","s7":"s7","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s6', 's2', 's0', 's8', 's4'],
What will be the state after reading the following input: e e c | s2 | 3 | 9 | 6 | 9_6 | ( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 ) |
d7bee5cf-c317-4919-961f-eec5ab668190 | 35d4998b-79c0-4fbe-931f-fe0b3284c4fd | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s6", "s2", "s0", "s8", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s7","s1":"s8","s2":"s5","s3":"s2","s4":"s8","s5":"s8","s6":"s0","s7":"s8","s8":"s5"},"b":{"s0":"s5","s1":"s2","s2":"s0","s3":"s1","s4":"s5","s5":"s5","s6":"s4","s7":"s7","s8":"s8"},"c":{"s0":"s8","s1":"s7","s2":"s2","s3":"s6","s4":"s5","s5":"s6","s6":"s6","s7":"s4","s8":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s5","s4":"s1","s5":"s6","s6":"s6","s7":"s5","s8":"s0"},"e":{"s0":"s7","s1":"s6","s2":"s6","s3":"s6","s4":"s6","s5":"s8","s6":"s4","s7":"s2","s8":"s1"},"f":{"s0":"s0","s1":"s1","s2":"s7","s3":"s7","s4":"s3","s5":"s3","s6":"s2","s7":"s7","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s6', 's2', 's0', 's8', 's4'],
What will be the state after reading the following input: e e c e | s6 | 4 | 9 | 6 | 9_6 | ( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 ) |
c2be1a36-4928-46be-8a31-eb1144fa98fa | 35d4998b-79c0-4fbe-931f-fe0b3284c4fd | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s6", "s2", "s0", "s8", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s7","s1":"s8","s2":"s5","s3":"s2","s4":"s8","s5":"s8","s6":"s0","s7":"s8","s8":"s5"},"b":{"s0":"s5","s1":"s2","s2":"s0","s3":"s1","s4":"s5","s5":"s5","s6":"s4","s7":"s7","s8":"s8"},"c":{"s0":"s8","s1":"s7","s2":"s2","s3":"s6","s4":"s5","s5":"s6","s6":"s6","s7":"s4","s8":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s5","s4":"s1","s5":"s6","s6":"s6","s7":"s5","s8":"s0"},"e":{"s0":"s7","s1":"s6","s2":"s6","s3":"s6","s4":"s6","s5":"s8","s6":"s4","s7":"s2","s8":"s1"},"f":{"s0":"s0","s1":"s1","s2":"s7","s3":"s7","s4":"s3","s5":"s3","s6":"s2","s7":"s7","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s6', 's2', 's0', 's8', 's4'],
What will be the state after reading the following input: e e c e e | s4 | 5 | 9 | 6 | 9_6 | ( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 ) |
0cc394d2-ca12-47dd-9838-4130fdc733f1 | 35d4998b-79c0-4fbe-931f-fe0b3284c4fd | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s6", "s2", "s0", "s8", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s7","s1":"s8","s2":"s5","s3":"s2","s4":"s8","s5":"s8","s6":"s0","s7":"s8","s8":"s5"},"b":{"s0":"s5","s1":"s2","s2":"s0","s3":"s1","s4":"s5","s5":"s5","s6":"s4","s7":"s7","s8":"s8"},"c":{"s0":"s8","s1":"s7","s2":"s2","s3":"s6","s4":"s5","s5":"s6","s6":"s6","s7":"s4","s8":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s5","s4":"s1","s5":"s6","s6":"s6","s7":"s5","s8":"s0"},"e":{"s0":"s7","s1":"s6","s2":"s6","s3":"s6","s4":"s6","s5":"s8","s6":"s4","s7":"s2","s8":"s1"},"f":{"s0":"s0","s1":"s1","s2":"s7","s3":"s7","s4":"s3","s5":"s3","s6":"s2","s7":"s7","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s6', 's2', 's0', 's8', 's4'],
What will be the state after reading the following input: e e c e e d | s1 | 6 | 9 | 6 | 9_6 | ( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 ) |
ebb1515a-10b6-4812-ae24-de64036ff308 | 35d4998b-79c0-4fbe-931f-fe0b3284c4fd | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s6", "s2", "s0", "s8", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s7","s1":"s8","s2":"s5","s3":"s2","s4":"s8","s5":"s8","s6":"s0","s7":"s8","s8":"s5"},"b":{"s0":"s5","s1":"s2","s2":"s0","s3":"s1","s4":"s5","s5":"s5","s6":"s4","s7":"s7","s8":"s8"},"c":{"s0":"s8","s1":"s7","s2":"s2","s3":"s6","s4":"s5","s5":"s6","s6":"s6","s7":"s4","s8":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s5","s4":"s1","s5":"s6","s6":"s6","s7":"s5","s8":"s0"},"e":{"s0":"s7","s1":"s6","s2":"s6","s3":"s6","s4":"s6","s5":"s8","s6":"s4","s7":"s2","s8":"s1"},"f":{"s0":"s0","s1":"s1","s2":"s7","s3":"s7","s4":"s3","s5":"s3","s6":"s2","s7":"s7","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s6', 's2', 's0', 's8', 's4'],
What will be the state after reading the following input: e e c e e d a | s8 | 7 | 9 | 6 | 9_6 | ( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 ) |
7184beac-fdb7-4b7d-8900-1e8931ba67fc | 35d4998b-79c0-4fbe-931f-fe0b3284c4fd | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s6", "s2", "s0", "s8", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s7","s1":"s8","s2":"s5","s3":"s2","s4":"s8","s5":"s8","s6":"s0","s7":"s8","s8":"s5"},"b":{"s0":"s5","s1":"s2","s2":"s0","s3":"s1","s4":"s5","s5":"s5","s6":"s4","s7":"s7","s8":"s8"},"c":{"s0":"s8","s1":"s7","s2":"s2","s3":"s6","s4":"s5","s5":"s6","s6":"s6","s7":"s4","s8":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s5","s4":"s1","s5":"s6","s6":"s6","s7":"s5","s8":"s0"},"e":{"s0":"s7","s1":"s6","s2":"s6","s3":"s6","s4":"s6","s5":"s8","s6":"s4","s7":"s2","s8":"s1"},"f":{"s0":"s0","s1":"s1","s2":"s7","s3":"s7","s4":"s3","s5":"s3","s6":"s2","s7":"s7","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s6', 's2', 's0', 's8', 's4'],
What will be the state after reading the following input: e e c e e d a b | s8 | 8 | 9 | 6 | 9_6 | ( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 ) |
52afaa50-75ea-4c22-a951-fae8432c5bfe | 35d4998b-79c0-4fbe-931f-fe0b3284c4fd | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s6", "s2", "s0", "s8", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s7","s1":"s8","s2":"s5","s3":"s2","s4":"s8","s5":"s8","s6":"s0","s7":"s8","s8":"s5"},"b":{"s0":"s5","s1":"s2","s2":"s0","s3":"s1","s4":"s5","s5":"s5","s6":"s4","s7":"s7","s8":"s8"},"c":{"s0":"s8","s1":"s7","s2":"s2","s3":"s6","s4":"s5","s5":"s6","s6":"s6","s7":"s4","s8":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s5","s4":"s1","s5":"s6","s6":"s6","s7":"s5","s8":"s0"},"e":{"s0":"s7","s1":"s6","s2":"s6","s3":"s6","s4":"s6","s5":"s8","s6":"s4","s7":"s2","s8":"s1"},"f":{"s0":"s0","s1":"s1","s2":"s7","s3":"s7","s4":"s3","s5":"s3","s6":"s2","s7":"s7","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s6', 's2', 's0', 's8', 's4'],
What will be the state after reading the following input: e e c e e d a b c | s7 | 9 | 9 | 6 | 9_6 | ( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 ) |
2e493dae-78cf-489e-a47b-584e2468c8c7 | 35d4998b-79c0-4fbe-931f-fe0b3284c4fd | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s6", "s2", "s0", "s8", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s7","s1":"s8","s2":"s5","s3":"s2","s4":"s8","s5":"s8","s6":"s0","s7":"s8","s8":"s5"},"b":{"s0":"s5","s1":"s2","s2":"s0","s3":"s1","s4":"s5","s5":"s5","s6":"s4","s7":"s7","s8":"s8"},"c":{"s0":"s8","s1":"s7","s2":"s2","s3":"s6","s4":"s5","s5":"s6","s6":"s6","s7":"s4","s8":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s5","s4":"s1","s5":"s6","s6":"s6","s7":"s5","s8":"s0"},"e":{"s0":"s7","s1":"s6","s2":"s6","s3":"s6","s4":"s6","s5":"s8","s6":"s4","s7":"s2","s8":"s1"},"f":{"s0":"s0","s1":"s1","s2":"s7","s3":"s7","s4":"s3","s5":"s3","s6":"s2","s7":"s7","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s6', 's2', 's0', 's8', 's4'],
What will be the state after reading the following input: e e c e e d a b c d | s5 | 10 | 9 | 6 | 9_6 | ( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 ) |
fc3a669b-67f7-4452-bb1b-611771afde43 | 35d4998b-79c0-4fbe-931f-fe0b3284c4fd | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s6", "s2", "s0", "s8", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s7","s1":"s8","s2":"s5","s3":"s2","s4":"s8","s5":"s8","s6":"s0","s7":"s8","s8":"s5"},"b":{"s0":"s5","s1":"s2","s2":"s0","s3":"s1","s4":"s5","s5":"s5","s6":"s4","s7":"s7","s8":"s8"},"c":{"s0":"s8","s1":"s7","s2":"s2","s3":"s6","s4":"s5","s5":"s6","s6":"s6","s7":"s4","s8":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s5","s4":"s1","s5":"s6","s6":"s6","s7":"s5","s8":"s0"},"e":{"s0":"s7","s1":"s6","s2":"s6","s3":"s6","s4":"s6","s5":"s8","s6":"s4","s7":"s2","s8":"s1"},"f":{"s0":"s0","s1":"s1","s2":"s7","s3":"s7","s4":"s3","s5":"s3","s6":"s2","s7":"s7","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s6', 's2', 's0', 's8', 's4'],
What will be the state after reading the following input: e e c e e d a b c d b | s5 | 11 | 9 | 6 | 9_6 | ( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 ) |
1129baf4-3eae-4606-aa10-bf9650db9dab | 35d4998b-79c0-4fbe-931f-fe0b3284c4fd | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s6", "s2", "s0", "s8", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s7","s1":"s8","s2":"s5","s3":"s2","s4":"s8","s5":"s8","s6":"s0","s7":"s8","s8":"s5"},"b":{"s0":"s5","s1":"s2","s2":"s0","s3":"s1","s4":"s5","s5":"s5","s6":"s4","s7":"s7","s8":"s8"},"c":{"s0":"s8","s1":"s7","s2":"s2","s3":"s6","s4":"s5","s5":"s6","s6":"s6","s7":"s4","s8":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s5","s4":"s1","s5":"s6","s6":"s6","s7":"s5","s8":"s0"},"e":{"s0":"s7","s1":"s6","s2":"s6","s3":"s6","s4":"s6","s5":"s8","s6":"s4","s7":"s2","s8":"s1"},"f":{"s0":"s0","s1":"s1","s2":"s7","s3":"s7","s4":"s3","s5":"s3","s6":"s2","s7":"s7","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s6', 's2', 's0', 's8', 's4'],
What will be the state after reading the following input: e e c e e d a b c d b e | s8 | 12 | 9 | 6 | 9_6 | ( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 ) |
887ba4c6-cd10-4d66-ad2a-1915184307e8 | 35d4998b-79c0-4fbe-931f-fe0b3284c4fd | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s6", "s2", "s0", "s8", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s7","s1":"s8","s2":"s5","s3":"s2","s4":"s8","s5":"s8","s6":"s0","s7":"s8","s8":"s5"},"b":{"s0":"s5","s1":"s2","s2":"s0","s3":"s1","s4":"s5","s5":"s5","s6":"s4","s7":"s7","s8":"s8"},"c":{"s0":"s8","s1":"s7","s2":"s2","s3":"s6","s4":"s5","s5":"s6","s6":"s6","s7":"s4","s8":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s5","s4":"s1","s5":"s6","s6":"s6","s7":"s5","s8":"s0"},"e":{"s0":"s7","s1":"s6","s2":"s6","s3":"s6","s4":"s6","s5":"s8","s6":"s4","s7":"s2","s8":"s1"},"f":{"s0":"s0","s1":"s1","s2":"s7","s3":"s7","s4":"s3","s5":"s3","s6":"s2","s7":"s7","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s6', 's2', 's0', 's8', 's4'],
What will be the state after reading the following input: e e c e e d a b c d b e e | s1 | 13 | 9 | 6 | 9_6 | ( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 ) |
52159be0-5d09-4488-b707-aa69fd4531be | 35d4998b-79c0-4fbe-931f-fe0b3284c4fd | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s6", "s2", "s0", "s8", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s7","s1":"s8","s2":"s5","s3":"s2","s4":"s8","s5":"s8","s6":"s0","s7":"s8","s8":"s5"},"b":{"s0":"s5","s1":"s2","s2":"s0","s3":"s1","s4":"s5","s5":"s5","s6":"s4","s7":"s7","s8":"s8"},"c":{"s0":"s8","s1":"s7","s2":"s2","s3":"s6","s4":"s5","s5":"s6","s6":"s6","s7":"s4","s8":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s5","s4":"s1","s5":"s6","s6":"s6","s7":"s5","s8":"s0"},"e":{"s0":"s7","s1":"s6","s2":"s6","s3":"s6","s4":"s6","s5":"s8","s6":"s4","s7":"s2","s8":"s1"},"f":{"s0":"s0","s1":"s1","s2":"s7","s3":"s7","s4":"s3","s5":"s3","s6":"s2","s7":"s7","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s6', 's2', 's0', 's8', 's4'],
What will be the state after reading the following input: e e c e e d a b c d b e e b | s2 | 14 | 9 | 6 | 9_6 | ( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 ) |
12fdad43-6b44-4a95-8061-db7f029a401e | 35d4998b-79c0-4fbe-931f-fe0b3284c4fd | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s6", "s2", "s0", "s8", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s7","s1":"s8","s2":"s5","s3":"s2","s4":"s8","s5":"s8","s6":"s0","s7":"s8","s8":"s5"},"b":{"s0":"s5","s1":"s2","s2":"s0","s3":"s1","s4":"s5","s5":"s5","s6":"s4","s7":"s7","s8":"s8"},"c":{"s0":"s8","s1":"s7","s2":"s2","s3":"s6","s4":"s5","s5":"s6","s6":"s6","s7":"s4","s8":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s5","s4":"s1","s5":"s6","s6":"s6","s7":"s5","s8":"s0"},"e":{"s0":"s7","s1":"s6","s2":"s6","s3":"s6","s4":"s6","s5":"s8","s6":"s4","s7":"s2","s8":"s1"},"f":{"s0":"s0","s1":"s1","s2":"s7","s3":"s7","s4":"s3","s5":"s3","s6":"s2","s7":"s7","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s6', 's2', 's0', 's8', 's4'],
What will be the state after reading the following input: e e c e e d a b c d b e e b a | s5 | 15 | 9 | 6 | 9_6 | ( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 ) |
46adae6b-de26-4225-827e-1959f54ef397 | 35d4998b-79c0-4fbe-931f-fe0b3284c4fd | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s6", "s2", "s0", "s8", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s7","s1":"s8","s2":"s5","s3":"s2","s4":"s8","s5":"s8","s6":"s0","s7":"s8","s8":"s5"},"b":{"s0":"s5","s1":"s2","s2":"s0","s3":"s1","s4":"s5","s5":"s5","s6":"s4","s7":"s7","s8":"s8"},"c":{"s0":"s8","s1":"s7","s2":"s2","s3":"s6","s4":"s5","s5":"s6","s6":"s6","s7":"s4","s8":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s5","s4":"s1","s5":"s6","s6":"s6","s7":"s5","s8":"s0"},"e":{"s0":"s7","s1":"s6","s2":"s6","s3":"s6","s4":"s6","s5":"s8","s6":"s4","s7":"s2","s8":"s1"},"f":{"s0":"s0","s1":"s1","s2":"s7","s3":"s7","s4":"s3","s5":"s3","s6":"s2","s7":"s7","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s6', 's2', 's0', 's8', 's4'],
What will be the state after reading the following input: e e c e e d a b c d b e e b a a | s8 | 16 | 9 | 6 | 9_6 | ( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 ) |
7dd6695e-f32c-44f5-a3af-d099a9b2bd6a | 35d4998b-79c0-4fbe-931f-fe0b3284c4fd | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s6", "s2", "s0", "s8", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s7","s1":"s8","s2":"s5","s3":"s2","s4":"s8","s5":"s8","s6":"s0","s7":"s8","s8":"s5"},"b":{"s0":"s5","s1":"s2","s2":"s0","s3":"s1","s4":"s5","s5":"s5","s6":"s4","s7":"s7","s8":"s8"},"c":{"s0":"s8","s1":"s7","s2":"s2","s3":"s6","s4":"s5","s5":"s6","s6":"s6","s7":"s4","s8":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s5","s4":"s1","s5":"s6","s6":"s6","s7":"s5","s8":"s0"},"e":{"s0":"s7","s1":"s6","s2":"s6","s3":"s6","s4":"s6","s5":"s8","s6":"s4","s7":"s2","s8":"s1"},"f":{"s0":"s0","s1":"s1","s2":"s7","s3":"s7","s4":"s3","s5":"s3","s6":"s2","s7":"s7","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s6', 's2', 's0', 's8', 's4'],
What will be the state after reading the following input: e e c e e d a b c d b e e b a a e | s1 | 17 | 9 | 6 | 9_6 | ( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 ) |
c3acf4a2-9241-4078-96d9-458377f1f01c | 35d4998b-79c0-4fbe-931f-fe0b3284c4fd | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s6", "s2", "s0", "s8", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s7","s1":"s8","s2":"s5","s3":"s2","s4":"s8","s5":"s8","s6":"s0","s7":"s8","s8":"s5"},"b":{"s0":"s5","s1":"s2","s2":"s0","s3":"s1","s4":"s5","s5":"s5","s6":"s4","s7":"s7","s8":"s8"},"c":{"s0":"s8","s1":"s7","s2":"s2","s3":"s6","s4":"s5","s5":"s6","s6":"s6","s7":"s4","s8":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s5","s4":"s1","s5":"s6","s6":"s6","s7":"s5","s8":"s0"},"e":{"s0":"s7","s1":"s6","s2":"s6","s3":"s6","s4":"s6","s5":"s8","s6":"s4","s7":"s2","s8":"s1"},"f":{"s0":"s0","s1":"s1","s2":"s7","s3":"s7","s4":"s3","s5":"s3","s6":"s2","s7":"s7","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s6', 's2', 's0', 's8', 's4'],
What will be the state after reading the following input: e e c e e d a b c d b e e b a a e e | s6 | 18 | 9 | 6 | 9_6 | ( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 ) |
e0ef07eb-a9f7-478a-86e4-02481f8af529 | 35d4998b-79c0-4fbe-931f-fe0b3284c4fd | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s6", "s2", "s0", "s8", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s7","s1":"s8","s2":"s5","s3":"s2","s4":"s8","s5":"s8","s6":"s0","s7":"s8","s8":"s5"},"b":{"s0":"s5","s1":"s2","s2":"s0","s3":"s1","s4":"s5","s5":"s5","s6":"s4","s7":"s7","s8":"s8"},"c":{"s0":"s8","s1":"s7","s2":"s2","s3":"s6","s4":"s5","s5":"s6","s6":"s6","s7":"s4","s8":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s5","s4":"s1","s5":"s6","s6":"s6","s7":"s5","s8":"s0"},"e":{"s0":"s7","s1":"s6","s2":"s6","s3":"s6","s4":"s6","s5":"s8","s6":"s4","s7":"s2","s8":"s1"},"f":{"s0":"s0","s1":"s1","s2":"s7","s3":"s7","s4":"s3","s5":"s3","s6":"s2","s7":"s7","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s6', 's2', 's0', 's8', 's4'],
What will be the state after reading the following input: e e c e e d a b c d b e e b a a e e c | s6 | 19 | 9 | 6 | 9_6 | ( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 ) |
4f59974e-1965-4eb8-87f2-007fbd4428c9 | 35d4998b-79c0-4fbe-931f-fe0b3284c4fd | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s6", "s2", "s0", "s8", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s7","s1":"s8","s2":"s5","s3":"s2","s4":"s8","s5":"s8","s6":"s0","s7":"s8","s8":"s5"},"b":{"s0":"s5","s1":"s2","s2":"s0","s3":"s1","s4":"s5","s5":"s5","s6":"s4","s7":"s7","s8":"s8"},"c":{"s0":"s8","s1":"s7","s2":"s2","s3":"s6","s4":"s5","s5":"s6","s6":"s6","s7":"s4","s8":"s7"},"d":{"s0":"s7","s1":"s3","s2":"s1","s3":"s5","s4":"s1","s5":"s6","s6":"s6","s7":"s5","s8":"s0"},"e":{"s0":"s7","s1":"s6","s2":"s6","s3":"s6","s4":"s6","s5":"s8","s6":"s4","s7":"s2","s8":"s1"},"f":{"s0":"s0","s1":"s1","s2":"s7","s3":"s7","s4":"s3","s5":"s3","s6":"s2","s7":"s7","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s6', 's2', 's0', 's8', 's4'],
What will be the state after reading the following input: e e c e e d a b c d b e e b a a e e c b | s4 | 20 | 9 | 6 | 9_6 | ( s0 , a , s7 )
( s1 , a , s8 )
( s2 , a , s5 )
( s3 , a , s2 )
( s4 , a , s8 )
( s5 , a , s8 )
( s6 , a , s0 )
( s7 , a , s8 )
( s8 , a , s5 )
( s0 , b , s5 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s1 )
( s4 , b , s5 )
( s5 , b , s5 )
( s6 , b , s4 )
( s7 , b , s7 )
( s8 , b , s8 )
( s0 , c , s8 )
( s1 , c , s7 )
( s2 , c , s2 )
( s3 , c , s6 )
( s4 , c , s5 )
( s5 , c , s6 )
( s6 , c , s6 )
( s7 , c , s4 )
( s8 , c , s7 )
( s0 , d , s7 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s5 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s6 )
( s7 , d , s5 )
( s8 , d , s0 )
( s0 , e , s7 )
( s1 , e , s6 )
( s2 , e , s6 )
( s3 , e , s6 )
( s4 , e , s6 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s1 )
( s0 , f , s0 )
( s1 , f , s1 )
( s2 , f , s7 )
( s3 , f , s7 )
( s4 , f , s3 )
( s5 , f , s3 )
( s6 , f , s2 )
( s7 , f , s7 )
( s8 , f , s4 ) |
580fe9fa-7068-4f69-9904-917ee36f21b5 | 396e5d0e-0140-4d8f-8252-4cc911c82720 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s0", "s3", "s1", "s5", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s4","s1":"s8","s2":"s7","s3":"s0","s4":"s2","s5":"s5","s6":"s8","s7":"s6","s8":"s3"},"b":{"s0":"s7","s1":"s5","s2":"s4","s3":"s6","s4":"s7","s5":"s8","s6":"s0","s7":"s4","s8":"s4"},"c":{"s0":"s0","s1":"s3","s2":"s3","s3":"s5","s4":"s6","s5":"s7","s6":"s4","s7":"s4","s8":"s0"},"d":{"s0":"s0","s1":"s8","s2":"s2","s3":"s4","s4":"s1","s5":"s5","s6":"s0","s7":"s7","s8":"s5"},"e":{"s0":"s8","s1":"s2","s2":"s4","s3":"s3","s4":"s4","s5":"s7","s6":"s6","s7":"s3","s8":"s7"}} | Given the following FSM transition rules:
( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 )
With the initial state: s0, and accepting states: ['s2', 's0', 's3', 's1', 's5', 's4'],
What will be the state after reading the following input: e | s8 | 1 | 9 | 5 | 9_5 | ( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 ) |
494e5fb0-7be6-4b9e-805f-05521c0366cf | 396e5d0e-0140-4d8f-8252-4cc911c82720 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s0", "s3", "s1", "s5", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s4","s1":"s8","s2":"s7","s3":"s0","s4":"s2","s5":"s5","s6":"s8","s7":"s6","s8":"s3"},"b":{"s0":"s7","s1":"s5","s2":"s4","s3":"s6","s4":"s7","s5":"s8","s6":"s0","s7":"s4","s8":"s4"},"c":{"s0":"s0","s1":"s3","s2":"s3","s3":"s5","s4":"s6","s5":"s7","s6":"s4","s7":"s4","s8":"s0"},"d":{"s0":"s0","s1":"s8","s2":"s2","s3":"s4","s4":"s1","s5":"s5","s6":"s0","s7":"s7","s8":"s5"},"e":{"s0":"s8","s1":"s2","s2":"s4","s3":"s3","s4":"s4","s5":"s7","s6":"s6","s7":"s3","s8":"s7"}} | Given the following FSM transition rules:
( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 )
With the initial state: s0, and accepting states: ['s2', 's0', 's3', 's1', 's5', 's4'],
What will be the state after reading the following input: e c | s0 | 2 | 9 | 5 | 9_5 | ( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 ) |
15827296-c4a2-4a4e-8531-fb436d4c0a42 | 396e5d0e-0140-4d8f-8252-4cc911c82720 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s0", "s3", "s1", "s5", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s4","s1":"s8","s2":"s7","s3":"s0","s4":"s2","s5":"s5","s6":"s8","s7":"s6","s8":"s3"},"b":{"s0":"s7","s1":"s5","s2":"s4","s3":"s6","s4":"s7","s5":"s8","s6":"s0","s7":"s4","s8":"s4"},"c":{"s0":"s0","s1":"s3","s2":"s3","s3":"s5","s4":"s6","s5":"s7","s6":"s4","s7":"s4","s8":"s0"},"d":{"s0":"s0","s1":"s8","s2":"s2","s3":"s4","s4":"s1","s5":"s5","s6":"s0","s7":"s7","s8":"s5"},"e":{"s0":"s8","s1":"s2","s2":"s4","s3":"s3","s4":"s4","s5":"s7","s6":"s6","s7":"s3","s8":"s7"}} | Given the following FSM transition rules:
( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 )
With the initial state: s0, and accepting states: ['s2', 's0', 's3', 's1', 's5', 's4'],
What will be the state after reading the following input: e c a | s4 | 3 | 9 | 5 | 9_5 | ( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 ) |
d8e84400-9023-480f-8147-e791119cff7b | 396e5d0e-0140-4d8f-8252-4cc911c82720 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s0", "s3", "s1", "s5", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s4","s1":"s8","s2":"s7","s3":"s0","s4":"s2","s5":"s5","s6":"s8","s7":"s6","s8":"s3"},"b":{"s0":"s7","s1":"s5","s2":"s4","s3":"s6","s4":"s7","s5":"s8","s6":"s0","s7":"s4","s8":"s4"},"c":{"s0":"s0","s1":"s3","s2":"s3","s3":"s5","s4":"s6","s5":"s7","s6":"s4","s7":"s4","s8":"s0"},"d":{"s0":"s0","s1":"s8","s2":"s2","s3":"s4","s4":"s1","s5":"s5","s6":"s0","s7":"s7","s8":"s5"},"e":{"s0":"s8","s1":"s2","s2":"s4","s3":"s3","s4":"s4","s5":"s7","s6":"s6","s7":"s3","s8":"s7"}} | Given the following FSM transition rules:
( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 )
With the initial state: s0, and accepting states: ['s2', 's0', 's3', 's1', 's5', 's4'],
What will be the state after reading the following input: e c a a | s2 | 4 | 9 | 5 | 9_5 | ( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 ) |
e84f56bc-624b-4beb-841e-6ce2f2d55736 | 396e5d0e-0140-4d8f-8252-4cc911c82720 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s0", "s3", "s1", "s5", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s4","s1":"s8","s2":"s7","s3":"s0","s4":"s2","s5":"s5","s6":"s8","s7":"s6","s8":"s3"},"b":{"s0":"s7","s1":"s5","s2":"s4","s3":"s6","s4":"s7","s5":"s8","s6":"s0","s7":"s4","s8":"s4"},"c":{"s0":"s0","s1":"s3","s2":"s3","s3":"s5","s4":"s6","s5":"s7","s6":"s4","s7":"s4","s8":"s0"},"d":{"s0":"s0","s1":"s8","s2":"s2","s3":"s4","s4":"s1","s5":"s5","s6":"s0","s7":"s7","s8":"s5"},"e":{"s0":"s8","s1":"s2","s2":"s4","s3":"s3","s4":"s4","s5":"s7","s6":"s6","s7":"s3","s8":"s7"}} | Given the following FSM transition rules:
( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 )
With the initial state: s0, and accepting states: ['s2', 's0', 's3', 's1', 's5', 's4'],
What will be the state after reading the following input: e c a a c | s3 | 5 | 9 | 5 | 9_5 | ( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 ) |
bda8a4b4-211d-4cfa-a058-9f009b1d0369 | 396e5d0e-0140-4d8f-8252-4cc911c82720 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s0", "s3", "s1", "s5", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s4","s1":"s8","s2":"s7","s3":"s0","s4":"s2","s5":"s5","s6":"s8","s7":"s6","s8":"s3"},"b":{"s0":"s7","s1":"s5","s2":"s4","s3":"s6","s4":"s7","s5":"s8","s6":"s0","s7":"s4","s8":"s4"},"c":{"s0":"s0","s1":"s3","s2":"s3","s3":"s5","s4":"s6","s5":"s7","s6":"s4","s7":"s4","s8":"s0"},"d":{"s0":"s0","s1":"s8","s2":"s2","s3":"s4","s4":"s1","s5":"s5","s6":"s0","s7":"s7","s8":"s5"},"e":{"s0":"s8","s1":"s2","s2":"s4","s3":"s3","s4":"s4","s5":"s7","s6":"s6","s7":"s3","s8":"s7"}} | Given the following FSM transition rules:
( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 )
With the initial state: s0, and accepting states: ['s2', 's0', 's3', 's1', 's5', 's4'],
What will be the state after reading the following input: e c a a c a | s0 | 6 | 9 | 5 | 9_5 | ( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 ) |
e4b9440f-1c32-4e56-87af-b39146db0470 | 396e5d0e-0140-4d8f-8252-4cc911c82720 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s0", "s3", "s1", "s5", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s4","s1":"s8","s2":"s7","s3":"s0","s4":"s2","s5":"s5","s6":"s8","s7":"s6","s8":"s3"},"b":{"s0":"s7","s1":"s5","s2":"s4","s3":"s6","s4":"s7","s5":"s8","s6":"s0","s7":"s4","s8":"s4"},"c":{"s0":"s0","s1":"s3","s2":"s3","s3":"s5","s4":"s6","s5":"s7","s6":"s4","s7":"s4","s8":"s0"},"d":{"s0":"s0","s1":"s8","s2":"s2","s3":"s4","s4":"s1","s5":"s5","s6":"s0","s7":"s7","s8":"s5"},"e":{"s0":"s8","s1":"s2","s2":"s4","s3":"s3","s4":"s4","s5":"s7","s6":"s6","s7":"s3","s8":"s7"}} | Given the following FSM transition rules:
( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 )
With the initial state: s0, and accepting states: ['s2', 's0', 's3', 's1', 's5', 's4'],
What will be the state after reading the following input: e c a a c a b | s7 | 7 | 9 | 5 | 9_5 | ( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 ) |
e90b90c8-e8fa-4d6f-824b-dd3146fcd0c6 | 396e5d0e-0140-4d8f-8252-4cc911c82720 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s0", "s3", "s1", "s5", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s4","s1":"s8","s2":"s7","s3":"s0","s4":"s2","s5":"s5","s6":"s8","s7":"s6","s8":"s3"},"b":{"s0":"s7","s1":"s5","s2":"s4","s3":"s6","s4":"s7","s5":"s8","s6":"s0","s7":"s4","s8":"s4"},"c":{"s0":"s0","s1":"s3","s2":"s3","s3":"s5","s4":"s6","s5":"s7","s6":"s4","s7":"s4","s8":"s0"},"d":{"s0":"s0","s1":"s8","s2":"s2","s3":"s4","s4":"s1","s5":"s5","s6":"s0","s7":"s7","s8":"s5"},"e":{"s0":"s8","s1":"s2","s2":"s4","s3":"s3","s4":"s4","s5":"s7","s6":"s6","s7":"s3","s8":"s7"}} | Given the following FSM transition rules:
( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 )
With the initial state: s0, and accepting states: ['s2', 's0', 's3', 's1', 's5', 's4'],
What will be the state after reading the following input: e c a a c a b d | s7 | 8 | 9 | 5 | 9_5 | ( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 ) |
c32199d6-cec4-473c-9016-645b771df530 | 396e5d0e-0140-4d8f-8252-4cc911c82720 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s0", "s3", "s1", "s5", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s4","s1":"s8","s2":"s7","s3":"s0","s4":"s2","s5":"s5","s6":"s8","s7":"s6","s8":"s3"},"b":{"s0":"s7","s1":"s5","s2":"s4","s3":"s6","s4":"s7","s5":"s8","s6":"s0","s7":"s4","s8":"s4"},"c":{"s0":"s0","s1":"s3","s2":"s3","s3":"s5","s4":"s6","s5":"s7","s6":"s4","s7":"s4","s8":"s0"},"d":{"s0":"s0","s1":"s8","s2":"s2","s3":"s4","s4":"s1","s5":"s5","s6":"s0","s7":"s7","s8":"s5"},"e":{"s0":"s8","s1":"s2","s2":"s4","s3":"s3","s4":"s4","s5":"s7","s6":"s6","s7":"s3","s8":"s7"}} | Given the following FSM transition rules:
( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 )
With the initial state: s0, and accepting states: ['s2', 's0', 's3', 's1', 's5', 's4'],
What will be the state after reading the following input: e c a a c a b d d | s7 | 9 | 9 | 5 | 9_5 | ( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 ) |
17073ad7-588c-4727-a2ca-2db8018c225f | 396e5d0e-0140-4d8f-8252-4cc911c82720 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s0", "s3", "s1", "s5", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s4","s1":"s8","s2":"s7","s3":"s0","s4":"s2","s5":"s5","s6":"s8","s7":"s6","s8":"s3"},"b":{"s0":"s7","s1":"s5","s2":"s4","s3":"s6","s4":"s7","s5":"s8","s6":"s0","s7":"s4","s8":"s4"},"c":{"s0":"s0","s1":"s3","s2":"s3","s3":"s5","s4":"s6","s5":"s7","s6":"s4","s7":"s4","s8":"s0"},"d":{"s0":"s0","s1":"s8","s2":"s2","s3":"s4","s4":"s1","s5":"s5","s6":"s0","s7":"s7","s8":"s5"},"e":{"s0":"s8","s1":"s2","s2":"s4","s3":"s3","s4":"s4","s5":"s7","s6":"s6","s7":"s3","s8":"s7"}} | Given the following FSM transition rules:
( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 )
With the initial state: s0, and accepting states: ['s2', 's0', 's3', 's1', 's5', 's4'],
What will be the state after reading the following input: e c a a c a b d d d | s7 | 10 | 9 | 5 | 9_5 | ( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 ) |
c6afa6e5-ed54-4679-9d4a-df14ac753889 | 396e5d0e-0140-4d8f-8252-4cc911c82720 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s0", "s3", "s1", "s5", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s4","s1":"s8","s2":"s7","s3":"s0","s4":"s2","s5":"s5","s6":"s8","s7":"s6","s8":"s3"},"b":{"s0":"s7","s1":"s5","s2":"s4","s3":"s6","s4":"s7","s5":"s8","s6":"s0","s7":"s4","s8":"s4"},"c":{"s0":"s0","s1":"s3","s2":"s3","s3":"s5","s4":"s6","s5":"s7","s6":"s4","s7":"s4","s8":"s0"},"d":{"s0":"s0","s1":"s8","s2":"s2","s3":"s4","s4":"s1","s5":"s5","s6":"s0","s7":"s7","s8":"s5"},"e":{"s0":"s8","s1":"s2","s2":"s4","s3":"s3","s4":"s4","s5":"s7","s6":"s6","s7":"s3","s8":"s7"}} | Given the following FSM transition rules:
( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 )
With the initial state: s0, and accepting states: ['s2', 's0', 's3', 's1', 's5', 's4'],
What will be the state after reading the following input: e c a a c a b d d d c | s4 | 11 | 9 | 5 | 9_5 | ( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 ) |
d0136f4f-1c12-4928-849f-4d44d6096549 | 396e5d0e-0140-4d8f-8252-4cc911c82720 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s0", "s3", "s1", "s5", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s4","s1":"s8","s2":"s7","s3":"s0","s4":"s2","s5":"s5","s6":"s8","s7":"s6","s8":"s3"},"b":{"s0":"s7","s1":"s5","s2":"s4","s3":"s6","s4":"s7","s5":"s8","s6":"s0","s7":"s4","s8":"s4"},"c":{"s0":"s0","s1":"s3","s2":"s3","s3":"s5","s4":"s6","s5":"s7","s6":"s4","s7":"s4","s8":"s0"},"d":{"s0":"s0","s1":"s8","s2":"s2","s3":"s4","s4":"s1","s5":"s5","s6":"s0","s7":"s7","s8":"s5"},"e":{"s0":"s8","s1":"s2","s2":"s4","s3":"s3","s4":"s4","s5":"s7","s6":"s6","s7":"s3","s8":"s7"}} | Given the following FSM transition rules:
( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 )
With the initial state: s0, and accepting states: ['s2', 's0', 's3', 's1', 's5', 's4'],
What will be the state after reading the following input: e c a a c a b d d d c a | s2 | 12 | 9 | 5 | 9_5 | ( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 ) |
c5006e6a-de64-4802-8fce-36323e885abf | 396e5d0e-0140-4d8f-8252-4cc911c82720 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s0", "s3", "s1", "s5", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s4","s1":"s8","s2":"s7","s3":"s0","s4":"s2","s5":"s5","s6":"s8","s7":"s6","s8":"s3"},"b":{"s0":"s7","s1":"s5","s2":"s4","s3":"s6","s4":"s7","s5":"s8","s6":"s0","s7":"s4","s8":"s4"},"c":{"s0":"s0","s1":"s3","s2":"s3","s3":"s5","s4":"s6","s5":"s7","s6":"s4","s7":"s4","s8":"s0"},"d":{"s0":"s0","s1":"s8","s2":"s2","s3":"s4","s4":"s1","s5":"s5","s6":"s0","s7":"s7","s8":"s5"},"e":{"s0":"s8","s1":"s2","s2":"s4","s3":"s3","s4":"s4","s5":"s7","s6":"s6","s7":"s3","s8":"s7"}} | Given the following FSM transition rules:
( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 )
With the initial state: s0, and accepting states: ['s2', 's0', 's3', 's1', 's5', 's4'],
What will be the state after reading the following input: e c a a c a b d d d c a e | s4 | 13 | 9 | 5 | 9_5 | ( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 ) |
1fc87c0c-be3c-47f4-92fa-4f8618e8e698 | 396e5d0e-0140-4d8f-8252-4cc911c82720 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s0", "s3", "s1", "s5", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s4","s1":"s8","s2":"s7","s3":"s0","s4":"s2","s5":"s5","s6":"s8","s7":"s6","s8":"s3"},"b":{"s0":"s7","s1":"s5","s2":"s4","s3":"s6","s4":"s7","s5":"s8","s6":"s0","s7":"s4","s8":"s4"},"c":{"s0":"s0","s1":"s3","s2":"s3","s3":"s5","s4":"s6","s5":"s7","s6":"s4","s7":"s4","s8":"s0"},"d":{"s0":"s0","s1":"s8","s2":"s2","s3":"s4","s4":"s1","s5":"s5","s6":"s0","s7":"s7","s8":"s5"},"e":{"s0":"s8","s1":"s2","s2":"s4","s3":"s3","s4":"s4","s5":"s7","s6":"s6","s7":"s3","s8":"s7"}} | Given the following FSM transition rules:
( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 )
With the initial state: s0, and accepting states: ['s2', 's0', 's3', 's1', 's5', 's4'],
What will be the state after reading the following input: e c a a c a b d d d c a e c | s6 | 14 | 9 | 5 | 9_5 | ( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 ) |
7b8bdab8-398b-4ebb-b20b-131fb46d6c4a | 396e5d0e-0140-4d8f-8252-4cc911c82720 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s0", "s3", "s1", "s5", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s4","s1":"s8","s2":"s7","s3":"s0","s4":"s2","s5":"s5","s6":"s8","s7":"s6","s8":"s3"},"b":{"s0":"s7","s1":"s5","s2":"s4","s3":"s6","s4":"s7","s5":"s8","s6":"s0","s7":"s4","s8":"s4"},"c":{"s0":"s0","s1":"s3","s2":"s3","s3":"s5","s4":"s6","s5":"s7","s6":"s4","s7":"s4","s8":"s0"},"d":{"s0":"s0","s1":"s8","s2":"s2","s3":"s4","s4":"s1","s5":"s5","s6":"s0","s7":"s7","s8":"s5"},"e":{"s0":"s8","s1":"s2","s2":"s4","s3":"s3","s4":"s4","s5":"s7","s6":"s6","s7":"s3","s8":"s7"}} | Given the following FSM transition rules:
( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 )
With the initial state: s0, and accepting states: ['s2', 's0', 's3', 's1', 's5', 's4'],
What will be the state after reading the following input: e c a a c a b d d d c a e c b | s0 | 15 | 9 | 5 | 9_5 | ( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 ) |
1b9ee33b-a381-4527-a8c7-23b01d0fb492 | 396e5d0e-0140-4d8f-8252-4cc911c82720 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s0", "s3", "s1", "s5", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s4","s1":"s8","s2":"s7","s3":"s0","s4":"s2","s5":"s5","s6":"s8","s7":"s6","s8":"s3"},"b":{"s0":"s7","s1":"s5","s2":"s4","s3":"s6","s4":"s7","s5":"s8","s6":"s0","s7":"s4","s8":"s4"},"c":{"s0":"s0","s1":"s3","s2":"s3","s3":"s5","s4":"s6","s5":"s7","s6":"s4","s7":"s4","s8":"s0"},"d":{"s0":"s0","s1":"s8","s2":"s2","s3":"s4","s4":"s1","s5":"s5","s6":"s0","s7":"s7","s8":"s5"},"e":{"s0":"s8","s1":"s2","s2":"s4","s3":"s3","s4":"s4","s5":"s7","s6":"s6","s7":"s3","s8":"s7"}} | Given the following FSM transition rules:
( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 )
With the initial state: s0, and accepting states: ['s2', 's0', 's3', 's1', 's5', 's4'],
What will be the state after reading the following input: e c a a c a b d d d c a e c b d | s0 | 16 | 9 | 5 | 9_5 | ( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 ) |
badc9069-2afd-4f1a-ae60-14dfdd5b110a | 396e5d0e-0140-4d8f-8252-4cc911c82720 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s0", "s3", "s1", "s5", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s4","s1":"s8","s2":"s7","s3":"s0","s4":"s2","s5":"s5","s6":"s8","s7":"s6","s8":"s3"},"b":{"s0":"s7","s1":"s5","s2":"s4","s3":"s6","s4":"s7","s5":"s8","s6":"s0","s7":"s4","s8":"s4"},"c":{"s0":"s0","s1":"s3","s2":"s3","s3":"s5","s4":"s6","s5":"s7","s6":"s4","s7":"s4","s8":"s0"},"d":{"s0":"s0","s1":"s8","s2":"s2","s3":"s4","s4":"s1","s5":"s5","s6":"s0","s7":"s7","s8":"s5"},"e":{"s0":"s8","s1":"s2","s2":"s4","s3":"s3","s4":"s4","s5":"s7","s6":"s6","s7":"s3","s8":"s7"}} | Given the following FSM transition rules:
( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 )
With the initial state: s0, and accepting states: ['s2', 's0', 's3', 's1', 's5', 's4'],
What will be the state after reading the following input: e c a a c a b d d d c a e c b d a | s4 | 17 | 9 | 5 | 9_5 | ( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 ) |
b713cf53-32c6-49ec-92f2-1d0fa9d4d347 | 396e5d0e-0140-4d8f-8252-4cc911c82720 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s0", "s3", "s1", "s5", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s4","s1":"s8","s2":"s7","s3":"s0","s4":"s2","s5":"s5","s6":"s8","s7":"s6","s8":"s3"},"b":{"s0":"s7","s1":"s5","s2":"s4","s3":"s6","s4":"s7","s5":"s8","s6":"s0","s7":"s4","s8":"s4"},"c":{"s0":"s0","s1":"s3","s2":"s3","s3":"s5","s4":"s6","s5":"s7","s6":"s4","s7":"s4","s8":"s0"},"d":{"s0":"s0","s1":"s8","s2":"s2","s3":"s4","s4":"s1","s5":"s5","s6":"s0","s7":"s7","s8":"s5"},"e":{"s0":"s8","s1":"s2","s2":"s4","s3":"s3","s4":"s4","s5":"s7","s6":"s6","s7":"s3","s8":"s7"}} | Given the following FSM transition rules:
( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 )
With the initial state: s0, and accepting states: ['s2', 's0', 's3', 's1', 's5', 's4'],
What will be the state after reading the following input: e c a a c a b d d d c a e c b d a c | s6 | 18 | 9 | 5 | 9_5 | ( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 ) |
dc47d12f-97ba-4418-982f-e80f5b41ecdd | 396e5d0e-0140-4d8f-8252-4cc911c82720 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s0", "s3", "s1", "s5", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s4","s1":"s8","s2":"s7","s3":"s0","s4":"s2","s5":"s5","s6":"s8","s7":"s6","s8":"s3"},"b":{"s0":"s7","s1":"s5","s2":"s4","s3":"s6","s4":"s7","s5":"s8","s6":"s0","s7":"s4","s8":"s4"},"c":{"s0":"s0","s1":"s3","s2":"s3","s3":"s5","s4":"s6","s5":"s7","s6":"s4","s7":"s4","s8":"s0"},"d":{"s0":"s0","s1":"s8","s2":"s2","s3":"s4","s4":"s1","s5":"s5","s6":"s0","s7":"s7","s8":"s5"},"e":{"s0":"s8","s1":"s2","s2":"s4","s3":"s3","s4":"s4","s5":"s7","s6":"s6","s7":"s3","s8":"s7"}} | Given the following FSM transition rules:
( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 )
With the initial state: s0, and accepting states: ['s2', 's0', 's3', 's1', 's5', 's4'],
What will be the state after reading the following input: e c a a c a b d d d c a e c b d a c d | s0 | 19 | 9 | 5 | 9_5 | ( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 ) |
4b3977ba-0b42-4ed6-a4d8-e642a6b7fd6a | 396e5d0e-0140-4d8f-8252-4cc911c82720 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s0", "s3", "s1", "s5", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s4","s1":"s8","s2":"s7","s3":"s0","s4":"s2","s5":"s5","s6":"s8","s7":"s6","s8":"s3"},"b":{"s0":"s7","s1":"s5","s2":"s4","s3":"s6","s4":"s7","s5":"s8","s6":"s0","s7":"s4","s8":"s4"},"c":{"s0":"s0","s1":"s3","s2":"s3","s3":"s5","s4":"s6","s5":"s7","s6":"s4","s7":"s4","s8":"s0"},"d":{"s0":"s0","s1":"s8","s2":"s2","s3":"s4","s4":"s1","s5":"s5","s6":"s0","s7":"s7","s8":"s5"},"e":{"s0":"s8","s1":"s2","s2":"s4","s3":"s3","s4":"s4","s5":"s7","s6":"s6","s7":"s3","s8":"s7"}} | Given the following FSM transition rules:
( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 )
With the initial state: s0, and accepting states: ['s2', 's0', 's3', 's1', 's5', 's4'],
What will be the state after reading the following input: e c a a c a b d d d c a e c b d a c d c | s0 | 20 | 9 | 5 | 9_5 | ( s0 , a , s4 )
( s1 , a , s8 )
( s2 , a , s7 )
( s3 , a , s0 )
( s4 , a , s2 )
( s5 , a , s5 )
( s6 , a , s8 )
( s7 , a , s6 )
( s8 , a , s3 )
( s0 , b , s7 )
( s1 , b , s5 )
( s2 , b , s4 )
( s3 , b , s6 )
( s4 , b , s7 )
( s5 , b , s8 )
( s6 , b , s0 )
( s7 , b , s4 )
( s8 , b , s4 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s5 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s4 )
( s7 , c , s4 )
( s8 , c , s0 )
( s0 , d , s0 )
( s1 , d , s8 )
( s2 , d , s2 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s5 )
( s6 , d , s0 )
( s7 , d , s7 )
( s8 , d , s5 )
( s0 , e , s8 )
( s1 , e , s2 )
( s2 , e , s4 )
( s3 , e , s3 )
( s4 , e , s4 )
( s5 , e , s7 )
( s6 , e , s6 )
( s7 , e , s3 )
( s8 , e , s7 ) |
6e6adde3-3291-4333-9432-df2041345805 | 80e6f2de-d1b1-48fe-a87b-db996f11e043 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s6", "s4", "s3", "s2", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s1"]}]} | 4 | {"a":{"s0":"s1","s1":"s8","s2":"s2","s3":"s7","s4":"s6","s5":"s6","s6":"s6","s7":"s2","s8":"s1"},"b":{"s0":"s3","s1":"s2","s2":"s4","s3":"s2","s4":"s8","s5":"s4","s6":"s8","s7":"s2","s8":"s5"},"c":{"s0":"s8","s1":"s8","s2":"s4","s3":"s7","s4":"s7","s5":"s7","s6":"s7","s7":"s8","s8":"s3"},"d":{"s0":"s5","s1":"s4","s2":"s0","s3":"s8","s4":"s5","s5":"s2","s6":"s8","s7":"s7","s8":"s3"},"e":{"s0":"s2","s1":"s3","s2":"s5","s3":"s7","s4":"s5","s5":"s6","s6":"s5","s7":"s3","s8":"s1"},"f":{"s0":"s3","s1":"s5","s2":"s0","s3":"s7","s4":"s6","s5":"s5","s6":"s1","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 )
With the initial state: s0, and accepting states: ['s5', 's7', 's6', 's4', 's3', 's2', 's0'],
What will be the state after reading the following input: a | s1 | 1 | 9 | 6 | 9_6 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 ) |
cfe5e32a-7649-448e-afd6-de9871e9d8b6 | 80e6f2de-d1b1-48fe-a87b-db996f11e043 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s6", "s4", "s3", "s2", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s1"]}]} | 4 | {"a":{"s0":"s1","s1":"s8","s2":"s2","s3":"s7","s4":"s6","s5":"s6","s6":"s6","s7":"s2","s8":"s1"},"b":{"s0":"s3","s1":"s2","s2":"s4","s3":"s2","s4":"s8","s5":"s4","s6":"s8","s7":"s2","s8":"s5"},"c":{"s0":"s8","s1":"s8","s2":"s4","s3":"s7","s4":"s7","s5":"s7","s6":"s7","s7":"s8","s8":"s3"},"d":{"s0":"s5","s1":"s4","s2":"s0","s3":"s8","s4":"s5","s5":"s2","s6":"s8","s7":"s7","s8":"s3"},"e":{"s0":"s2","s1":"s3","s2":"s5","s3":"s7","s4":"s5","s5":"s6","s6":"s5","s7":"s3","s8":"s1"},"f":{"s0":"s3","s1":"s5","s2":"s0","s3":"s7","s4":"s6","s5":"s5","s6":"s1","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 )
With the initial state: s0, and accepting states: ['s5', 's7', 's6', 's4', 's3', 's2', 's0'],
What will be the state after reading the following input: a b | s2 | 2 | 9 | 6 | 9_6 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 ) |
4d3e8d3b-a6a5-4d96-9690-755b2f0e09e9 | 80e6f2de-d1b1-48fe-a87b-db996f11e043 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s6", "s4", "s3", "s2", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s1"]}]} | 4 | {"a":{"s0":"s1","s1":"s8","s2":"s2","s3":"s7","s4":"s6","s5":"s6","s6":"s6","s7":"s2","s8":"s1"},"b":{"s0":"s3","s1":"s2","s2":"s4","s3":"s2","s4":"s8","s5":"s4","s6":"s8","s7":"s2","s8":"s5"},"c":{"s0":"s8","s1":"s8","s2":"s4","s3":"s7","s4":"s7","s5":"s7","s6":"s7","s7":"s8","s8":"s3"},"d":{"s0":"s5","s1":"s4","s2":"s0","s3":"s8","s4":"s5","s5":"s2","s6":"s8","s7":"s7","s8":"s3"},"e":{"s0":"s2","s1":"s3","s2":"s5","s3":"s7","s4":"s5","s5":"s6","s6":"s5","s7":"s3","s8":"s1"},"f":{"s0":"s3","s1":"s5","s2":"s0","s3":"s7","s4":"s6","s5":"s5","s6":"s1","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 )
With the initial state: s0, and accepting states: ['s5', 's7', 's6', 's4', 's3', 's2', 's0'],
What will be the state after reading the following input: a b d | s0 | 3 | 9 | 6 | 9_6 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 ) |
80bd5b81-7cd7-4024-8f7b-e67baf916009 | 80e6f2de-d1b1-48fe-a87b-db996f11e043 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s6", "s4", "s3", "s2", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s1"]}]} | 4 | {"a":{"s0":"s1","s1":"s8","s2":"s2","s3":"s7","s4":"s6","s5":"s6","s6":"s6","s7":"s2","s8":"s1"},"b":{"s0":"s3","s1":"s2","s2":"s4","s3":"s2","s4":"s8","s5":"s4","s6":"s8","s7":"s2","s8":"s5"},"c":{"s0":"s8","s1":"s8","s2":"s4","s3":"s7","s4":"s7","s5":"s7","s6":"s7","s7":"s8","s8":"s3"},"d":{"s0":"s5","s1":"s4","s2":"s0","s3":"s8","s4":"s5","s5":"s2","s6":"s8","s7":"s7","s8":"s3"},"e":{"s0":"s2","s1":"s3","s2":"s5","s3":"s7","s4":"s5","s5":"s6","s6":"s5","s7":"s3","s8":"s1"},"f":{"s0":"s3","s1":"s5","s2":"s0","s3":"s7","s4":"s6","s5":"s5","s6":"s1","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 )
With the initial state: s0, and accepting states: ['s5', 's7', 's6', 's4', 's3', 's2', 's0'],
What will be the state after reading the following input: a b d b | s3 | 4 | 9 | 6 | 9_6 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 ) |
bc191b2d-d8db-45b4-9eff-e3cd9085a40e | 80e6f2de-d1b1-48fe-a87b-db996f11e043 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s6", "s4", "s3", "s2", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s1"]}]} | 4 | {"a":{"s0":"s1","s1":"s8","s2":"s2","s3":"s7","s4":"s6","s5":"s6","s6":"s6","s7":"s2","s8":"s1"},"b":{"s0":"s3","s1":"s2","s2":"s4","s3":"s2","s4":"s8","s5":"s4","s6":"s8","s7":"s2","s8":"s5"},"c":{"s0":"s8","s1":"s8","s2":"s4","s3":"s7","s4":"s7","s5":"s7","s6":"s7","s7":"s8","s8":"s3"},"d":{"s0":"s5","s1":"s4","s2":"s0","s3":"s8","s4":"s5","s5":"s2","s6":"s8","s7":"s7","s8":"s3"},"e":{"s0":"s2","s1":"s3","s2":"s5","s3":"s7","s4":"s5","s5":"s6","s6":"s5","s7":"s3","s8":"s1"},"f":{"s0":"s3","s1":"s5","s2":"s0","s3":"s7","s4":"s6","s5":"s5","s6":"s1","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 )
With the initial state: s0, and accepting states: ['s5', 's7', 's6', 's4', 's3', 's2', 's0'],
What will be the state after reading the following input: a b d b c | s7 | 5 | 9 | 6 | 9_6 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 ) |
ab68e069-bf29-43d2-8caa-527e18d15620 | 80e6f2de-d1b1-48fe-a87b-db996f11e043 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s6", "s4", "s3", "s2", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s1"]}]} | 4 | {"a":{"s0":"s1","s1":"s8","s2":"s2","s3":"s7","s4":"s6","s5":"s6","s6":"s6","s7":"s2","s8":"s1"},"b":{"s0":"s3","s1":"s2","s2":"s4","s3":"s2","s4":"s8","s5":"s4","s6":"s8","s7":"s2","s8":"s5"},"c":{"s0":"s8","s1":"s8","s2":"s4","s3":"s7","s4":"s7","s5":"s7","s6":"s7","s7":"s8","s8":"s3"},"d":{"s0":"s5","s1":"s4","s2":"s0","s3":"s8","s4":"s5","s5":"s2","s6":"s8","s7":"s7","s8":"s3"},"e":{"s0":"s2","s1":"s3","s2":"s5","s3":"s7","s4":"s5","s5":"s6","s6":"s5","s7":"s3","s8":"s1"},"f":{"s0":"s3","s1":"s5","s2":"s0","s3":"s7","s4":"s6","s5":"s5","s6":"s1","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 )
With the initial state: s0, and accepting states: ['s5', 's7', 's6', 's4', 's3', 's2', 's0'],
What will be the state after reading the following input: a b d b c d | s7 | 6 | 9 | 6 | 9_6 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 ) |
8cb6347d-6590-4e1a-9ea5-b8fa01cd5657 | 80e6f2de-d1b1-48fe-a87b-db996f11e043 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s6", "s4", "s3", "s2", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s1"]}]} | 4 | {"a":{"s0":"s1","s1":"s8","s2":"s2","s3":"s7","s4":"s6","s5":"s6","s6":"s6","s7":"s2","s8":"s1"},"b":{"s0":"s3","s1":"s2","s2":"s4","s3":"s2","s4":"s8","s5":"s4","s6":"s8","s7":"s2","s8":"s5"},"c":{"s0":"s8","s1":"s8","s2":"s4","s3":"s7","s4":"s7","s5":"s7","s6":"s7","s7":"s8","s8":"s3"},"d":{"s0":"s5","s1":"s4","s2":"s0","s3":"s8","s4":"s5","s5":"s2","s6":"s8","s7":"s7","s8":"s3"},"e":{"s0":"s2","s1":"s3","s2":"s5","s3":"s7","s4":"s5","s5":"s6","s6":"s5","s7":"s3","s8":"s1"},"f":{"s0":"s3","s1":"s5","s2":"s0","s3":"s7","s4":"s6","s5":"s5","s6":"s1","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 )
With the initial state: s0, and accepting states: ['s5', 's7', 's6', 's4', 's3', 's2', 's0'],
What will be the state after reading the following input: a b d b c d c | s8 | 7 | 9 | 6 | 9_6 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 ) |
61845949-c4b3-4545-8863-46cc278c8be1 | 80e6f2de-d1b1-48fe-a87b-db996f11e043 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s6", "s4", "s3", "s2", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s1"]}]} | 4 | {"a":{"s0":"s1","s1":"s8","s2":"s2","s3":"s7","s4":"s6","s5":"s6","s6":"s6","s7":"s2","s8":"s1"},"b":{"s0":"s3","s1":"s2","s2":"s4","s3":"s2","s4":"s8","s5":"s4","s6":"s8","s7":"s2","s8":"s5"},"c":{"s0":"s8","s1":"s8","s2":"s4","s3":"s7","s4":"s7","s5":"s7","s6":"s7","s7":"s8","s8":"s3"},"d":{"s0":"s5","s1":"s4","s2":"s0","s3":"s8","s4":"s5","s5":"s2","s6":"s8","s7":"s7","s8":"s3"},"e":{"s0":"s2","s1":"s3","s2":"s5","s3":"s7","s4":"s5","s5":"s6","s6":"s5","s7":"s3","s8":"s1"},"f":{"s0":"s3","s1":"s5","s2":"s0","s3":"s7","s4":"s6","s5":"s5","s6":"s1","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 )
With the initial state: s0, and accepting states: ['s5', 's7', 's6', 's4', 's3', 's2', 's0'],
What will be the state after reading the following input: a b d b c d c a | s1 | 8 | 9 | 6 | 9_6 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 ) |
e3a2bed0-3ffc-4084-baf6-56641ebd6ccf | 80e6f2de-d1b1-48fe-a87b-db996f11e043 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s6", "s4", "s3", "s2", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s1"]}]} | 4 | {"a":{"s0":"s1","s1":"s8","s2":"s2","s3":"s7","s4":"s6","s5":"s6","s6":"s6","s7":"s2","s8":"s1"},"b":{"s0":"s3","s1":"s2","s2":"s4","s3":"s2","s4":"s8","s5":"s4","s6":"s8","s7":"s2","s8":"s5"},"c":{"s0":"s8","s1":"s8","s2":"s4","s3":"s7","s4":"s7","s5":"s7","s6":"s7","s7":"s8","s8":"s3"},"d":{"s0":"s5","s1":"s4","s2":"s0","s3":"s8","s4":"s5","s5":"s2","s6":"s8","s7":"s7","s8":"s3"},"e":{"s0":"s2","s1":"s3","s2":"s5","s3":"s7","s4":"s5","s5":"s6","s6":"s5","s7":"s3","s8":"s1"},"f":{"s0":"s3","s1":"s5","s2":"s0","s3":"s7","s4":"s6","s5":"s5","s6":"s1","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 )
With the initial state: s0, and accepting states: ['s5', 's7', 's6', 's4', 's3', 's2', 's0'],
What will be the state after reading the following input: a b d b c d c a f | s5 | 9 | 9 | 6 | 9_6 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 ) |
49fd69d6-2505-4c36-954e-87a55bc9623f | 80e6f2de-d1b1-48fe-a87b-db996f11e043 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s6", "s4", "s3", "s2", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s1"]}]} | 4 | {"a":{"s0":"s1","s1":"s8","s2":"s2","s3":"s7","s4":"s6","s5":"s6","s6":"s6","s7":"s2","s8":"s1"},"b":{"s0":"s3","s1":"s2","s2":"s4","s3":"s2","s4":"s8","s5":"s4","s6":"s8","s7":"s2","s8":"s5"},"c":{"s0":"s8","s1":"s8","s2":"s4","s3":"s7","s4":"s7","s5":"s7","s6":"s7","s7":"s8","s8":"s3"},"d":{"s0":"s5","s1":"s4","s2":"s0","s3":"s8","s4":"s5","s5":"s2","s6":"s8","s7":"s7","s8":"s3"},"e":{"s0":"s2","s1":"s3","s2":"s5","s3":"s7","s4":"s5","s5":"s6","s6":"s5","s7":"s3","s8":"s1"},"f":{"s0":"s3","s1":"s5","s2":"s0","s3":"s7","s4":"s6","s5":"s5","s6":"s1","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 )
With the initial state: s0, and accepting states: ['s5', 's7', 's6', 's4', 's3', 's2', 's0'],
What will be the state after reading the following input: a b d b c d c a f d | s2 | 10 | 9 | 6 | 9_6 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 ) |
8362c288-4a32-451c-a3f4-4f8be08e4f98 | 80e6f2de-d1b1-48fe-a87b-db996f11e043 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s6", "s4", "s3", "s2", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s1"]}]} | 4 | {"a":{"s0":"s1","s1":"s8","s2":"s2","s3":"s7","s4":"s6","s5":"s6","s6":"s6","s7":"s2","s8":"s1"},"b":{"s0":"s3","s1":"s2","s2":"s4","s3":"s2","s4":"s8","s5":"s4","s6":"s8","s7":"s2","s8":"s5"},"c":{"s0":"s8","s1":"s8","s2":"s4","s3":"s7","s4":"s7","s5":"s7","s6":"s7","s7":"s8","s8":"s3"},"d":{"s0":"s5","s1":"s4","s2":"s0","s3":"s8","s4":"s5","s5":"s2","s6":"s8","s7":"s7","s8":"s3"},"e":{"s0":"s2","s1":"s3","s2":"s5","s3":"s7","s4":"s5","s5":"s6","s6":"s5","s7":"s3","s8":"s1"},"f":{"s0":"s3","s1":"s5","s2":"s0","s3":"s7","s4":"s6","s5":"s5","s6":"s1","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 )
With the initial state: s0, and accepting states: ['s5', 's7', 's6', 's4', 's3', 's2', 's0'],
What will be the state after reading the following input: a b d b c d c a f d f | s0 | 11 | 9 | 6 | 9_6 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 ) |
c0818631-13ca-4c37-a5ac-16974c451e0c | 80e6f2de-d1b1-48fe-a87b-db996f11e043 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s6", "s4", "s3", "s2", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s1"]}]} | 4 | {"a":{"s0":"s1","s1":"s8","s2":"s2","s3":"s7","s4":"s6","s5":"s6","s6":"s6","s7":"s2","s8":"s1"},"b":{"s0":"s3","s1":"s2","s2":"s4","s3":"s2","s4":"s8","s5":"s4","s6":"s8","s7":"s2","s8":"s5"},"c":{"s0":"s8","s1":"s8","s2":"s4","s3":"s7","s4":"s7","s5":"s7","s6":"s7","s7":"s8","s8":"s3"},"d":{"s0":"s5","s1":"s4","s2":"s0","s3":"s8","s4":"s5","s5":"s2","s6":"s8","s7":"s7","s8":"s3"},"e":{"s0":"s2","s1":"s3","s2":"s5","s3":"s7","s4":"s5","s5":"s6","s6":"s5","s7":"s3","s8":"s1"},"f":{"s0":"s3","s1":"s5","s2":"s0","s3":"s7","s4":"s6","s5":"s5","s6":"s1","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 )
With the initial state: s0, and accepting states: ['s5', 's7', 's6', 's4', 's3', 's2', 's0'],
What will be the state after reading the following input: a b d b c d c a f d f e | s2 | 12 | 9 | 6 | 9_6 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 ) |
eab19a30-f115-46cb-9f27-af3d2d9f3545 | 80e6f2de-d1b1-48fe-a87b-db996f11e043 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s6", "s4", "s3", "s2", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s1"]}]} | 4 | {"a":{"s0":"s1","s1":"s8","s2":"s2","s3":"s7","s4":"s6","s5":"s6","s6":"s6","s7":"s2","s8":"s1"},"b":{"s0":"s3","s1":"s2","s2":"s4","s3":"s2","s4":"s8","s5":"s4","s6":"s8","s7":"s2","s8":"s5"},"c":{"s0":"s8","s1":"s8","s2":"s4","s3":"s7","s4":"s7","s5":"s7","s6":"s7","s7":"s8","s8":"s3"},"d":{"s0":"s5","s1":"s4","s2":"s0","s3":"s8","s4":"s5","s5":"s2","s6":"s8","s7":"s7","s8":"s3"},"e":{"s0":"s2","s1":"s3","s2":"s5","s3":"s7","s4":"s5","s5":"s6","s6":"s5","s7":"s3","s8":"s1"},"f":{"s0":"s3","s1":"s5","s2":"s0","s3":"s7","s4":"s6","s5":"s5","s6":"s1","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 )
With the initial state: s0, and accepting states: ['s5', 's7', 's6', 's4', 's3', 's2', 's0'],
What will be the state after reading the following input: a b d b c d c a f d f e a | s2 | 13 | 9 | 6 | 9_6 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 ) |
309c30f3-c7cb-4864-af21-25c28e2f1d55 | 80e6f2de-d1b1-48fe-a87b-db996f11e043 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s6", "s4", "s3", "s2", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s1"]}]} | 4 | {"a":{"s0":"s1","s1":"s8","s2":"s2","s3":"s7","s4":"s6","s5":"s6","s6":"s6","s7":"s2","s8":"s1"},"b":{"s0":"s3","s1":"s2","s2":"s4","s3":"s2","s4":"s8","s5":"s4","s6":"s8","s7":"s2","s8":"s5"},"c":{"s0":"s8","s1":"s8","s2":"s4","s3":"s7","s4":"s7","s5":"s7","s6":"s7","s7":"s8","s8":"s3"},"d":{"s0":"s5","s1":"s4","s2":"s0","s3":"s8","s4":"s5","s5":"s2","s6":"s8","s7":"s7","s8":"s3"},"e":{"s0":"s2","s1":"s3","s2":"s5","s3":"s7","s4":"s5","s5":"s6","s6":"s5","s7":"s3","s8":"s1"},"f":{"s0":"s3","s1":"s5","s2":"s0","s3":"s7","s4":"s6","s5":"s5","s6":"s1","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 )
With the initial state: s0, and accepting states: ['s5', 's7', 's6', 's4', 's3', 's2', 's0'],
What will be the state after reading the following input: a b d b c d c a f d f e a b | s4 | 14 | 9 | 6 | 9_6 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 ) |
ef515847-9a11-4570-9f87-699442249779 | 80e6f2de-d1b1-48fe-a87b-db996f11e043 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s6", "s4", "s3", "s2", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s1"]}]} | 4 | {"a":{"s0":"s1","s1":"s8","s2":"s2","s3":"s7","s4":"s6","s5":"s6","s6":"s6","s7":"s2","s8":"s1"},"b":{"s0":"s3","s1":"s2","s2":"s4","s3":"s2","s4":"s8","s5":"s4","s6":"s8","s7":"s2","s8":"s5"},"c":{"s0":"s8","s1":"s8","s2":"s4","s3":"s7","s4":"s7","s5":"s7","s6":"s7","s7":"s8","s8":"s3"},"d":{"s0":"s5","s1":"s4","s2":"s0","s3":"s8","s4":"s5","s5":"s2","s6":"s8","s7":"s7","s8":"s3"},"e":{"s0":"s2","s1":"s3","s2":"s5","s3":"s7","s4":"s5","s5":"s6","s6":"s5","s7":"s3","s8":"s1"},"f":{"s0":"s3","s1":"s5","s2":"s0","s3":"s7","s4":"s6","s5":"s5","s6":"s1","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 )
With the initial state: s0, and accepting states: ['s5', 's7', 's6', 's4', 's3', 's2', 's0'],
What will be the state after reading the following input: a b d b c d c a f d f e a b b | s8 | 15 | 9 | 6 | 9_6 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 ) |
c66b7645-a4aa-4f2b-a80a-ad722dcbb459 | 80e6f2de-d1b1-48fe-a87b-db996f11e043 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s6", "s4", "s3", "s2", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s1"]}]} | 4 | {"a":{"s0":"s1","s1":"s8","s2":"s2","s3":"s7","s4":"s6","s5":"s6","s6":"s6","s7":"s2","s8":"s1"},"b":{"s0":"s3","s1":"s2","s2":"s4","s3":"s2","s4":"s8","s5":"s4","s6":"s8","s7":"s2","s8":"s5"},"c":{"s0":"s8","s1":"s8","s2":"s4","s3":"s7","s4":"s7","s5":"s7","s6":"s7","s7":"s8","s8":"s3"},"d":{"s0":"s5","s1":"s4","s2":"s0","s3":"s8","s4":"s5","s5":"s2","s6":"s8","s7":"s7","s8":"s3"},"e":{"s0":"s2","s1":"s3","s2":"s5","s3":"s7","s4":"s5","s5":"s6","s6":"s5","s7":"s3","s8":"s1"},"f":{"s0":"s3","s1":"s5","s2":"s0","s3":"s7","s4":"s6","s5":"s5","s6":"s1","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 )
With the initial state: s0, and accepting states: ['s5', 's7', 's6', 's4', 's3', 's2', 's0'],
What will be the state after reading the following input: a b d b c d c a f d f e a b b a | s1 | 16 | 9 | 6 | 9_6 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 ) |
081cccf5-b0b9-44af-9484-b5c21f477d22 | 80e6f2de-d1b1-48fe-a87b-db996f11e043 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s6", "s4", "s3", "s2", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s1"]}]} | 4 | {"a":{"s0":"s1","s1":"s8","s2":"s2","s3":"s7","s4":"s6","s5":"s6","s6":"s6","s7":"s2","s8":"s1"},"b":{"s0":"s3","s1":"s2","s2":"s4","s3":"s2","s4":"s8","s5":"s4","s6":"s8","s7":"s2","s8":"s5"},"c":{"s0":"s8","s1":"s8","s2":"s4","s3":"s7","s4":"s7","s5":"s7","s6":"s7","s7":"s8","s8":"s3"},"d":{"s0":"s5","s1":"s4","s2":"s0","s3":"s8","s4":"s5","s5":"s2","s6":"s8","s7":"s7","s8":"s3"},"e":{"s0":"s2","s1":"s3","s2":"s5","s3":"s7","s4":"s5","s5":"s6","s6":"s5","s7":"s3","s8":"s1"},"f":{"s0":"s3","s1":"s5","s2":"s0","s3":"s7","s4":"s6","s5":"s5","s6":"s1","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 )
With the initial state: s0, and accepting states: ['s5', 's7', 's6', 's4', 's3', 's2', 's0'],
What will be the state after reading the following input: a b d b c d c a f d f e a b b a c | s8 | 17 | 9 | 6 | 9_6 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 ) |
873e6774-70ee-48f6-841b-16aca6bfd1f3 | 80e6f2de-d1b1-48fe-a87b-db996f11e043 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s6", "s4", "s3", "s2", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s1"]}]} | 4 | {"a":{"s0":"s1","s1":"s8","s2":"s2","s3":"s7","s4":"s6","s5":"s6","s6":"s6","s7":"s2","s8":"s1"},"b":{"s0":"s3","s1":"s2","s2":"s4","s3":"s2","s4":"s8","s5":"s4","s6":"s8","s7":"s2","s8":"s5"},"c":{"s0":"s8","s1":"s8","s2":"s4","s3":"s7","s4":"s7","s5":"s7","s6":"s7","s7":"s8","s8":"s3"},"d":{"s0":"s5","s1":"s4","s2":"s0","s3":"s8","s4":"s5","s5":"s2","s6":"s8","s7":"s7","s8":"s3"},"e":{"s0":"s2","s1":"s3","s2":"s5","s3":"s7","s4":"s5","s5":"s6","s6":"s5","s7":"s3","s8":"s1"},"f":{"s0":"s3","s1":"s5","s2":"s0","s3":"s7","s4":"s6","s5":"s5","s6":"s1","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 )
With the initial state: s0, and accepting states: ['s5', 's7', 's6', 's4', 's3', 's2', 's0'],
What will be the state after reading the following input: a b d b c d c a f d f e a b b a c d | s3 | 18 | 9 | 6 | 9_6 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 ) |
4ec9f24a-c4f3-4691-813c-6753df4bed34 | 80e6f2de-d1b1-48fe-a87b-db996f11e043 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s6", "s4", "s3", "s2", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s1"]}]} | 4 | {"a":{"s0":"s1","s1":"s8","s2":"s2","s3":"s7","s4":"s6","s5":"s6","s6":"s6","s7":"s2","s8":"s1"},"b":{"s0":"s3","s1":"s2","s2":"s4","s3":"s2","s4":"s8","s5":"s4","s6":"s8","s7":"s2","s8":"s5"},"c":{"s0":"s8","s1":"s8","s2":"s4","s3":"s7","s4":"s7","s5":"s7","s6":"s7","s7":"s8","s8":"s3"},"d":{"s0":"s5","s1":"s4","s2":"s0","s3":"s8","s4":"s5","s5":"s2","s6":"s8","s7":"s7","s8":"s3"},"e":{"s0":"s2","s1":"s3","s2":"s5","s3":"s7","s4":"s5","s5":"s6","s6":"s5","s7":"s3","s8":"s1"},"f":{"s0":"s3","s1":"s5","s2":"s0","s3":"s7","s4":"s6","s5":"s5","s6":"s1","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 )
With the initial state: s0, and accepting states: ['s5', 's7', 's6', 's4', 's3', 's2', 's0'],
What will be the state after reading the following input: a b d b c d c a f d f e a b b a c d a | s7 | 19 | 9 | 6 | 9_6 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 ) |
0a1cdbd7-5c2b-4c83-bea7-c6175aae94c3 | 80e6f2de-d1b1-48fe-a87b-db996f11e043 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s6", "s4", "s3", "s2", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s1"]}]} | 4 | {"a":{"s0":"s1","s1":"s8","s2":"s2","s3":"s7","s4":"s6","s5":"s6","s6":"s6","s7":"s2","s8":"s1"},"b":{"s0":"s3","s1":"s2","s2":"s4","s3":"s2","s4":"s8","s5":"s4","s6":"s8","s7":"s2","s8":"s5"},"c":{"s0":"s8","s1":"s8","s2":"s4","s3":"s7","s4":"s7","s5":"s7","s6":"s7","s7":"s8","s8":"s3"},"d":{"s0":"s5","s1":"s4","s2":"s0","s3":"s8","s4":"s5","s5":"s2","s6":"s8","s7":"s7","s8":"s3"},"e":{"s0":"s2","s1":"s3","s2":"s5","s3":"s7","s4":"s5","s5":"s6","s6":"s5","s7":"s3","s8":"s1"},"f":{"s0":"s3","s1":"s5","s2":"s0","s3":"s7","s4":"s6","s5":"s5","s6":"s1","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 )
With the initial state: s0, and accepting states: ['s5', 's7', 's6', 's4', 's3', 's2', 's0'],
What will be the state after reading the following input: a b d b c d c a f d f e a b b a c d a b | s2 | 20 | 9 | 6 | 9_6 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s2 )
( s3 , a , s7 )
( s4 , a , s6 )
( s5 , a , s6 )
( s6 , a , s6 )
( s7 , a , s2 )
( s8 , a , s1 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s4 )
( s3 , b , s2 )
( s4 , b , s8 )
( s5 , b , s4 )
( s6 , b , s8 )
( s7 , b , s2 )
( s8 , b , s5 )
( s0 , c , s8 )
( s1 , c , s8 )
( s2 , c , s4 )
( s3 , c , s7 )
( s4 , c , s7 )
( s5 , c , s7 )
( s6 , c , s7 )
( s7 , c , s8 )
( s8 , c , s3 )
( s0 , d , s5 )
( s1 , d , s4 )
( s2 , d , s0 )
( s3 , d , s8 )
( s4 , d , s5 )
( s5 , d , s2 )
( s6 , d , s8 )
( s7 , d , s7 )
( s8 , d , s3 )
( s0 , e , s2 )
( s1 , e , s3 )
( s2 , e , s5 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s6 )
( s6 , e , s5 )
( s7 , e , s3 )
( s8 , e , s1 )
( s0 , f , s3 )
( s1 , f , s5 )
( s2 , f , s0 )
( s3 , f , s7 )
( s4 , f , s6 )
( s5 , f , s5 )
( s6 , f , s1 )
( s7 , f , s5 )
( s8 , f , s1 ) |
7f7b227a-c233-4d4a-ade0-30f1f10b6efc | d5f76107-97f9-4b9c-9759-1e1f86024511 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s8", "s1", "s6", "s4", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s5","s1":"s2","s2":"s6","s3":"s1","s4":"s6","s5":"s3","s6":"s7","s7":"s5","s8":"s3"},"b":{"s0":"s2","s1":"s1","s2":"s4","s3":"s1","s4":"s4","s5":"s3","s6":"s1","s7":"s1","s8":"s1"},"c":{"s0":"s8","s1":"s6","s2":"s0","s3":"s8","s4":"s4","s5":"s2","s6":"s5","s7":"s8","s8":"s5"},"d":{"s0":"s3","s1":"s6","s2":"s6","s3":"s6","s4":"s8","s5":"s4","s6":"s5","s7":"s8","s8":"s1"},"e":{"s0":"s0","s1":"s7","s2":"s0","s3":"s4","s4":"s4","s5":"s8","s6":"s4","s7":"s2","s8":"s6"},"f":{"s0":"s6","s1":"s8","s2":"s3","s3":"s2","s4":"s1","s5":"s1","s6":"s4","s7":"s0","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s5', 's7', 's8', 's1', 's6', 's4', 's0', 's2'],
What will be the state after reading the following input: a | s5 | 1 | 9 | 6 | 9_6 | ( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 ) |
f8f3d478-8bc7-4d84-bf98-a9745f94edae | d5f76107-97f9-4b9c-9759-1e1f86024511 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s8", "s1", "s6", "s4", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s5","s1":"s2","s2":"s6","s3":"s1","s4":"s6","s5":"s3","s6":"s7","s7":"s5","s8":"s3"},"b":{"s0":"s2","s1":"s1","s2":"s4","s3":"s1","s4":"s4","s5":"s3","s6":"s1","s7":"s1","s8":"s1"},"c":{"s0":"s8","s1":"s6","s2":"s0","s3":"s8","s4":"s4","s5":"s2","s6":"s5","s7":"s8","s8":"s5"},"d":{"s0":"s3","s1":"s6","s2":"s6","s3":"s6","s4":"s8","s5":"s4","s6":"s5","s7":"s8","s8":"s1"},"e":{"s0":"s0","s1":"s7","s2":"s0","s3":"s4","s4":"s4","s5":"s8","s6":"s4","s7":"s2","s8":"s6"},"f":{"s0":"s6","s1":"s8","s2":"s3","s3":"s2","s4":"s1","s5":"s1","s6":"s4","s7":"s0","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s5', 's7', 's8', 's1', 's6', 's4', 's0', 's2'],
What will be the state after reading the following input: a a | s3 | 2 | 9 | 6 | 9_6 | ( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 ) |
a886e552-ac13-4260-81d9-9756fef3bfae | d5f76107-97f9-4b9c-9759-1e1f86024511 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s8", "s1", "s6", "s4", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s5","s1":"s2","s2":"s6","s3":"s1","s4":"s6","s5":"s3","s6":"s7","s7":"s5","s8":"s3"},"b":{"s0":"s2","s1":"s1","s2":"s4","s3":"s1","s4":"s4","s5":"s3","s6":"s1","s7":"s1","s8":"s1"},"c":{"s0":"s8","s1":"s6","s2":"s0","s3":"s8","s4":"s4","s5":"s2","s6":"s5","s7":"s8","s8":"s5"},"d":{"s0":"s3","s1":"s6","s2":"s6","s3":"s6","s4":"s8","s5":"s4","s6":"s5","s7":"s8","s8":"s1"},"e":{"s0":"s0","s1":"s7","s2":"s0","s3":"s4","s4":"s4","s5":"s8","s6":"s4","s7":"s2","s8":"s6"},"f":{"s0":"s6","s1":"s8","s2":"s3","s3":"s2","s4":"s1","s5":"s1","s6":"s4","s7":"s0","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s5', 's7', 's8', 's1', 's6', 's4', 's0', 's2'],
What will be the state after reading the following input: a a d | s6 | 3 | 9 | 6 | 9_6 | ( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 ) |
84ed23b2-deac-4463-b42e-df9fc03126cf | d5f76107-97f9-4b9c-9759-1e1f86024511 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s8", "s1", "s6", "s4", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s5","s1":"s2","s2":"s6","s3":"s1","s4":"s6","s5":"s3","s6":"s7","s7":"s5","s8":"s3"},"b":{"s0":"s2","s1":"s1","s2":"s4","s3":"s1","s4":"s4","s5":"s3","s6":"s1","s7":"s1","s8":"s1"},"c":{"s0":"s8","s1":"s6","s2":"s0","s3":"s8","s4":"s4","s5":"s2","s6":"s5","s7":"s8","s8":"s5"},"d":{"s0":"s3","s1":"s6","s2":"s6","s3":"s6","s4":"s8","s5":"s4","s6":"s5","s7":"s8","s8":"s1"},"e":{"s0":"s0","s1":"s7","s2":"s0","s3":"s4","s4":"s4","s5":"s8","s6":"s4","s7":"s2","s8":"s6"},"f":{"s0":"s6","s1":"s8","s2":"s3","s3":"s2","s4":"s1","s5":"s1","s6":"s4","s7":"s0","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s5', 's7', 's8', 's1', 's6', 's4', 's0', 's2'],
What will be the state after reading the following input: a a d e | s4 | 4 | 9 | 6 | 9_6 | ( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 ) |
cba13e4d-9094-4159-b05c-41e2a1c9d8be | d5f76107-97f9-4b9c-9759-1e1f86024511 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s8", "s1", "s6", "s4", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s5","s1":"s2","s2":"s6","s3":"s1","s4":"s6","s5":"s3","s6":"s7","s7":"s5","s8":"s3"},"b":{"s0":"s2","s1":"s1","s2":"s4","s3":"s1","s4":"s4","s5":"s3","s6":"s1","s7":"s1","s8":"s1"},"c":{"s0":"s8","s1":"s6","s2":"s0","s3":"s8","s4":"s4","s5":"s2","s6":"s5","s7":"s8","s8":"s5"},"d":{"s0":"s3","s1":"s6","s2":"s6","s3":"s6","s4":"s8","s5":"s4","s6":"s5","s7":"s8","s8":"s1"},"e":{"s0":"s0","s1":"s7","s2":"s0","s3":"s4","s4":"s4","s5":"s8","s6":"s4","s7":"s2","s8":"s6"},"f":{"s0":"s6","s1":"s8","s2":"s3","s3":"s2","s4":"s1","s5":"s1","s6":"s4","s7":"s0","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s5', 's7', 's8', 's1', 's6', 's4', 's0', 's2'],
What will be the state after reading the following input: a a d e b | s4 | 5 | 9 | 6 | 9_6 | ( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 ) |
0b521464-6524-489a-8900-fdc14cc2a492 | d5f76107-97f9-4b9c-9759-1e1f86024511 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s8", "s1", "s6", "s4", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s5","s1":"s2","s2":"s6","s3":"s1","s4":"s6","s5":"s3","s6":"s7","s7":"s5","s8":"s3"},"b":{"s0":"s2","s1":"s1","s2":"s4","s3":"s1","s4":"s4","s5":"s3","s6":"s1","s7":"s1","s8":"s1"},"c":{"s0":"s8","s1":"s6","s2":"s0","s3":"s8","s4":"s4","s5":"s2","s6":"s5","s7":"s8","s8":"s5"},"d":{"s0":"s3","s1":"s6","s2":"s6","s3":"s6","s4":"s8","s5":"s4","s6":"s5","s7":"s8","s8":"s1"},"e":{"s0":"s0","s1":"s7","s2":"s0","s3":"s4","s4":"s4","s5":"s8","s6":"s4","s7":"s2","s8":"s6"},"f":{"s0":"s6","s1":"s8","s2":"s3","s3":"s2","s4":"s1","s5":"s1","s6":"s4","s7":"s0","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s5', 's7', 's8', 's1', 's6', 's4', 's0', 's2'],
What will be the state after reading the following input: a a d e b c | s4 | 6 | 9 | 6 | 9_6 | ( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 ) |
8db3a572-fb95-4ac1-8a34-59aa5fc8f3db | d5f76107-97f9-4b9c-9759-1e1f86024511 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s8", "s1", "s6", "s4", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s5","s1":"s2","s2":"s6","s3":"s1","s4":"s6","s5":"s3","s6":"s7","s7":"s5","s8":"s3"},"b":{"s0":"s2","s1":"s1","s2":"s4","s3":"s1","s4":"s4","s5":"s3","s6":"s1","s7":"s1","s8":"s1"},"c":{"s0":"s8","s1":"s6","s2":"s0","s3":"s8","s4":"s4","s5":"s2","s6":"s5","s7":"s8","s8":"s5"},"d":{"s0":"s3","s1":"s6","s2":"s6","s3":"s6","s4":"s8","s5":"s4","s6":"s5","s7":"s8","s8":"s1"},"e":{"s0":"s0","s1":"s7","s2":"s0","s3":"s4","s4":"s4","s5":"s8","s6":"s4","s7":"s2","s8":"s6"},"f":{"s0":"s6","s1":"s8","s2":"s3","s3":"s2","s4":"s1","s5":"s1","s6":"s4","s7":"s0","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s5', 's7', 's8', 's1', 's6', 's4', 's0', 's2'],
What will be the state after reading the following input: a a d e b c c | s4 | 7 | 9 | 6 | 9_6 | ( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 ) |
e9460afb-13fa-41f2-9962-0d07675c7657 | d5f76107-97f9-4b9c-9759-1e1f86024511 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s8", "s1", "s6", "s4", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s5","s1":"s2","s2":"s6","s3":"s1","s4":"s6","s5":"s3","s6":"s7","s7":"s5","s8":"s3"},"b":{"s0":"s2","s1":"s1","s2":"s4","s3":"s1","s4":"s4","s5":"s3","s6":"s1","s7":"s1","s8":"s1"},"c":{"s0":"s8","s1":"s6","s2":"s0","s3":"s8","s4":"s4","s5":"s2","s6":"s5","s7":"s8","s8":"s5"},"d":{"s0":"s3","s1":"s6","s2":"s6","s3":"s6","s4":"s8","s5":"s4","s6":"s5","s7":"s8","s8":"s1"},"e":{"s0":"s0","s1":"s7","s2":"s0","s3":"s4","s4":"s4","s5":"s8","s6":"s4","s7":"s2","s8":"s6"},"f":{"s0":"s6","s1":"s8","s2":"s3","s3":"s2","s4":"s1","s5":"s1","s6":"s4","s7":"s0","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s5', 's7', 's8', 's1', 's6', 's4', 's0', 's2'],
What will be the state after reading the following input: a a d e b c c d | s8 | 8 | 9 | 6 | 9_6 | ( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 ) |
2e72c0ac-129e-44ea-892b-22c2a9b3275e | d5f76107-97f9-4b9c-9759-1e1f86024511 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s8", "s1", "s6", "s4", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s5","s1":"s2","s2":"s6","s3":"s1","s4":"s6","s5":"s3","s6":"s7","s7":"s5","s8":"s3"},"b":{"s0":"s2","s1":"s1","s2":"s4","s3":"s1","s4":"s4","s5":"s3","s6":"s1","s7":"s1","s8":"s1"},"c":{"s0":"s8","s1":"s6","s2":"s0","s3":"s8","s4":"s4","s5":"s2","s6":"s5","s7":"s8","s8":"s5"},"d":{"s0":"s3","s1":"s6","s2":"s6","s3":"s6","s4":"s8","s5":"s4","s6":"s5","s7":"s8","s8":"s1"},"e":{"s0":"s0","s1":"s7","s2":"s0","s3":"s4","s4":"s4","s5":"s8","s6":"s4","s7":"s2","s8":"s6"},"f":{"s0":"s6","s1":"s8","s2":"s3","s3":"s2","s4":"s1","s5":"s1","s6":"s4","s7":"s0","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s5', 's7', 's8', 's1', 's6', 's4', 's0', 's2'],
What will be the state after reading the following input: a a d e b c c d a | s3 | 9 | 9 | 6 | 9_6 | ( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 ) |
8b4378e6-b8ac-4585-8015-8ed959135f33 | d5f76107-97f9-4b9c-9759-1e1f86024511 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s8", "s1", "s6", "s4", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s5","s1":"s2","s2":"s6","s3":"s1","s4":"s6","s5":"s3","s6":"s7","s7":"s5","s8":"s3"},"b":{"s0":"s2","s1":"s1","s2":"s4","s3":"s1","s4":"s4","s5":"s3","s6":"s1","s7":"s1","s8":"s1"},"c":{"s0":"s8","s1":"s6","s2":"s0","s3":"s8","s4":"s4","s5":"s2","s6":"s5","s7":"s8","s8":"s5"},"d":{"s0":"s3","s1":"s6","s2":"s6","s3":"s6","s4":"s8","s5":"s4","s6":"s5","s7":"s8","s8":"s1"},"e":{"s0":"s0","s1":"s7","s2":"s0","s3":"s4","s4":"s4","s5":"s8","s6":"s4","s7":"s2","s8":"s6"},"f":{"s0":"s6","s1":"s8","s2":"s3","s3":"s2","s4":"s1","s5":"s1","s6":"s4","s7":"s0","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s5', 's7', 's8', 's1', 's6', 's4', 's0', 's2'],
What will be the state after reading the following input: a a d e b c c d a b | s1 | 10 | 9 | 6 | 9_6 | ( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 ) |
133da088-18a6-4daa-93fb-e8433158b154 | d5f76107-97f9-4b9c-9759-1e1f86024511 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s8", "s1", "s6", "s4", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s5","s1":"s2","s2":"s6","s3":"s1","s4":"s6","s5":"s3","s6":"s7","s7":"s5","s8":"s3"},"b":{"s0":"s2","s1":"s1","s2":"s4","s3":"s1","s4":"s4","s5":"s3","s6":"s1","s7":"s1","s8":"s1"},"c":{"s0":"s8","s1":"s6","s2":"s0","s3":"s8","s4":"s4","s5":"s2","s6":"s5","s7":"s8","s8":"s5"},"d":{"s0":"s3","s1":"s6","s2":"s6","s3":"s6","s4":"s8","s5":"s4","s6":"s5","s7":"s8","s8":"s1"},"e":{"s0":"s0","s1":"s7","s2":"s0","s3":"s4","s4":"s4","s5":"s8","s6":"s4","s7":"s2","s8":"s6"},"f":{"s0":"s6","s1":"s8","s2":"s3","s3":"s2","s4":"s1","s5":"s1","s6":"s4","s7":"s0","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s5', 's7', 's8', 's1', 's6', 's4', 's0', 's2'],
What will be the state after reading the following input: a a d e b c c d a b f | s8 | 11 | 9 | 6 | 9_6 | ( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 ) |
26593896-5697-4e42-9e68-fb5af9312d1d | d5f76107-97f9-4b9c-9759-1e1f86024511 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s8", "s1", "s6", "s4", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s5","s1":"s2","s2":"s6","s3":"s1","s4":"s6","s5":"s3","s6":"s7","s7":"s5","s8":"s3"},"b":{"s0":"s2","s1":"s1","s2":"s4","s3":"s1","s4":"s4","s5":"s3","s6":"s1","s7":"s1","s8":"s1"},"c":{"s0":"s8","s1":"s6","s2":"s0","s3":"s8","s4":"s4","s5":"s2","s6":"s5","s7":"s8","s8":"s5"},"d":{"s0":"s3","s1":"s6","s2":"s6","s3":"s6","s4":"s8","s5":"s4","s6":"s5","s7":"s8","s8":"s1"},"e":{"s0":"s0","s1":"s7","s2":"s0","s3":"s4","s4":"s4","s5":"s8","s6":"s4","s7":"s2","s8":"s6"},"f":{"s0":"s6","s1":"s8","s2":"s3","s3":"s2","s4":"s1","s5":"s1","s6":"s4","s7":"s0","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s5', 's7', 's8', 's1', 's6', 's4', 's0', 's2'],
What will be the state after reading the following input: a a d e b c c d a b f d | s1 | 12 | 9 | 6 | 9_6 | ( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 ) |
e7634adb-8abd-424d-84f4-e6d042a02e93 | d5f76107-97f9-4b9c-9759-1e1f86024511 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s8", "s1", "s6", "s4", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s5","s1":"s2","s2":"s6","s3":"s1","s4":"s6","s5":"s3","s6":"s7","s7":"s5","s8":"s3"},"b":{"s0":"s2","s1":"s1","s2":"s4","s3":"s1","s4":"s4","s5":"s3","s6":"s1","s7":"s1","s8":"s1"},"c":{"s0":"s8","s1":"s6","s2":"s0","s3":"s8","s4":"s4","s5":"s2","s6":"s5","s7":"s8","s8":"s5"},"d":{"s0":"s3","s1":"s6","s2":"s6","s3":"s6","s4":"s8","s5":"s4","s6":"s5","s7":"s8","s8":"s1"},"e":{"s0":"s0","s1":"s7","s2":"s0","s3":"s4","s4":"s4","s5":"s8","s6":"s4","s7":"s2","s8":"s6"},"f":{"s0":"s6","s1":"s8","s2":"s3","s3":"s2","s4":"s1","s5":"s1","s6":"s4","s7":"s0","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s5', 's7', 's8', 's1', 's6', 's4', 's0', 's2'],
What will be the state after reading the following input: a a d e b c c d a b f d e | s7 | 13 | 9 | 6 | 9_6 | ( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 ) |
9b81d266-4eb1-42dc-ac4b-084007a137bd | d5f76107-97f9-4b9c-9759-1e1f86024511 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s8", "s1", "s6", "s4", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s5","s1":"s2","s2":"s6","s3":"s1","s4":"s6","s5":"s3","s6":"s7","s7":"s5","s8":"s3"},"b":{"s0":"s2","s1":"s1","s2":"s4","s3":"s1","s4":"s4","s5":"s3","s6":"s1","s7":"s1","s8":"s1"},"c":{"s0":"s8","s1":"s6","s2":"s0","s3":"s8","s4":"s4","s5":"s2","s6":"s5","s7":"s8","s8":"s5"},"d":{"s0":"s3","s1":"s6","s2":"s6","s3":"s6","s4":"s8","s5":"s4","s6":"s5","s7":"s8","s8":"s1"},"e":{"s0":"s0","s1":"s7","s2":"s0","s3":"s4","s4":"s4","s5":"s8","s6":"s4","s7":"s2","s8":"s6"},"f":{"s0":"s6","s1":"s8","s2":"s3","s3":"s2","s4":"s1","s5":"s1","s6":"s4","s7":"s0","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s5', 's7', 's8', 's1', 's6', 's4', 's0', 's2'],
What will be the state after reading the following input: a a d e b c c d a b f d e b | s1 | 14 | 9 | 6 | 9_6 | ( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 ) |
4c37be3e-99c0-4698-ac7d-fa39171ee963 | d5f76107-97f9-4b9c-9759-1e1f86024511 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s8", "s1", "s6", "s4", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s5","s1":"s2","s2":"s6","s3":"s1","s4":"s6","s5":"s3","s6":"s7","s7":"s5","s8":"s3"},"b":{"s0":"s2","s1":"s1","s2":"s4","s3":"s1","s4":"s4","s5":"s3","s6":"s1","s7":"s1","s8":"s1"},"c":{"s0":"s8","s1":"s6","s2":"s0","s3":"s8","s4":"s4","s5":"s2","s6":"s5","s7":"s8","s8":"s5"},"d":{"s0":"s3","s1":"s6","s2":"s6","s3":"s6","s4":"s8","s5":"s4","s6":"s5","s7":"s8","s8":"s1"},"e":{"s0":"s0","s1":"s7","s2":"s0","s3":"s4","s4":"s4","s5":"s8","s6":"s4","s7":"s2","s8":"s6"},"f":{"s0":"s6","s1":"s8","s2":"s3","s3":"s2","s4":"s1","s5":"s1","s6":"s4","s7":"s0","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s5', 's7', 's8', 's1', 's6', 's4', 's0', 's2'],
What will be the state after reading the following input: a a d e b c c d a b f d e b c | s6 | 15 | 9 | 6 | 9_6 | ( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 ) |
3db27052-a2ec-49d7-ab15-5fbd1abc2765 | d5f76107-97f9-4b9c-9759-1e1f86024511 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s8", "s1", "s6", "s4", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s5","s1":"s2","s2":"s6","s3":"s1","s4":"s6","s5":"s3","s6":"s7","s7":"s5","s8":"s3"},"b":{"s0":"s2","s1":"s1","s2":"s4","s3":"s1","s4":"s4","s5":"s3","s6":"s1","s7":"s1","s8":"s1"},"c":{"s0":"s8","s1":"s6","s2":"s0","s3":"s8","s4":"s4","s5":"s2","s6":"s5","s7":"s8","s8":"s5"},"d":{"s0":"s3","s1":"s6","s2":"s6","s3":"s6","s4":"s8","s5":"s4","s6":"s5","s7":"s8","s8":"s1"},"e":{"s0":"s0","s1":"s7","s2":"s0","s3":"s4","s4":"s4","s5":"s8","s6":"s4","s7":"s2","s8":"s6"},"f":{"s0":"s6","s1":"s8","s2":"s3","s3":"s2","s4":"s1","s5":"s1","s6":"s4","s7":"s0","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s5', 's7', 's8', 's1', 's6', 's4', 's0', 's2'],
What will be the state after reading the following input: a a d e b c c d a b f d e b c c | s5 | 16 | 9 | 6 | 9_6 | ( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 ) |
2eef2f2a-c449-4279-85b9-05654c3345c6 | d5f76107-97f9-4b9c-9759-1e1f86024511 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s8", "s1", "s6", "s4", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s5","s1":"s2","s2":"s6","s3":"s1","s4":"s6","s5":"s3","s6":"s7","s7":"s5","s8":"s3"},"b":{"s0":"s2","s1":"s1","s2":"s4","s3":"s1","s4":"s4","s5":"s3","s6":"s1","s7":"s1","s8":"s1"},"c":{"s0":"s8","s1":"s6","s2":"s0","s3":"s8","s4":"s4","s5":"s2","s6":"s5","s7":"s8","s8":"s5"},"d":{"s0":"s3","s1":"s6","s2":"s6","s3":"s6","s4":"s8","s5":"s4","s6":"s5","s7":"s8","s8":"s1"},"e":{"s0":"s0","s1":"s7","s2":"s0","s3":"s4","s4":"s4","s5":"s8","s6":"s4","s7":"s2","s8":"s6"},"f":{"s0":"s6","s1":"s8","s2":"s3","s3":"s2","s4":"s1","s5":"s1","s6":"s4","s7":"s0","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s5', 's7', 's8', 's1', 's6', 's4', 's0', 's2'],
What will be the state after reading the following input: a a d e b c c d a b f d e b c c b | s3 | 17 | 9 | 6 | 9_6 | ( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 ) |
4e46b51d-60eb-48d6-8747-5a7906091ec9 | d5f76107-97f9-4b9c-9759-1e1f86024511 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s8", "s1", "s6", "s4", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s5","s1":"s2","s2":"s6","s3":"s1","s4":"s6","s5":"s3","s6":"s7","s7":"s5","s8":"s3"},"b":{"s0":"s2","s1":"s1","s2":"s4","s3":"s1","s4":"s4","s5":"s3","s6":"s1","s7":"s1","s8":"s1"},"c":{"s0":"s8","s1":"s6","s2":"s0","s3":"s8","s4":"s4","s5":"s2","s6":"s5","s7":"s8","s8":"s5"},"d":{"s0":"s3","s1":"s6","s2":"s6","s3":"s6","s4":"s8","s5":"s4","s6":"s5","s7":"s8","s8":"s1"},"e":{"s0":"s0","s1":"s7","s2":"s0","s3":"s4","s4":"s4","s5":"s8","s6":"s4","s7":"s2","s8":"s6"},"f":{"s0":"s6","s1":"s8","s2":"s3","s3":"s2","s4":"s1","s5":"s1","s6":"s4","s7":"s0","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s5', 's7', 's8', 's1', 's6', 's4', 's0', 's2'],
What will be the state after reading the following input: a a d e b c c d a b f d e b c c b b | s1 | 18 | 9 | 6 | 9_6 | ( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 ) |
c4c39f7d-609c-4514-ac21-f9efa8286c1e | d5f76107-97f9-4b9c-9759-1e1f86024511 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s8", "s1", "s6", "s4", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s5","s1":"s2","s2":"s6","s3":"s1","s4":"s6","s5":"s3","s6":"s7","s7":"s5","s8":"s3"},"b":{"s0":"s2","s1":"s1","s2":"s4","s3":"s1","s4":"s4","s5":"s3","s6":"s1","s7":"s1","s8":"s1"},"c":{"s0":"s8","s1":"s6","s2":"s0","s3":"s8","s4":"s4","s5":"s2","s6":"s5","s7":"s8","s8":"s5"},"d":{"s0":"s3","s1":"s6","s2":"s6","s3":"s6","s4":"s8","s5":"s4","s6":"s5","s7":"s8","s8":"s1"},"e":{"s0":"s0","s1":"s7","s2":"s0","s3":"s4","s4":"s4","s5":"s8","s6":"s4","s7":"s2","s8":"s6"},"f":{"s0":"s6","s1":"s8","s2":"s3","s3":"s2","s4":"s1","s5":"s1","s6":"s4","s7":"s0","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s5', 's7', 's8', 's1', 's6', 's4', 's0', 's2'],
What will be the state after reading the following input: a a d e b c c d a b f d e b c c b b a | s2 | 19 | 9 | 6 | 9_6 | ( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 ) |
fadca9c2-bb4c-4130-a006-1134e9bc3d23 | d5f76107-97f9-4b9c-9759-1e1f86024511 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s5", "s7", "s8", "s1", "s6", "s4", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}]} | 4 | {"a":{"s0":"s5","s1":"s2","s2":"s6","s3":"s1","s4":"s6","s5":"s3","s6":"s7","s7":"s5","s8":"s3"},"b":{"s0":"s2","s1":"s1","s2":"s4","s3":"s1","s4":"s4","s5":"s3","s6":"s1","s7":"s1","s8":"s1"},"c":{"s0":"s8","s1":"s6","s2":"s0","s3":"s8","s4":"s4","s5":"s2","s6":"s5","s7":"s8","s8":"s5"},"d":{"s0":"s3","s1":"s6","s2":"s6","s3":"s6","s4":"s8","s5":"s4","s6":"s5","s7":"s8","s8":"s1"},"e":{"s0":"s0","s1":"s7","s2":"s0","s3":"s4","s4":"s4","s5":"s8","s6":"s4","s7":"s2","s8":"s6"},"f":{"s0":"s6","s1":"s8","s2":"s3","s3":"s2","s4":"s1","s5":"s1","s6":"s4","s7":"s0","s8":"s4"}} | Given the following FSM transition rules:
( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 )
With the initial state: s0, and accepting states: ['s5', 's7', 's8', 's1', 's6', 's4', 's0', 's2'],
What will be the state after reading the following input: a a d e b c c d a b f d e b c c b b a d | s6 | 20 | 9 | 6 | 9_6 | ( s0 , a , s5 )
( s1 , a , s2 )
( s2 , a , s6 )
( s3 , a , s1 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s7 )
( s7 , a , s5 )
( s8 , a , s3 )
( s0 , b , s2 )
( s1 , b , s1 )
( s2 , b , s4 )
( s3 , b , s1 )
( s4 , b , s4 )
( s5 , b , s3 )
( s6 , b , s1 )
( s7 , b , s1 )
( s8 , b , s1 )
( s0 , c , s8 )
( s1 , c , s6 )
( s2 , c , s0 )
( s3 , c , s8 )
( s4 , c , s4 )
( s5 , c , s2 )
( s6 , c , s5 )
( s7 , c , s8 )
( s8 , c , s5 )
( s0 , d , s3 )
( s1 , d , s6 )
( s2 , d , s6 )
( s3 , d , s6 )
( s4 , d , s8 )
( s5 , d , s4 )
( s6 , d , s5 )
( s7 , d , s8 )
( s8 , d , s1 )
( s0 , e , s0 )
( s1 , e , s7 )
( s2 , e , s0 )
( s3 , e , s4 )
( s4 , e , s4 )
( s5 , e , s8 )
( s6 , e , s4 )
( s7 , e , s2 )
( s8 , e , s6 )
( s0 , f , s6 )
( s1 , f , s8 )
( s2 , f , s3 )
( s3 , f , s2 )
( s4 , f , s1 )
( s5 , f , s1 )
( s6 , f , s4 )
( s7 , f , s0 )
( s8 , f , s4 ) |
2beb5564-3bc3-4bec-922f-924c725e450f | 4753338d-b3ce-404d-8bfa-c8291478e2a5 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdefg", "accepting_states": ["s0", "s3", "s7", "s8", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s6"]}]} | 4 | {"a":{"s0":"s1","s1":"s5","s2":"s3","s3":"s0","s4":"s8","s5":"s4","s6":"s4","s7":"s8","s8":"s8"},"b":{"s0":"s1","s1":"s5","s2":"s8","s3":"s4","s4":"s8","s5":"s1","s6":"s4","s7":"s3","s8":"s7"},"c":{"s0":"s2","s1":"s6","s2":"s3","s3":"s2","s4":"s6","s5":"s7","s6":"s8","s7":"s7","s8":"s5"},"d":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s2","s5":"s0","s6":"s6","s7":"s3","s8":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s4","s4":"s0","s5":"s1","s6":"s8","s7":"s6","s8":"s5"},"f":{"s0":"s3","s1":"s2","s2":"s7","s3":"s5","s4":"s1","s5":"s3","s6":"s4","s7":"s4","s8":"s4"},"g":{"s0":"s3","s1":"s2","s2":"s1","s3":"s5","s4":"s5","s5":"s1","s6":"s6","s7":"s6","s8":"s6"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 )
With the initial state: s0, and accepting states: ['s0', 's3', 's7', 's8', 's5', 's6'],
What will be the state after reading the following input: c | s2 | 1 | 9 | 7 | 9_7 | ( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 ) |
e769c545-78d1-4fd0-bbd9-a7495a39430b | 4753338d-b3ce-404d-8bfa-c8291478e2a5 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdefg", "accepting_states": ["s0", "s3", "s7", "s8", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s6"]}]} | 4 | {"a":{"s0":"s1","s1":"s5","s2":"s3","s3":"s0","s4":"s8","s5":"s4","s6":"s4","s7":"s8","s8":"s8"},"b":{"s0":"s1","s1":"s5","s2":"s8","s3":"s4","s4":"s8","s5":"s1","s6":"s4","s7":"s3","s8":"s7"},"c":{"s0":"s2","s1":"s6","s2":"s3","s3":"s2","s4":"s6","s5":"s7","s6":"s8","s7":"s7","s8":"s5"},"d":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s2","s5":"s0","s6":"s6","s7":"s3","s8":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s4","s4":"s0","s5":"s1","s6":"s8","s7":"s6","s8":"s5"},"f":{"s0":"s3","s1":"s2","s2":"s7","s3":"s5","s4":"s1","s5":"s3","s6":"s4","s7":"s4","s8":"s4"},"g":{"s0":"s3","s1":"s2","s2":"s1","s3":"s5","s4":"s5","s5":"s1","s6":"s6","s7":"s6","s8":"s6"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 )
With the initial state: s0, and accepting states: ['s0', 's3', 's7', 's8', 's5', 's6'],
What will be the state after reading the following input: c c | s3 | 2 | 9 | 7 | 9_7 | ( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 ) |
8bbf63f1-2e76-41a0-aca5-ca919125955c | 4753338d-b3ce-404d-8bfa-c8291478e2a5 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdefg", "accepting_states": ["s0", "s3", "s7", "s8", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s6"]}]} | 4 | {"a":{"s0":"s1","s1":"s5","s2":"s3","s3":"s0","s4":"s8","s5":"s4","s6":"s4","s7":"s8","s8":"s8"},"b":{"s0":"s1","s1":"s5","s2":"s8","s3":"s4","s4":"s8","s5":"s1","s6":"s4","s7":"s3","s8":"s7"},"c":{"s0":"s2","s1":"s6","s2":"s3","s3":"s2","s4":"s6","s5":"s7","s6":"s8","s7":"s7","s8":"s5"},"d":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s2","s5":"s0","s6":"s6","s7":"s3","s8":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s4","s4":"s0","s5":"s1","s6":"s8","s7":"s6","s8":"s5"},"f":{"s0":"s3","s1":"s2","s2":"s7","s3":"s5","s4":"s1","s5":"s3","s6":"s4","s7":"s4","s8":"s4"},"g":{"s0":"s3","s1":"s2","s2":"s1","s3":"s5","s4":"s5","s5":"s1","s6":"s6","s7":"s6","s8":"s6"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 )
With the initial state: s0, and accepting states: ['s0', 's3', 's7', 's8', 's5', 's6'],
What will be the state after reading the following input: c c d | s6 | 3 | 9 | 7 | 9_7 | ( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 ) |
5bcbf6dc-18fb-4533-876e-e238ba3943cd | 4753338d-b3ce-404d-8bfa-c8291478e2a5 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdefg", "accepting_states": ["s0", "s3", "s7", "s8", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s6"]}]} | 4 | {"a":{"s0":"s1","s1":"s5","s2":"s3","s3":"s0","s4":"s8","s5":"s4","s6":"s4","s7":"s8","s8":"s8"},"b":{"s0":"s1","s1":"s5","s2":"s8","s3":"s4","s4":"s8","s5":"s1","s6":"s4","s7":"s3","s8":"s7"},"c":{"s0":"s2","s1":"s6","s2":"s3","s3":"s2","s4":"s6","s5":"s7","s6":"s8","s7":"s7","s8":"s5"},"d":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s2","s5":"s0","s6":"s6","s7":"s3","s8":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s4","s4":"s0","s5":"s1","s6":"s8","s7":"s6","s8":"s5"},"f":{"s0":"s3","s1":"s2","s2":"s7","s3":"s5","s4":"s1","s5":"s3","s6":"s4","s7":"s4","s8":"s4"},"g":{"s0":"s3","s1":"s2","s2":"s1","s3":"s5","s4":"s5","s5":"s1","s6":"s6","s7":"s6","s8":"s6"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 )
With the initial state: s0, and accepting states: ['s0', 's3', 's7', 's8', 's5', 's6'],
What will be the state after reading the following input: c c d a | s4 | 4 | 9 | 7 | 9_7 | ( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 ) |
9c2dfe20-fbf2-47c1-9da7-ca0cd8377665 | 4753338d-b3ce-404d-8bfa-c8291478e2a5 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdefg", "accepting_states": ["s0", "s3", "s7", "s8", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s6"]}]} | 4 | {"a":{"s0":"s1","s1":"s5","s2":"s3","s3":"s0","s4":"s8","s5":"s4","s6":"s4","s7":"s8","s8":"s8"},"b":{"s0":"s1","s1":"s5","s2":"s8","s3":"s4","s4":"s8","s5":"s1","s6":"s4","s7":"s3","s8":"s7"},"c":{"s0":"s2","s1":"s6","s2":"s3","s3":"s2","s4":"s6","s5":"s7","s6":"s8","s7":"s7","s8":"s5"},"d":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s2","s5":"s0","s6":"s6","s7":"s3","s8":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s4","s4":"s0","s5":"s1","s6":"s8","s7":"s6","s8":"s5"},"f":{"s0":"s3","s1":"s2","s2":"s7","s3":"s5","s4":"s1","s5":"s3","s6":"s4","s7":"s4","s8":"s4"},"g":{"s0":"s3","s1":"s2","s2":"s1","s3":"s5","s4":"s5","s5":"s1","s6":"s6","s7":"s6","s8":"s6"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 )
With the initial state: s0, and accepting states: ['s0', 's3', 's7', 's8', 's5', 's6'],
What will be the state after reading the following input: c c d a f | s1 | 5 | 9 | 7 | 9_7 | ( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 ) |
302d4241-7f5f-4503-9677-723f12845a1f | 4753338d-b3ce-404d-8bfa-c8291478e2a5 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdefg", "accepting_states": ["s0", "s3", "s7", "s8", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s6"]}]} | 4 | {"a":{"s0":"s1","s1":"s5","s2":"s3","s3":"s0","s4":"s8","s5":"s4","s6":"s4","s7":"s8","s8":"s8"},"b":{"s0":"s1","s1":"s5","s2":"s8","s3":"s4","s4":"s8","s5":"s1","s6":"s4","s7":"s3","s8":"s7"},"c":{"s0":"s2","s1":"s6","s2":"s3","s3":"s2","s4":"s6","s5":"s7","s6":"s8","s7":"s7","s8":"s5"},"d":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s2","s5":"s0","s6":"s6","s7":"s3","s8":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s4","s4":"s0","s5":"s1","s6":"s8","s7":"s6","s8":"s5"},"f":{"s0":"s3","s1":"s2","s2":"s7","s3":"s5","s4":"s1","s5":"s3","s6":"s4","s7":"s4","s8":"s4"},"g":{"s0":"s3","s1":"s2","s2":"s1","s3":"s5","s4":"s5","s5":"s1","s6":"s6","s7":"s6","s8":"s6"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 )
With the initial state: s0, and accepting states: ['s0', 's3', 's7', 's8', 's5', 's6'],
What will be the state after reading the following input: c c d a f f | s2 | 6 | 9 | 7 | 9_7 | ( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 ) |
a6acbf27-bf5b-494e-8988-0dbf047b0f4b | 4753338d-b3ce-404d-8bfa-c8291478e2a5 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdefg", "accepting_states": ["s0", "s3", "s7", "s8", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s6"]}]} | 4 | {"a":{"s0":"s1","s1":"s5","s2":"s3","s3":"s0","s4":"s8","s5":"s4","s6":"s4","s7":"s8","s8":"s8"},"b":{"s0":"s1","s1":"s5","s2":"s8","s3":"s4","s4":"s8","s5":"s1","s6":"s4","s7":"s3","s8":"s7"},"c":{"s0":"s2","s1":"s6","s2":"s3","s3":"s2","s4":"s6","s5":"s7","s6":"s8","s7":"s7","s8":"s5"},"d":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s2","s5":"s0","s6":"s6","s7":"s3","s8":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s4","s4":"s0","s5":"s1","s6":"s8","s7":"s6","s8":"s5"},"f":{"s0":"s3","s1":"s2","s2":"s7","s3":"s5","s4":"s1","s5":"s3","s6":"s4","s7":"s4","s8":"s4"},"g":{"s0":"s3","s1":"s2","s2":"s1","s3":"s5","s4":"s5","s5":"s1","s6":"s6","s7":"s6","s8":"s6"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 )
With the initial state: s0, and accepting states: ['s0', 's3', 's7', 's8', 's5', 's6'],
What will be the state after reading the following input: c c d a f f f | s7 | 7 | 9 | 7 | 9_7 | ( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 ) |
c6f0a952-e0fb-49e3-b025-247958ba046a | 4753338d-b3ce-404d-8bfa-c8291478e2a5 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdefg", "accepting_states": ["s0", "s3", "s7", "s8", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s6"]}]} | 4 | {"a":{"s0":"s1","s1":"s5","s2":"s3","s3":"s0","s4":"s8","s5":"s4","s6":"s4","s7":"s8","s8":"s8"},"b":{"s0":"s1","s1":"s5","s2":"s8","s3":"s4","s4":"s8","s5":"s1","s6":"s4","s7":"s3","s8":"s7"},"c":{"s0":"s2","s1":"s6","s2":"s3","s3":"s2","s4":"s6","s5":"s7","s6":"s8","s7":"s7","s8":"s5"},"d":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s2","s5":"s0","s6":"s6","s7":"s3","s8":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s4","s4":"s0","s5":"s1","s6":"s8","s7":"s6","s8":"s5"},"f":{"s0":"s3","s1":"s2","s2":"s7","s3":"s5","s4":"s1","s5":"s3","s6":"s4","s7":"s4","s8":"s4"},"g":{"s0":"s3","s1":"s2","s2":"s1","s3":"s5","s4":"s5","s5":"s1","s6":"s6","s7":"s6","s8":"s6"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 )
With the initial state: s0, and accepting states: ['s0', 's3', 's7', 's8', 's5', 's6'],
What will be the state after reading the following input: c c d a f f f f | s4 | 8 | 9 | 7 | 9_7 | ( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 ) |
55780125-6bf4-4f45-a549-99e55a7f8d6d | 4753338d-b3ce-404d-8bfa-c8291478e2a5 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdefg", "accepting_states": ["s0", "s3", "s7", "s8", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s6"]}]} | 4 | {"a":{"s0":"s1","s1":"s5","s2":"s3","s3":"s0","s4":"s8","s5":"s4","s6":"s4","s7":"s8","s8":"s8"},"b":{"s0":"s1","s1":"s5","s2":"s8","s3":"s4","s4":"s8","s5":"s1","s6":"s4","s7":"s3","s8":"s7"},"c":{"s0":"s2","s1":"s6","s2":"s3","s3":"s2","s4":"s6","s5":"s7","s6":"s8","s7":"s7","s8":"s5"},"d":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s2","s5":"s0","s6":"s6","s7":"s3","s8":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s4","s4":"s0","s5":"s1","s6":"s8","s7":"s6","s8":"s5"},"f":{"s0":"s3","s1":"s2","s2":"s7","s3":"s5","s4":"s1","s5":"s3","s6":"s4","s7":"s4","s8":"s4"},"g":{"s0":"s3","s1":"s2","s2":"s1","s3":"s5","s4":"s5","s5":"s1","s6":"s6","s7":"s6","s8":"s6"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 )
With the initial state: s0, and accepting states: ['s0', 's3', 's7', 's8', 's5', 's6'],
What will be the state after reading the following input: c c d a f f f f d | s2 | 9 | 9 | 7 | 9_7 | ( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 ) |
cf8c16e3-07fa-46fc-9cd1-592ba5fc0c54 | 4753338d-b3ce-404d-8bfa-c8291478e2a5 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdefg", "accepting_states": ["s0", "s3", "s7", "s8", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s6"]}]} | 4 | {"a":{"s0":"s1","s1":"s5","s2":"s3","s3":"s0","s4":"s8","s5":"s4","s6":"s4","s7":"s8","s8":"s8"},"b":{"s0":"s1","s1":"s5","s2":"s8","s3":"s4","s4":"s8","s5":"s1","s6":"s4","s7":"s3","s8":"s7"},"c":{"s0":"s2","s1":"s6","s2":"s3","s3":"s2","s4":"s6","s5":"s7","s6":"s8","s7":"s7","s8":"s5"},"d":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s2","s5":"s0","s6":"s6","s7":"s3","s8":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s4","s4":"s0","s5":"s1","s6":"s8","s7":"s6","s8":"s5"},"f":{"s0":"s3","s1":"s2","s2":"s7","s3":"s5","s4":"s1","s5":"s3","s6":"s4","s7":"s4","s8":"s4"},"g":{"s0":"s3","s1":"s2","s2":"s1","s3":"s5","s4":"s5","s5":"s1","s6":"s6","s7":"s6","s8":"s6"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 )
With the initial state: s0, and accepting states: ['s0', 's3', 's7', 's8', 's5', 's6'],
What will be the state after reading the following input: c c d a f f f f d g | s1 | 10 | 9 | 7 | 9_7 | ( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 ) |
89c3d9dc-a092-47a8-bfc5-a56172eb9427 | 4753338d-b3ce-404d-8bfa-c8291478e2a5 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdefg", "accepting_states": ["s0", "s3", "s7", "s8", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s6"]}]} | 4 | {"a":{"s0":"s1","s1":"s5","s2":"s3","s3":"s0","s4":"s8","s5":"s4","s6":"s4","s7":"s8","s8":"s8"},"b":{"s0":"s1","s1":"s5","s2":"s8","s3":"s4","s4":"s8","s5":"s1","s6":"s4","s7":"s3","s8":"s7"},"c":{"s0":"s2","s1":"s6","s2":"s3","s3":"s2","s4":"s6","s5":"s7","s6":"s8","s7":"s7","s8":"s5"},"d":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s2","s5":"s0","s6":"s6","s7":"s3","s8":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s4","s4":"s0","s5":"s1","s6":"s8","s7":"s6","s8":"s5"},"f":{"s0":"s3","s1":"s2","s2":"s7","s3":"s5","s4":"s1","s5":"s3","s6":"s4","s7":"s4","s8":"s4"},"g":{"s0":"s3","s1":"s2","s2":"s1","s3":"s5","s4":"s5","s5":"s1","s6":"s6","s7":"s6","s8":"s6"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 )
With the initial state: s0, and accepting states: ['s0', 's3', 's7', 's8', 's5', 's6'],
What will be the state after reading the following input: c c d a f f f f d g f | s2 | 11 | 9 | 7 | 9_7 | ( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 ) |
f9eae2ed-4cc6-4de2-8866-775343c851e9 | 4753338d-b3ce-404d-8bfa-c8291478e2a5 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdefg", "accepting_states": ["s0", "s3", "s7", "s8", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s6"]}]} | 4 | {"a":{"s0":"s1","s1":"s5","s2":"s3","s3":"s0","s4":"s8","s5":"s4","s6":"s4","s7":"s8","s8":"s8"},"b":{"s0":"s1","s1":"s5","s2":"s8","s3":"s4","s4":"s8","s5":"s1","s6":"s4","s7":"s3","s8":"s7"},"c":{"s0":"s2","s1":"s6","s2":"s3","s3":"s2","s4":"s6","s5":"s7","s6":"s8","s7":"s7","s8":"s5"},"d":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s2","s5":"s0","s6":"s6","s7":"s3","s8":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s4","s4":"s0","s5":"s1","s6":"s8","s7":"s6","s8":"s5"},"f":{"s0":"s3","s1":"s2","s2":"s7","s3":"s5","s4":"s1","s5":"s3","s6":"s4","s7":"s4","s8":"s4"},"g":{"s0":"s3","s1":"s2","s2":"s1","s3":"s5","s4":"s5","s5":"s1","s6":"s6","s7":"s6","s8":"s6"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 )
With the initial state: s0, and accepting states: ['s0', 's3', 's7', 's8', 's5', 's6'],
What will be the state after reading the following input: c c d a f f f f d g f e | s2 | 12 | 9 | 7 | 9_7 | ( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 ) |
92051bad-3924-4c70-ae87-30a02192e072 | 4753338d-b3ce-404d-8bfa-c8291478e2a5 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdefg", "accepting_states": ["s0", "s3", "s7", "s8", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s6"]}]} | 4 | {"a":{"s0":"s1","s1":"s5","s2":"s3","s3":"s0","s4":"s8","s5":"s4","s6":"s4","s7":"s8","s8":"s8"},"b":{"s0":"s1","s1":"s5","s2":"s8","s3":"s4","s4":"s8","s5":"s1","s6":"s4","s7":"s3","s8":"s7"},"c":{"s0":"s2","s1":"s6","s2":"s3","s3":"s2","s4":"s6","s5":"s7","s6":"s8","s7":"s7","s8":"s5"},"d":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s2","s5":"s0","s6":"s6","s7":"s3","s8":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s4","s4":"s0","s5":"s1","s6":"s8","s7":"s6","s8":"s5"},"f":{"s0":"s3","s1":"s2","s2":"s7","s3":"s5","s4":"s1","s5":"s3","s6":"s4","s7":"s4","s8":"s4"},"g":{"s0":"s3","s1":"s2","s2":"s1","s3":"s5","s4":"s5","s5":"s1","s6":"s6","s7":"s6","s8":"s6"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 )
With the initial state: s0, and accepting states: ['s0', 's3', 's7', 's8', 's5', 's6'],
What will be the state after reading the following input: c c d a f f f f d g f e g | s1 | 13 | 9 | 7 | 9_7 | ( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 ) |
a859eb5d-d432-43ec-857f-b187dbdfc266 | 4753338d-b3ce-404d-8bfa-c8291478e2a5 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdefg", "accepting_states": ["s0", "s3", "s7", "s8", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s6"]}]} | 4 | {"a":{"s0":"s1","s1":"s5","s2":"s3","s3":"s0","s4":"s8","s5":"s4","s6":"s4","s7":"s8","s8":"s8"},"b":{"s0":"s1","s1":"s5","s2":"s8","s3":"s4","s4":"s8","s5":"s1","s6":"s4","s7":"s3","s8":"s7"},"c":{"s0":"s2","s1":"s6","s2":"s3","s3":"s2","s4":"s6","s5":"s7","s6":"s8","s7":"s7","s8":"s5"},"d":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s2","s5":"s0","s6":"s6","s7":"s3","s8":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s4","s4":"s0","s5":"s1","s6":"s8","s7":"s6","s8":"s5"},"f":{"s0":"s3","s1":"s2","s2":"s7","s3":"s5","s4":"s1","s5":"s3","s6":"s4","s7":"s4","s8":"s4"},"g":{"s0":"s3","s1":"s2","s2":"s1","s3":"s5","s4":"s5","s5":"s1","s6":"s6","s7":"s6","s8":"s6"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 )
With the initial state: s0, and accepting states: ['s0', 's3', 's7', 's8', 's5', 's6'],
What will be the state after reading the following input: c c d a f f f f d g f e g f | s2 | 14 | 9 | 7 | 9_7 | ( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 ) |
2d94e99c-4deb-4650-bfe3-8946c208c3aa | 4753338d-b3ce-404d-8bfa-c8291478e2a5 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdefg", "accepting_states": ["s0", "s3", "s7", "s8", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s6"]}]} | 4 | {"a":{"s0":"s1","s1":"s5","s2":"s3","s3":"s0","s4":"s8","s5":"s4","s6":"s4","s7":"s8","s8":"s8"},"b":{"s0":"s1","s1":"s5","s2":"s8","s3":"s4","s4":"s8","s5":"s1","s6":"s4","s7":"s3","s8":"s7"},"c":{"s0":"s2","s1":"s6","s2":"s3","s3":"s2","s4":"s6","s5":"s7","s6":"s8","s7":"s7","s8":"s5"},"d":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s2","s5":"s0","s6":"s6","s7":"s3","s8":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s4","s4":"s0","s5":"s1","s6":"s8","s7":"s6","s8":"s5"},"f":{"s0":"s3","s1":"s2","s2":"s7","s3":"s5","s4":"s1","s5":"s3","s6":"s4","s7":"s4","s8":"s4"},"g":{"s0":"s3","s1":"s2","s2":"s1","s3":"s5","s4":"s5","s5":"s1","s6":"s6","s7":"s6","s8":"s6"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 )
With the initial state: s0, and accepting states: ['s0', 's3', 's7', 's8', 's5', 's6'],
What will be the state after reading the following input: c c d a f f f f d g f e g f g | s1 | 15 | 9 | 7 | 9_7 | ( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 ) |
7d7e2a2e-f191-4178-b0af-5be74eed33a9 | 4753338d-b3ce-404d-8bfa-c8291478e2a5 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdefg", "accepting_states": ["s0", "s3", "s7", "s8", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s6"]}]} | 4 | {"a":{"s0":"s1","s1":"s5","s2":"s3","s3":"s0","s4":"s8","s5":"s4","s6":"s4","s7":"s8","s8":"s8"},"b":{"s0":"s1","s1":"s5","s2":"s8","s3":"s4","s4":"s8","s5":"s1","s6":"s4","s7":"s3","s8":"s7"},"c":{"s0":"s2","s1":"s6","s2":"s3","s3":"s2","s4":"s6","s5":"s7","s6":"s8","s7":"s7","s8":"s5"},"d":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s2","s5":"s0","s6":"s6","s7":"s3","s8":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s4","s4":"s0","s5":"s1","s6":"s8","s7":"s6","s8":"s5"},"f":{"s0":"s3","s1":"s2","s2":"s7","s3":"s5","s4":"s1","s5":"s3","s6":"s4","s7":"s4","s8":"s4"},"g":{"s0":"s3","s1":"s2","s2":"s1","s3":"s5","s4":"s5","s5":"s1","s6":"s6","s7":"s6","s8":"s6"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 )
With the initial state: s0, and accepting states: ['s0', 's3', 's7', 's8', 's5', 's6'],
What will be the state after reading the following input: c c d a f f f f d g f e g f g f | s2 | 16 | 9 | 7 | 9_7 | ( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 ) |
33e72dce-e2d0-48d3-bc4b-1148b01b456a | 4753338d-b3ce-404d-8bfa-c8291478e2a5 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdefg", "accepting_states": ["s0", "s3", "s7", "s8", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s6"]}]} | 4 | {"a":{"s0":"s1","s1":"s5","s2":"s3","s3":"s0","s4":"s8","s5":"s4","s6":"s4","s7":"s8","s8":"s8"},"b":{"s0":"s1","s1":"s5","s2":"s8","s3":"s4","s4":"s8","s5":"s1","s6":"s4","s7":"s3","s8":"s7"},"c":{"s0":"s2","s1":"s6","s2":"s3","s3":"s2","s4":"s6","s5":"s7","s6":"s8","s7":"s7","s8":"s5"},"d":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s2","s5":"s0","s6":"s6","s7":"s3","s8":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s4","s4":"s0","s5":"s1","s6":"s8","s7":"s6","s8":"s5"},"f":{"s0":"s3","s1":"s2","s2":"s7","s3":"s5","s4":"s1","s5":"s3","s6":"s4","s7":"s4","s8":"s4"},"g":{"s0":"s3","s1":"s2","s2":"s1","s3":"s5","s4":"s5","s5":"s1","s6":"s6","s7":"s6","s8":"s6"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 )
With the initial state: s0, and accepting states: ['s0', 's3', 's7', 's8', 's5', 's6'],
What will be the state after reading the following input: c c d a f f f f d g f e g f g f d | s8 | 17 | 9 | 7 | 9_7 | ( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 ) |
9ecff8b3-a3ef-4daa-8a04-4ce5fee7bfee | 4753338d-b3ce-404d-8bfa-c8291478e2a5 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdefg", "accepting_states": ["s0", "s3", "s7", "s8", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s6"]}]} | 4 | {"a":{"s0":"s1","s1":"s5","s2":"s3","s3":"s0","s4":"s8","s5":"s4","s6":"s4","s7":"s8","s8":"s8"},"b":{"s0":"s1","s1":"s5","s2":"s8","s3":"s4","s4":"s8","s5":"s1","s6":"s4","s7":"s3","s8":"s7"},"c":{"s0":"s2","s1":"s6","s2":"s3","s3":"s2","s4":"s6","s5":"s7","s6":"s8","s7":"s7","s8":"s5"},"d":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s2","s5":"s0","s6":"s6","s7":"s3","s8":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s4","s4":"s0","s5":"s1","s6":"s8","s7":"s6","s8":"s5"},"f":{"s0":"s3","s1":"s2","s2":"s7","s3":"s5","s4":"s1","s5":"s3","s6":"s4","s7":"s4","s8":"s4"},"g":{"s0":"s3","s1":"s2","s2":"s1","s3":"s5","s4":"s5","s5":"s1","s6":"s6","s7":"s6","s8":"s6"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 )
With the initial state: s0, and accepting states: ['s0', 's3', 's7', 's8', 's5', 's6'],
What will be the state after reading the following input: c c d a f f f f d g f e g f g f d b | s7 | 18 | 9 | 7 | 9_7 | ( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 ) |
d03b83a3-f597-48c9-a3b7-765fe4a50817 | 4753338d-b3ce-404d-8bfa-c8291478e2a5 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdefg", "accepting_states": ["s0", "s3", "s7", "s8", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s6"]}]} | 4 | {"a":{"s0":"s1","s1":"s5","s2":"s3","s3":"s0","s4":"s8","s5":"s4","s6":"s4","s7":"s8","s8":"s8"},"b":{"s0":"s1","s1":"s5","s2":"s8","s3":"s4","s4":"s8","s5":"s1","s6":"s4","s7":"s3","s8":"s7"},"c":{"s0":"s2","s1":"s6","s2":"s3","s3":"s2","s4":"s6","s5":"s7","s6":"s8","s7":"s7","s8":"s5"},"d":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s2","s5":"s0","s6":"s6","s7":"s3","s8":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s4","s4":"s0","s5":"s1","s6":"s8","s7":"s6","s8":"s5"},"f":{"s0":"s3","s1":"s2","s2":"s7","s3":"s5","s4":"s1","s5":"s3","s6":"s4","s7":"s4","s8":"s4"},"g":{"s0":"s3","s1":"s2","s2":"s1","s3":"s5","s4":"s5","s5":"s1","s6":"s6","s7":"s6","s8":"s6"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 )
With the initial state: s0, and accepting states: ['s0', 's3', 's7', 's8', 's5', 's6'],
What will be the state after reading the following input: c c d a f f f f d g f e g f g f d b d | s3 | 19 | 9 | 7 | 9_7 | ( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 ) |
073106cd-200a-4ec9-8711-b44987fd6909 | 4753338d-b3ce-404d-8bfa-c8291478e2a5 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdefg", "accepting_states": ["s0", "s3", "s7", "s8", "s5", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s6"]}]} | 4 | {"a":{"s0":"s1","s1":"s5","s2":"s3","s3":"s0","s4":"s8","s5":"s4","s6":"s4","s7":"s8","s8":"s8"},"b":{"s0":"s1","s1":"s5","s2":"s8","s3":"s4","s4":"s8","s5":"s1","s6":"s4","s7":"s3","s8":"s7"},"c":{"s0":"s2","s1":"s6","s2":"s3","s3":"s2","s4":"s6","s5":"s7","s6":"s8","s7":"s7","s8":"s5"},"d":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s2","s5":"s0","s6":"s6","s7":"s3","s8":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s4","s4":"s0","s5":"s1","s6":"s8","s7":"s6","s8":"s5"},"f":{"s0":"s3","s1":"s2","s2":"s7","s3":"s5","s4":"s1","s5":"s3","s6":"s4","s7":"s4","s8":"s4"},"g":{"s0":"s3","s1":"s2","s2":"s1","s3":"s5","s4":"s5","s5":"s1","s6":"s6","s7":"s6","s8":"s6"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 )
With the initial state: s0, and accepting states: ['s0', 's3', 's7', 's8', 's5', 's6'],
What will be the state after reading the following input: c c d a f f f f d g f e g f g f d b d a | s0 | 20 | 9 | 7 | 9_7 | ( s0 , a , s1 )
( s1 , a , s5 )
( s2 , a , s3 )
( s3 , a , s0 )
( s4 , a , s8 )
( s5 , a , s4 )
( s6 , a , s4 )
( s7 , a , s8 )
( s8 , a , s8 )
( s0 , b , s1 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s4 )
( s4 , b , s8 )
( s5 , b , s1 )
( s6 , b , s4 )
( s7 , b , s3 )
( s8 , b , s7 )
( s0 , c , s2 )
( s1 , c , s6 )
( s2 , c , s3 )
( s3 , c , s2 )
( s4 , c , s6 )
( s5 , c , s7 )
( s6 , c , s8 )
( s7 , c , s7 )
( s8 , c , s5 )
( s0 , d , s1 )
( s1 , d , s1 )
( s2 , d , s8 )
( s3 , d , s6 )
( s4 , d , s2 )
( s5 , d , s0 )
( s6 , d , s6 )
( s7 , d , s3 )
( s8 , d , s1 )
( s0 , e , s1 )
( s1 , e , s1 )
( s2 , e , s2 )
( s3 , e , s4 )
( s4 , e , s0 )
( s5 , e , s1 )
( s6 , e , s8 )
( s7 , e , s6 )
( s8 , e , s5 )
( s0 , f , s3 )
( s1 , f , s2 )
( s2 , f , s7 )
( s3 , f , s5 )
( s4 , f , s1 )
( s5 , f , s3 )
( s6 , f , s4 )
( s7 , f , s4 )
( s8 , f , s4 )
( s0 , g , s3 )
( s1 , g , s2 )
( s2 , g , s1 )
( s3 , g , s5 )
( s4 , g , s5 )
( s5 , g , s1 )
( s6 , g , s6 )
( s7 , g , s6 )
( s8 , g , s6 ) |