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 |
---|---|---|---|---|---|---|---|---|---|---|---|
7562dba6-63b1-48f8-9e81-6ebcd3da3ad9 | 70ea00dc-18e0-4117-9f5e-27cffcf57682 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s5", "s1", "s3", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s1","s1":"s8","s2":"s4","s3":"s0","s4":"s7","s5":"s5","s6":"s5","s7":"s8","s8":"s0"},"b":{"s0":"s3","s1":"s5","s2":"s8","s3":"s2","s4":"s3","s5":"s8","s6":"s2","s7":"s0","s8":"s4"},"c":{"s0":"s2","s1":"s8","s2":"s0","s3":"s3","s4":"s4","s5":"s0","s6":"s4","s7":"s6","s8":"s7"},"d":{"s0":"s0","s1":"s6","s2":"s2","s3":"s7","s4":"s1","s5":"s1","s6":"s2","s7":"s3","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 )
With the initial state: s0, and accepting states: ['s5', 's1', 's3', 's4'],
What will be the state after reading the following input: d | s0 | 1 | 9 | 4 | 9_4 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 ) |
d9314f8b-ec6b-4d6d-8a4d-3d79856cb734 | 70ea00dc-18e0-4117-9f5e-27cffcf57682 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s5", "s1", "s3", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s1","s1":"s8","s2":"s4","s3":"s0","s4":"s7","s5":"s5","s6":"s5","s7":"s8","s8":"s0"},"b":{"s0":"s3","s1":"s5","s2":"s8","s3":"s2","s4":"s3","s5":"s8","s6":"s2","s7":"s0","s8":"s4"},"c":{"s0":"s2","s1":"s8","s2":"s0","s3":"s3","s4":"s4","s5":"s0","s6":"s4","s7":"s6","s8":"s7"},"d":{"s0":"s0","s1":"s6","s2":"s2","s3":"s7","s4":"s1","s5":"s1","s6":"s2","s7":"s3","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 )
With the initial state: s0, and accepting states: ['s5', 's1', 's3', 's4'],
What will be the state after reading the following input: d d | s0 | 2 | 9 | 4 | 9_4 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 ) |
9e22edea-cfc0-4dd7-82e5-5bc7db97a4fd | 70ea00dc-18e0-4117-9f5e-27cffcf57682 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s5", "s1", "s3", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s1","s1":"s8","s2":"s4","s3":"s0","s4":"s7","s5":"s5","s6":"s5","s7":"s8","s8":"s0"},"b":{"s0":"s3","s1":"s5","s2":"s8","s3":"s2","s4":"s3","s5":"s8","s6":"s2","s7":"s0","s8":"s4"},"c":{"s0":"s2","s1":"s8","s2":"s0","s3":"s3","s4":"s4","s5":"s0","s6":"s4","s7":"s6","s8":"s7"},"d":{"s0":"s0","s1":"s6","s2":"s2","s3":"s7","s4":"s1","s5":"s1","s6":"s2","s7":"s3","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 )
With the initial state: s0, and accepting states: ['s5', 's1', 's3', 's4'],
What will be the state after reading the following input: d d b | s3 | 3 | 9 | 4 | 9_4 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 ) |
89e57c5f-0bd3-4aa4-a9b5-4e4afd6245c8 | 70ea00dc-18e0-4117-9f5e-27cffcf57682 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s5", "s1", "s3", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s1","s1":"s8","s2":"s4","s3":"s0","s4":"s7","s5":"s5","s6":"s5","s7":"s8","s8":"s0"},"b":{"s0":"s3","s1":"s5","s2":"s8","s3":"s2","s4":"s3","s5":"s8","s6":"s2","s7":"s0","s8":"s4"},"c":{"s0":"s2","s1":"s8","s2":"s0","s3":"s3","s4":"s4","s5":"s0","s6":"s4","s7":"s6","s8":"s7"},"d":{"s0":"s0","s1":"s6","s2":"s2","s3":"s7","s4":"s1","s5":"s1","s6":"s2","s7":"s3","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 )
With the initial state: s0, and accepting states: ['s5', 's1', 's3', 's4'],
What will be the state after reading the following input: d d b c | s3 | 4 | 9 | 4 | 9_4 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 ) |
c022b72b-f32d-4d4a-97eb-3ab7c9e6c8db | 70ea00dc-18e0-4117-9f5e-27cffcf57682 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s5", "s1", "s3", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s1","s1":"s8","s2":"s4","s3":"s0","s4":"s7","s5":"s5","s6":"s5","s7":"s8","s8":"s0"},"b":{"s0":"s3","s1":"s5","s2":"s8","s3":"s2","s4":"s3","s5":"s8","s6":"s2","s7":"s0","s8":"s4"},"c":{"s0":"s2","s1":"s8","s2":"s0","s3":"s3","s4":"s4","s5":"s0","s6":"s4","s7":"s6","s8":"s7"},"d":{"s0":"s0","s1":"s6","s2":"s2","s3":"s7","s4":"s1","s5":"s1","s6":"s2","s7":"s3","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 )
With the initial state: s0, and accepting states: ['s5', 's1', 's3', 's4'],
What will be the state after reading the following input: d d b c b | s2 | 5 | 9 | 4 | 9_4 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 ) |
c6526ebb-ef74-49f4-9e13-dcb1d806fd77 | 70ea00dc-18e0-4117-9f5e-27cffcf57682 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s5", "s1", "s3", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s1","s1":"s8","s2":"s4","s3":"s0","s4":"s7","s5":"s5","s6":"s5","s7":"s8","s8":"s0"},"b":{"s0":"s3","s1":"s5","s2":"s8","s3":"s2","s4":"s3","s5":"s8","s6":"s2","s7":"s0","s8":"s4"},"c":{"s0":"s2","s1":"s8","s2":"s0","s3":"s3","s4":"s4","s5":"s0","s6":"s4","s7":"s6","s8":"s7"},"d":{"s0":"s0","s1":"s6","s2":"s2","s3":"s7","s4":"s1","s5":"s1","s6":"s2","s7":"s3","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 )
With the initial state: s0, and accepting states: ['s5', 's1', 's3', 's4'],
What will be the state after reading the following input: d d b c b b | s8 | 6 | 9 | 4 | 9_4 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 ) |
f3652383-8f8c-4b89-85ab-3aa71f2be8c8 | 70ea00dc-18e0-4117-9f5e-27cffcf57682 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s5", "s1", "s3", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s1","s1":"s8","s2":"s4","s3":"s0","s4":"s7","s5":"s5","s6":"s5","s7":"s8","s8":"s0"},"b":{"s0":"s3","s1":"s5","s2":"s8","s3":"s2","s4":"s3","s5":"s8","s6":"s2","s7":"s0","s8":"s4"},"c":{"s0":"s2","s1":"s8","s2":"s0","s3":"s3","s4":"s4","s5":"s0","s6":"s4","s7":"s6","s8":"s7"},"d":{"s0":"s0","s1":"s6","s2":"s2","s3":"s7","s4":"s1","s5":"s1","s6":"s2","s7":"s3","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 )
With the initial state: s0, and accepting states: ['s5', 's1', 's3', 's4'],
What will be the state after reading the following input: d d b c b b b | s4 | 7 | 9 | 4 | 9_4 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 ) |
b26a5286-1f2c-44ff-8251-b869af2fe00b | 70ea00dc-18e0-4117-9f5e-27cffcf57682 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s5", "s1", "s3", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s1","s1":"s8","s2":"s4","s3":"s0","s4":"s7","s5":"s5","s6":"s5","s7":"s8","s8":"s0"},"b":{"s0":"s3","s1":"s5","s2":"s8","s3":"s2","s4":"s3","s5":"s8","s6":"s2","s7":"s0","s8":"s4"},"c":{"s0":"s2","s1":"s8","s2":"s0","s3":"s3","s4":"s4","s5":"s0","s6":"s4","s7":"s6","s8":"s7"},"d":{"s0":"s0","s1":"s6","s2":"s2","s3":"s7","s4":"s1","s5":"s1","s6":"s2","s7":"s3","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 )
With the initial state: s0, and accepting states: ['s5', 's1', 's3', 's4'],
What will be the state after reading the following input: d d b c b b b b | s3 | 8 | 9 | 4 | 9_4 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 ) |
5da3c710-7ce9-41d7-9d26-f15761b141d9 | 70ea00dc-18e0-4117-9f5e-27cffcf57682 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s5", "s1", "s3", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s1","s1":"s8","s2":"s4","s3":"s0","s4":"s7","s5":"s5","s6":"s5","s7":"s8","s8":"s0"},"b":{"s0":"s3","s1":"s5","s2":"s8","s3":"s2","s4":"s3","s5":"s8","s6":"s2","s7":"s0","s8":"s4"},"c":{"s0":"s2","s1":"s8","s2":"s0","s3":"s3","s4":"s4","s5":"s0","s6":"s4","s7":"s6","s8":"s7"},"d":{"s0":"s0","s1":"s6","s2":"s2","s3":"s7","s4":"s1","s5":"s1","s6":"s2","s7":"s3","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 )
With the initial state: s0, and accepting states: ['s5', 's1', 's3', 's4'],
What will be the state after reading the following input: d d b c b b b b c | s3 | 9 | 9 | 4 | 9_4 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 ) |
1c4900d6-79ac-45c1-89d4-3ee9aff3918b | 70ea00dc-18e0-4117-9f5e-27cffcf57682 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s5", "s1", "s3", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s1","s1":"s8","s2":"s4","s3":"s0","s4":"s7","s5":"s5","s6":"s5","s7":"s8","s8":"s0"},"b":{"s0":"s3","s1":"s5","s2":"s8","s3":"s2","s4":"s3","s5":"s8","s6":"s2","s7":"s0","s8":"s4"},"c":{"s0":"s2","s1":"s8","s2":"s0","s3":"s3","s4":"s4","s5":"s0","s6":"s4","s7":"s6","s8":"s7"},"d":{"s0":"s0","s1":"s6","s2":"s2","s3":"s7","s4":"s1","s5":"s1","s6":"s2","s7":"s3","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 )
With the initial state: s0, and accepting states: ['s5', 's1', 's3', 's4'],
What will be the state after reading the following input: d d b c b b b b c a | s0 | 10 | 9 | 4 | 9_4 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 ) |
458d3a26-ad99-4687-bee6-43f762b0c312 | 70ea00dc-18e0-4117-9f5e-27cffcf57682 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s5", "s1", "s3", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s1","s1":"s8","s2":"s4","s3":"s0","s4":"s7","s5":"s5","s6":"s5","s7":"s8","s8":"s0"},"b":{"s0":"s3","s1":"s5","s2":"s8","s3":"s2","s4":"s3","s5":"s8","s6":"s2","s7":"s0","s8":"s4"},"c":{"s0":"s2","s1":"s8","s2":"s0","s3":"s3","s4":"s4","s5":"s0","s6":"s4","s7":"s6","s8":"s7"},"d":{"s0":"s0","s1":"s6","s2":"s2","s3":"s7","s4":"s1","s5":"s1","s6":"s2","s7":"s3","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 )
With the initial state: s0, and accepting states: ['s5', 's1', 's3', 's4'],
What will be the state after reading the following input: d d b c b b b b c a a | s1 | 11 | 9 | 4 | 9_4 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 ) |
2274c9eb-2945-4667-951b-f47551e0e30d | 70ea00dc-18e0-4117-9f5e-27cffcf57682 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s5", "s1", "s3", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s1","s1":"s8","s2":"s4","s3":"s0","s4":"s7","s5":"s5","s6":"s5","s7":"s8","s8":"s0"},"b":{"s0":"s3","s1":"s5","s2":"s8","s3":"s2","s4":"s3","s5":"s8","s6":"s2","s7":"s0","s8":"s4"},"c":{"s0":"s2","s1":"s8","s2":"s0","s3":"s3","s4":"s4","s5":"s0","s6":"s4","s7":"s6","s8":"s7"},"d":{"s0":"s0","s1":"s6","s2":"s2","s3":"s7","s4":"s1","s5":"s1","s6":"s2","s7":"s3","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 )
With the initial state: s0, and accepting states: ['s5', 's1', 's3', 's4'],
What will be the state after reading the following input: d d b c b b b b c a a d | s6 | 12 | 9 | 4 | 9_4 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 ) |
813c1466-e976-4eb9-8027-4b0c16709fc1 | 70ea00dc-18e0-4117-9f5e-27cffcf57682 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s5", "s1", "s3", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s1","s1":"s8","s2":"s4","s3":"s0","s4":"s7","s5":"s5","s6":"s5","s7":"s8","s8":"s0"},"b":{"s0":"s3","s1":"s5","s2":"s8","s3":"s2","s4":"s3","s5":"s8","s6":"s2","s7":"s0","s8":"s4"},"c":{"s0":"s2","s1":"s8","s2":"s0","s3":"s3","s4":"s4","s5":"s0","s6":"s4","s7":"s6","s8":"s7"},"d":{"s0":"s0","s1":"s6","s2":"s2","s3":"s7","s4":"s1","s5":"s1","s6":"s2","s7":"s3","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 )
With the initial state: s0, and accepting states: ['s5', 's1', 's3', 's4'],
What will be the state after reading the following input: d d b c b b b b c a a d a | s5 | 13 | 9 | 4 | 9_4 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 ) |
7b68cab8-5627-46b7-8b53-03f15f13f22d | 70ea00dc-18e0-4117-9f5e-27cffcf57682 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s5", "s1", "s3", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s1","s1":"s8","s2":"s4","s3":"s0","s4":"s7","s5":"s5","s6":"s5","s7":"s8","s8":"s0"},"b":{"s0":"s3","s1":"s5","s2":"s8","s3":"s2","s4":"s3","s5":"s8","s6":"s2","s7":"s0","s8":"s4"},"c":{"s0":"s2","s1":"s8","s2":"s0","s3":"s3","s4":"s4","s5":"s0","s6":"s4","s7":"s6","s8":"s7"},"d":{"s0":"s0","s1":"s6","s2":"s2","s3":"s7","s4":"s1","s5":"s1","s6":"s2","s7":"s3","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 )
With the initial state: s0, and accepting states: ['s5', 's1', 's3', 's4'],
What will be the state after reading the following input: d d b c b b b b c a a d a c | s0 | 14 | 9 | 4 | 9_4 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 ) |
09022a80-046a-4f69-838f-f566cec2143c | 70ea00dc-18e0-4117-9f5e-27cffcf57682 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s5", "s1", "s3", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s1","s1":"s8","s2":"s4","s3":"s0","s4":"s7","s5":"s5","s6":"s5","s7":"s8","s8":"s0"},"b":{"s0":"s3","s1":"s5","s2":"s8","s3":"s2","s4":"s3","s5":"s8","s6":"s2","s7":"s0","s8":"s4"},"c":{"s0":"s2","s1":"s8","s2":"s0","s3":"s3","s4":"s4","s5":"s0","s6":"s4","s7":"s6","s8":"s7"},"d":{"s0":"s0","s1":"s6","s2":"s2","s3":"s7","s4":"s1","s5":"s1","s6":"s2","s7":"s3","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 )
With the initial state: s0, and accepting states: ['s5', 's1', 's3', 's4'],
What will be the state after reading the following input: d d b c b b b b c a a d a c d | s0 | 15 | 9 | 4 | 9_4 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 ) |
a0f600f8-693c-4931-b013-8860690240f4 | 70ea00dc-18e0-4117-9f5e-27cffcf57682 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s5", "s1", "s3", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s1","s1":"s8","s2":"s4","s3":"s0","s4":"s7","s5":"s5","s6":"s5","s7":"s8","s8":"s0"},"b":{"s0":"s3","s1":"s5","s2":"s8","s3":"s2","s4":"s3","s5":"s8","s6":"s2","s7":"s0","s8":"s4"},"c":{"s0":"s2","s1":"s8","s2":"s0","s3":"s3","s4":"s4","s5":"s0","s6":"s4","s7":"s6","s8":"s7"},"d":{"s0":"s0","s1":"s6","s2":"s2","s3":"s7","s4":"s1","s5":"s1","s6":"s2","s7":"s3","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 )
With the initial state: s0, and accepting states: ['s5', 's1', 's3', 's4'],
What will be the state after reading the following input: d d b c b b b b c a a d a c d b | s3 | 16 | 9 | 4 | 9_4 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 ) |
a34305e5-db2d-4637-becd-4723ac0854c9 | 70ea00dc-18e0-4117-9f5e-27cffcf57682 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s5", "s1", "s3", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s1","s1":"s8","s2":"s4","s3":"s0","s4":"s7","s5":"s5","s6":"s5","s7":"s8","s8":"s0"},"b":{"s0":"s3","s1":"s5","s2":"s8","s3":"s2","s4":"s3","s5":"s8","s6":"s2","s7":"s0","s8":"s4"},"c":{"s0":"s2","s1":"s8","s2":"s0","s3":"s3","s4":"s4","s5":"s0","s6":"s4","s7":"s6","s8":"s7"},"d":{"s0":"s0","s1":"s6","s2":"s2","s3":"s7","s4":"s1","s5":"s1","s6":"s2","s7":"s3","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 )
With the initial state: s0, and accepting states: ['s5', 's1', 's3', 's4'],
What will be the state after reading the following input: d d b c b b b b c a a d a c d b a | s0 | 17 | 9 | 4 | 9_4 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 ) |
f51c373c-21cb-4585-9824-bc9f9269ce18 | 70ea00dc-18e0-4117-9f5e-27cffcf57682 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s5", "s1", "s3", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s1","s1":"s8","s2":"s4","s3":"s0","s4":"s7","s5":"s5","s6":"s5","s7":"s8","s8":"s0"},"b":{"s0":"s3","s1":"s5","s2":"s8","s3":"s2","s4":"s3","s5":"s8","s6":"s2","s7":"s0","s8":"s4"},"c":{"s0":"s2","s1":"s8","s2":"s0","s3":"s3","s4":"s4","s5":"s0","s6":"s4","s7":"s6","s8":"s7"},"d":{"s0":"s0","s1":"s6","s2":"s2","s3":"s7","s4":"s1","s5":"s1","s6":"s2","s7":"s3","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 )
With the initial state: s0, and accepting states: ['s5', 's1', 's3', 's4'],
What will be the state after reading the following input: d d b c b b b b c a a d a c d b a d | s0 | 18 | 9 | 4 | 9_4 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 ) |
7641aa55-7e82-4e21-a552-e5260cb956a4 | 70ea00dc-18e0-4117-9f5e-27cffcf57682 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s5", "s1", "s3", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s1","s1":"s8","s2":"s4","s3":"s0","s4":"s7","s5":"s5","s6":"s5","s7":"s8","s8":"s0"},"b":{"s0":"s3","s1":"s5","s2":"s8","s3":"s2","s4":"s3","s5":"s8","s6":"s2","s7":"s0","s8":"s4"},"c":{"s0":"s2","s1":"s8","s2":"s0","s3":"s3","s4":"s4","s5":"s0","s6":"s4","s7":"s6","s8":"s7"},"d":{"s0":"s0","s1":"s6","s2":"s2","s3":"s7","s4":"s1","s5":"s1","s6":"s2","s7":"s3","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 )
With the initial state: s0, and accepting states: ['s5', 's1', 's3', 's4'],
What will be the state after reading the following input: d d b c b b b b c a a d a c d b a d b | s3 | 19 | 9 | 4 | 9_4 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 ) |
ea9c36a4-fee4-42f9-97dc-63f33c5a3bd4 | 70ea00dc-18e0-4117-9f5e-27cffcf57682 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s5", "s1", "s3", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s1","s1":"s8","s2":"s4","s3":"s0","s4":"s7","s5":"s5","s6":"s5","s7":"s8","s8":"s0"},"b":{"s0":"s3","s1":"s5","s2":"s8","s3":"s2","s4":"s3","s5":"s8","s6":"s2","s7":"s0","s8":"s4"},"c":{"s0":"s2","s1":"s8","s2":"s0","s3":"s3","s4":"s4","s5":"s0","s6":"s4","s7":"s6","s8":"s7"},"d":{"s0":"s0","s1":"s6","s2":"s2","s3":"s7","s4":"s1","s5":"s1","s6":"s2","s7":"s3","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 )
With the initial state: s0, and accepting states: ['s5', 's1', 's3', 's4'],
What will be the state after reading the following input: d d b c b b b b c a a d a c d b a d b c | s3 | 20 | 9 | 4 | 9_4 | ( s0 , a , s1 )
( s1 , a , s8 )
( s2 , a , s4 )
( s3 , a , s0 )
( s4 , a , s7 )
( s5 , a , s5 )
( s6 , a , s5 )
( s7 , a , s8 )
( s8 , a , s0 )
( s0 , b , s3 )
( s1 , b , s5 )
( s2 , b , s8 )
( s3 , b , s2 )
( s4 , b , s3 )
( s5 , b , s8 )
( s6 , b , s2 )
( s7 , b , s0 )
( s8 , b , s4 )
( s0 , c , s2 )
( s1 , c , s8 )
( s2 , c , s0 )
( s3 , c , s3 )
( s4 , c , s4 )
( s5 , c , s0 )
( s6 , c , s4 )
( s7 , c , s6 )
( s8 , c , s7 )
( s0 , d , s0 )
( s1 , d , s6 )
( s2 , d , s2 )
( s3 , d , s7 )
( s4 , d , s1 )
( s5 , d , s1 )
( s6 , d , s2 )
( s7 , d , s3 )
( s8 , d , s1 ) |
4f203ae4-e3dd-4212-918a-f34e5316874e | c34e95ce-f65f-4629-8a4f-f041e95519de | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s7", "s4", "s1", "s0", "s8", "s5", "s2", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s8","s1":"s8","s2":"s0","s3":"s5","s4":"s6","s5":"s1","s6":"s0","s7":"s1","s8":"s7"},"b":{"s0":"s5","s1":"s5","s2":"s7","s3":"s8","s4":"s2","s5":"s8","s6":"s4","s7":"s1","s8":"s5"},"c":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s6","s5":"s1","s6":"s8","s7":"s4","s8":"s1"},"d":{"s0":"s4","s1":"s7","s2":"s3","s3":"s2","s4":"s6","s5":"s5","s6":"s1","s7":"s4","s8":"s3"}} | Given the following FSM transition rules:
( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 )
With the initial state: s0, and accepting states: ['s7', 's4', 's1', 's0', 's8', 's5', 's2', 's6'],
What will be the state after reading the following input: a | s8 | 1 | 9 | 4 | 9_4 | ( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 ) |
c6fed216-b5ac-4695-9671-b367e40424e7 | c34e95ce-f65f-4629-8a4f-f041e95519de | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s7", "s4", "s1", "s0", "s8", "s5", "s2", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s8","s1":"s8","s2":"s0","s3":"s5","s4":"s6","s5":"s1","s6":"s0","s7":"s1","s8":"s7"},"b":{"s0":"s5","s1":"s5","s2":"s7","s3":"s8","s4":"s2","s5":"s8","s6":"s4","s7":"s1","s8":"s5"},"c":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s6","s5":"s1","s6":"s8","s7":"s4","s8":"s1"},"d":{"s0":"s4","s1":"s7","s2":"s3","s3":"s2","s4":"s6","s5":"s5","s6":"s1","s7":"s4","s8":"s3"}} | Given the following FSM transition rules:
( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 )
With the initial state: s0, and accepting states: ['s7', 's4', 's1', 's0', 's8', 's5', 's2', 's6'],
What will be the state after reading the following input: a b | s5 | 2 | 9 | 4 | 9_4 | ( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 ) |
e44f55dd-5318-4b20-b9f2-4def2bb433e7 | c34e95ce-f65f-4629-8a4f-f041e95519de | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s7", "s4", "s1", "s0", "s8", "s5", "s2", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s8","s1":"s8","s2":"s0","s3":"s5","s4":"s6","s5":"s1","s6":"s0","s7":"s1","s8":"s7"},"b":{"s0":"s5","s1":"s5","s2":"s7","s3":"s8","s4":"s2","s5":"s8","s6":"s4","s7":"s1","s8":"s5"},"c":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s6","s5":"s1","s6":"s8","s7":"s4","s8":"s1"},"d":{"s0":"s4","s1":"s7","s2":"s3","s3":"s2","s4":"s6","s5":"s5","s6":"s1","s7":"s4","s8":"s3"}} | Given the following FSM transition rules:
( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 )
With the initial state: s0, and accepting states: ['s7', 's4', 's1', 's0', 's8', 's5', 's2', 's6'],
What will be the state after reading the following input: a b c | s1 | 3 | 9 | 4 | 9_4 | ( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 ) |
b03b72bf-f4cc-475c-b01c-244667bde6dd | c34e95ce-f65f-4629-8a4f-f041e95519de | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s7", "s4", "s1", "s0", "s8", "s5", "s2", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s8","s1":"s8","s2":"s0","s3":"s5","s4":"s6","s5":"s1","s6":"s0","s7":"s1","s8":"s7"},"b":{"s0":"s5","s1":"s5","s2":"s7","s3":"s8","s4":"s2","s5":"s8","s6":"s4","s7":"s1","s8":"s5"},"c":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s6","s5":"s1","s6":"s8","s7":"s4","s8":"s1"},"d":{"s0":"s4","s1":"s7","s2":"s3","s3":"s2","s4":"s6","s5":"s5","s6":"s1","s7":"s4","s8":"s3"}} | Given the following FSM transition rules:
( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 )
With the initial state: s0, and accepting states: ['s7', 's4', 's1', 's0', 's8', 's5', 's2', 's6'],
What will be the state after reading the following input: a b c c | s1 | 4 | 9 | 4 | 9_4 | ( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 ) |
72d264b3-b894-461e-be6a-b90e2812a740 | c34e95ce-f65f-4629-8a4f-f041e95519de | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s7", "s4", "s1", "s0", "s8", "s5", "s2", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s8","s1":"s8","s2":"s0","s3":"s5","s4":"s6","s5":"s1","s6":"s0","s7":"s1","s8":"s7"},"b":{"s0":"s5","s1":"s5","s2":"s7","s3":"s8","s4":"s2","s5":"s8","s6":"s4","s7":"s1","s8":"s5"},"c":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s6","s5":"s1","s6":"s8","s7":"s4","s8":"s1"},"d":{"s0":"s4","s1":"s7","s2":"s3","s3":"s2","s4":"s6","s5":"s5","s6":"s1","s7":"s4","s8":"s3"}} | Given the following FSM transition rules:
( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 )
With the initial state: s0, and accepting states: ['s7', 's4', 's1', 's0', 's8', 's5', 's2', 's6'],
What will be the state after reading the following input: a b c c b | s5 | 5 | 9 | 4 | 9_4 | ( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 ) |
f10ae0ec-71c1-4fa5-bc02-f12d51f00892 | c34e95ce-f65f-4629-8a4f-f041e95519de | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s7", "s4", "s1", "s0", "s8", "s5", "s2", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s8","s1":"s8","s2":"s0","s3":"s5","s4":"s6","s5":"s1","s6":"s0","s7":"s1","s8":"s7"},"b":{"s0":"s5","s1":"s5","s2":"s7","s3":"s8","s4":"s2","s5":"s8","s6":"s4","s7":"s1","s8":"s5"},"c":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s6","s5":"s1","s6":"s8","s7":"s4","s8":"s1"},"d":{"s0":"s4","s1":"s7","s2":"s3","s3":"s2","s4":"s6","s5":"s5","s6":"s1","s7":"s4","s8":"s3"}} | Given the following FSM transition rules:
( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 )
With the initial state: s0, and accepting states: ['s7', 's4', 's1', 's0', 's8', 's5', 's2', 's6'],
What will be the state after reading the following input: a b c c b a | s1 | 6 | 9 | 4 | 9_4 | ( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 ) |
46fe2963-f5eb-4609-9e77-a734a850ca40 | c34e95ce-f65f-4629-8a4f-f041e95519de | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s7", "s4", "s1", "s0", "s8", "s5", "s2", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s8","s1":"s8","s2":"s0","s3":"s5","s4":"s6","s5":"s1","s6":"s0","s7":"s1","s8":"s7"},"b":{"s0":"s5","s1":"s5","s2":"s7","s3":"s8","s4":"s2","s5":"s8","s6":"s4","s7":"s1","s8":"s5"},"c":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s6","s5":"s1","s6":"s8","s7":"s4","s8":"s1"},"d":{"s0":"s4","s1":"s7","s2":"s3","s3":"s2","s4":"s6","s5":"s5","s6":"s1","s7":"s4","s8":"s3"}} | Given the following FSM transition rules:
( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 )
With the initial state: s0, and accepting states: ['s7', 's4', 's1', 's0', 's8', 's5', 's2', 's6'],
What will be the state after reading the following input: a b c c b a d | s7 | 7 | 9 | 4 | 9_4 | ( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 ) |
121130a2-efc3-44a9-942b-d9a1039a4b3e | c34e95ce-f65f-4629-8a4f-f041e95519de | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s7", "s4", "s1", "s0", "s8", "s5", "s2", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s8","s1":"s8","s2":"s0","s3":"s5","s4":"s6","s5":"s1","s6":"s0","s7":"s1","s8":"s7"},"b":{"s0":"s5","s1":"s5","s2":"s7","s3":"s8","s4":"s2","s5":"s8","s6":"s4","s7":"s1","s8":"s5"},"c":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s6","s5":"s1","s6":"s8","s7":"s4","s8":"s1"},"d":{"s0":"s4","s1":"s7","s2":"s3","s3":"s2","s4":"s6","s5":"s5","s6":"s1","s7":"s4","s8":"s3"}} | Given the following FSM transition rules:
( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 )
With the initial state: s0, and accepting states: ['s7', 's4', 's1', 's0', 's8', 's5', 's2', 's6'],
What will be the state after reading the following input: a b c c b a d b | s1 | 8 | 9 | 4 | 9_4 | ( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 ) |
1db02e91-e8ca-4bb1-984a-8693198e7535 | c34e95ce-f65f-4629-8a4f-f041e95519de | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s7", "s4", "s1", "s0", "s8", "s5", "s2", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s8","s1":"s8","s2":"s0","s3":"s5","s4":"s6","s5":"s1","s6":"s0","s7":"s1","s8":"s7"},"b":{"s0":"s5","s1":"s5","s2":"s7","s3":"s8","s4":"s2","s5":"s8","s6":"s4","s7":"s1","s8":"s5"},"c":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s6","s5":"s1","s6":"s8","s7":"s4","s8":"s1"},"d":{"s0":"s4","s1":"s7","s2":"s3","s3":"s2","s4":"s6","s5":"s5","s6":"s1","s7":"s4","s8":"s3"}} | Given the following FSM transition rules:
( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 )
With the initial state: s0, and accepting states: ['s7', 's4', 's1', 's0', 's8', 's5', 's2', 's6'],
What will be the state after reading the following input: a b c c b a d b a | s8 | 9 | 9 | 4 | 9_4 | ( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 ) |
67e14d4b-0e70-43f6-b20b-b4fc66e7b783 | c34e95ce-f65f-4629-8a4f-f041e95519de | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s7", "s4", "s1", "s0", "s8", "s5", "s2", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s8","s1":"s8","s2":"s0","s3":"s5","s4":"s6","s5":"s1","s6":"s0","s7":"s1","s8":"s7"},"b":{"s0":"s5","s1":"s5","s2":"s7","s3":"s8","s4":"s2","s5":"s8","s6":"s4","s7":"s1","s8":"s5"},"c":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s6","s5":"s1","s6":"s8","s7":"s4","s8":"s1"},"d":{"s0":"s4","s1":"s7","s2":"s3","s3":"s2","s4":"s6","s5":"s5","s6":"s1","s7":"s4","s8":"s3"}} | Given the following FSM transition rules:
( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 )
With the initial state: s0, and accepting states: ['s7', 's4', 's1', 's0', 's8', 's5', 's2', 's6'],
What will be the state after reading the following input: a b c c b a d b a b | s5 | 10 | 9 | 4 | 9_4 | ( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 ) |
f3599b35-561b-4ecd-a120-d1d8c8d1d1e9 | c34e95ce-f65f-4629-8a4f-f041e95519de | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s7", "s4", "s1", "s0", "s8", "s5", "s2", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s8","s1":"s8","s2":"s0","s3":"s5","s4":"s6","s5":"s1","s6":"s0","s7":"s1","s8":"s7"},"b":{"s0":"s5","s1":"s5","s2":"s7","s3":"s8","s4":"s2","s5":"s8","s6":"s4","s7":"s1","s8":"s5"},"c":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s6","s5":"s1","s6":"s8","s7":"s4","s8":"s1"},"d":{"s0":"s4","s1":"s7","s2":"s3","s3":"s2","s4":"s6","s5":"s5","s6":"s1","s7":"s4","s8":"s3"}} | Given the following FSM transition rules:
( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 )
With the initial state: s0, and accepting states: ['s7', 's4', 's1', 's0', 's8', 's5', 's2', 's6'],
What will be the state after reading the following input: a b c c b a d b a b a | s1 | 11 | 9 | 4 | 9_4 | ( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 ) |
7db0875a-bb6b-4fd6-aa63-07952baecb48 | c34e95ce-f65f-4629-8a4f-f041e95519de | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s7", "s4", "s1", "s0", "s8", "s5", "s2", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s8","s1":"s8","s2":"s0","s3":"s5","s4":"s6","s5":"s1","s6":"s0","s7":"s1","s8":"s7"},"b":{"s0":"s5","s1":"s5","s2":"s7","s3":"s8","s4":"s2","s5":"s8","s6":"s4","s7":"s1","s8":"s5"},"c":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s6","s5":"s1","s6":"s8","s7":"s4","s8":"s1"},"d":{"s0":"s4","s1":"s7","s2":"s3","s3":"s2","s4":"s6","s5":"s5","s6":"s1","s7":"s4","s8":"s3"}} | Given the following FSM transition rules:
( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 )
With the initial state: s0, and accepting states: ['s7', 's4', 's1', 's0', 's8', 's5', 's2', 's6'],
What will be the state after reading the following input: a b c c b a d b a b a d | s7 | 12 | 9 | 4 | 9_4 | ( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 ) |
172c4064-09e4-4172-baa6-0a80fe2168ff | c34e95ce-f65f-4629-8a4f-f041e95519de | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s7", "s4", "s1", "s0", "s8", "s5", "s2", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s8","s1":"s8","s2":"s0","s3":"s5","s4":"s6","s5":"s1","s6":"s0","s7":"s1","s8":"s7"},"b":{"s0":"s5","s1":"s5","s2":"s7","s3":"s8","s4":"s2","s5":"s8","s6":"s4","s7":"s1","s8":"s5"},"c":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s6","s5":"s1","s6":"s8","s7":"s4","s8":"s1"},"d":{"s0":"s4","s1":"s7","s2":"s3","s3":"s2","s4":"s6","s5":"s5","s6":"s1","s7":"s4","s8":"s3"}} | Given the following FSM transition rules:
( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 )
With the initial state: s0, and accepting states: ['s7', 's4', 's1', 's0', 's8', 's5', 's2', 's6'],
What will be the state after reading the following input: a b c c b a d b a b a d d | s4 | 13 | 9 | 4 | 9_4 | ( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 ) |
f6f61f04-f1be-48d6-85a1-382d9cf34217 | c34e95ce-f65f-4629-8a4f-f041e95519de | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s7", "s4", "s1", "s0", "s8", "s5", "s2", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s8","s1":"s8","s2":"s0","s3":"s5","s4":"s6","s5":"s1","s6":"s0","s7":"s1","s8":"s7"},"b":{"s0":"s5","s1":"s5","s2":"s7","s3":"s8","s4":"s2","s5":"s8","s6":"s4","s7":"s1","s8":"s5"},"c":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s6","s5":"s1","s6":"s8","s7":"s4","s8":"s1"},"d":{"s0":"s4","s1":"s7","s2":"s3","s3":"s2","s4":"s6","s5":"s5","s6":"s1","s7":"s4","s8":"s3"}} | Given the following FSM transition rules:
( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 )
With the initial state: s0, and accepting states: ['s7', 's4', 's1', 's0', 's8', 's5', 's2', 's6'],
What will be the state after reading the following input: a b c c b a d b a b a d d c | s6 | 14 | 9 | 4 | 9_4 | ( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 ) |
b05c6772-6516-423d-88da-9bb207bad8e9 | c34e95ce-f65f-4629-8a4f-f041e95519de | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s7", "s4", "s1", "s0", "s8", "s5", "s2", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s8","s1":"s8","s2":"s0","s3":"s5","s4":"s6","s5":"s1","s6":"s0","s7":"s1","s8":"s7"},"b":{"s0":"s5","s1":"s5","s2":"s7","s3":"s8","s4":"s2","s5":"s8","s6":"s4","s7":"s1","s8":"s5"},"c":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s6","s5":"s1","s6":"s8","s7":"s4","s8":"s1"},"d":{"s0":"s4","s1":"s7","s2":"s3","s3":"s2","s4":"s6","s5":"s5","s6":"s1","s7":"s4","s8":"s3"}} | Given the following FSM transition rules:
( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 )
With the initial state: s0, and accepting states: ['s7', 's4', 's1', 's0', 's8', 's5', 's2', 's6'],
What will be the state after reading the following input: a b c c b a d b a b a d d c a | s0 | 15 | 9 | 4 | 9_4 | ( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 ) |
81381526-1d0e-4009-a1aa-4bd41997baae | c34e95ce-f65f-4629-8a4f-f041e95519de | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s7", "s4", "s1", "s0", "s8", "s5", "s2", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s8","s1":"s8","s2":"s0","s3":"s5","s4":"s6","s5":"s1","s6":"s0","s7":"s1","s8":"s7"},"b":{"s0":"s5","s1":"s5","s2":"s7","s3":"s8","s4":"s2","s5":"s8","s6":"s4","s7":"s1","s8":"s5"},"c":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s6","s5":"s1","s6":"s8","s7":"s4","s8":"s1"},"d":{"s0":"s4","s1":"s7","s2":"s3","s3":"s2","s4":"s6","s5":"s5","s6":"s1","s7":"s4","s8":"s3"}} | Given the following FSM transition rules:
( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 )
With the initial state: s0, and accepting states: ['s7', 's4', 's1', 's0', 's8', 's5', 's2', 's6'],
What will be the state after reading the following input: a b c c b a d b a b a d d c a b | s5 | 16 | 9 | 4 | 9_4 | ( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 ) |
07bcd621-aa50-4148-bb5a-7984e086c5e5 | c34e95ce-f65f-4629-8a4f-f041e95519de | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s7", "s4", "s1", "s0", "s8", "s5", "s2", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s8","s1":"s8","s2":"s0","s3":"s5","s4":"s6","s5":"s1","s6":"s0","s7":"s1","s8":"s7"},"b":{"s0":"s5","s1":"s5","s2":"s7","s3":"s8","s4":"s2","s5":"s8","s6":"s4","s7":"s1","s8":"s5"},"c":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s6","s5":"s1","s6":"s8","s7":"s4","s8":"s1"},"d":{"s0":"s4","s1":"s7","s2":"s3","s3":"s2","s4":"s6","s5":"s5","s6":"s1","s7":"s4","s8":"s3"}} | Given the following FSM transition rules:
( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 )
With the initial state: s0, and accepting states: ['s7', 's4', 's1', 's0', 's8', 's5', 's2', 's6'],
What will be the state after reading the following input: a b c c b a d b a b a d d c a b a | s1 | 17 | 9 | 4 | 9_4 | ( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 ) |
a4da1b70-4352-4f87-8933-5cd52c10fcab | c34e95ce-f65f-4629-8a4f-f041e95519de | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s7", "s4", "s1", "s0", "s8", "s5", "s2", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s8","s1":"s8","s2":"s0","s3":"s5","s4":"s6","s5":"s1","s6":"s0","s7":"s1","s8":"s7"},"b":{"s0":"s5","s1":"s5","s2":"s7","s3":"s8","s4":"s2","s5":"s8","s6":"s4","s7":"s1","s8":"s5"},"c":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s6","s5":"s1","s6":"s8","s7":"s4","s8":"s1"},"d":{"s0":"s4","s1":"s7","s2":"s3","s3":"s2","s4":"s6","s5":"s5","s6":"s1","s7":"s4","s8":"s3"}} | Given the following FSM transition rules:
( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 )
With the initial state: s0, and accepting states: ['s7', 's4', 's1', 's0', 's8', 's5', 's2', 's6'],
What will be the state after reading the following input: a b c c b a d b a b a d d c a b a b | s5 | 18 | 9 | 4 | 9_4 | ( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 ) |
6d00ad3b-c113-4816-b6a7-0d6b4dd1c5c2 | c34e95ce-f65f-4629-8a4f-f041e95519de | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s7", "s4", "s1", "s0", "s8", "s5", "s2", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s8","s1":"s8","s2":"s0","s3":"s5","s4":"s6","s5":"s1","s6":"s0","s7":"s1","s8":"s7"},"b":{"s0":"s5","s1":"s5","s2":"s7","s3":"s8","s4":"s2","s5":"s8","s6":"s4","s7":"s1","s8":"s5"},"c":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s6","s5":"s1","s6":"s8","s7":"s4","s8":"s1"},"d":{"s0":"s4","s1":"s7","s2":"s3","s3":"s2","s4":"s6","s5":"s5","s6":"s1","s7":"s4","s8":"s3"}} | Given the following FSM transition rules:
( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 )
With the initial state: s0, and accepting states: ['s7', 's4', 's1', 's0', 's8', 's5', 's2', 's6'],
What will be the state after reading the following input: a b c c b a d b a b a d d c a b a b b | s8 | 19 | 9 | 4 | 9_4 | ( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 ) |
ad7fb35c-733d-4985-9cdc-8f171e8fe958 | c34e95ce-f65f-4629-8a4f-f041e95519de | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s7", "s4", "s1", "s0", "s8", "s5", "s2", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}]} | 3 | {"a":{"s0":"s8","s1":"s8","s2":"s0","s3":"s5","s4":"s6","s5":"s1","s6":"s0","s7":"s1","s8":"s7"},"b":{"s0":"s5","s1":"s5","s2":"s7","s3":"s8","s4":"s2","s5":"s8","s6":"s4","s7":"s1","s8":"s5"},"c":{"s0":"s1","s1":"s1","s2":"s8","s3":"s6","s4":"s6","s5":"s1","s6":"s8","s7":"s4","s8":"s1"},"d":{"s0":"s4","s1":"s7","s2":"s3","s3":"s2","s4":"s6","s5":"s5","s6":"s1","s7":"s4","s8":"s3"}} | Given the following FSM transition rules:
( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 )
With the initial state: s0, and accepting states: ['s7', 's4', 's1', 's0', 's8', 's5', 's2', 's6'],
What will be the state after reading the following input: a b c c b a d b a b a d d c a b a b b d | s3 | 20 | 9 | 4 | 9_4 | ( s0 , a , s8 )
( s1 , a , s8 )
( s2 , a , s0 )
( s3 , a , s5 )
( s4 , a , s6 )
( s5 , a , s1 )
( s6 , a , s0 )
( s7 , a , s1 )
( s8 , a , s7 )
( s0 , b , s5 )
( s1 , b , s5 )
( s2 , b , s7 )
( s3 , b , s8 )
( s4 , b , s2 )
( s5 , b , s8 )
( s6 , b , s4 )
( s7 , b , s1 )
( s8 , b , s5 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s8 )
( s3 , c , s6 )
( s4 , c , s6 )
( s5 , c , s1 )
( s6 , c , s8 )
( s7 , c , s4 )
( s8 , c , s1 )
( s0 , d , s4 )
( s1 , d , s7 )
( s2 , d , s3 )
( s3 , d , s2 )
( s4 , d , s6 )
( s5 , d , s5 )
( s6 , d , s1 )
( s7 , d , s4 )
( s8 , d , s3 ) |
407e32cb-a25b-4424-a113-8b86c04af64e | 85dc3645-61fb-408f-b254-698c4bd497d4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s7", "s5", "s8", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}]} | 3 | {"a":{"s0":"s7","s1":"s0","s2":"s0","s3":"s0","s4":"s0","s5":"s1","s6":"s2","s7":"s2","s8":"s4"},"b":{"s0":"s5","s1":"s7","s2":"s0","s3":"s7","s4":"s6","s5":"s3","s6":"s4","s7":"s5","s8":"s5"},"c":{"s0":"s3","s1":"s0","s2":"s1","s3":"s1","s4":"s8","s5":"s0","s6":"s8","s7":"s8","s8":"s1"},"d":{"s0":"s1","s1":"s5","s2":"s1","s3":"s4","s4":"s1","s5":"s6","s6":"s2","s7":"s8","s8":"s6"},"e":{"s0":"s6","s1":"s1","s2":"s4","s3":"s5","s4":"s0","s5":"s5","s6":"s6","s7":"s1","s8":"s5"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 )
With the initial state: s0, and accepting states: ['s2', 's7', 's5', 's8', 's3'],
What will be the state after reading the following input: e | s6 | 1 | 9 | 5 | 9_5 | ( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 ) |
f00061aa-28fe-4381-b062-46ba910f14ba | 85dc3645-61fb-408f-b254-698c4bd497d4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s7", "s5", "s8", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}]} | 3 | {"a":{"s0":"s7","s1":"s0","s2":"s0","s3":"s0","s4":"s0","s5":"s1","s6":"s2","s7":"s2","s8":"s4"},"b":{"s0":"s5","s1":"s7","s2":"s0","s3":"s7","s4":"s6","s5":"s3","s6":"s4","s7":"s5","s8":"s5"},"c":{"s0":"s3","s1":"s0","s2":"s1","s3":"s1","s4":"s8","s5":"s0","s6":"s8","s7":"s8","s8":"s1"},"d":{"s0":"s1","s1":"s5","s2":"s1","s3":"s4","s4":"s1","s5":"s6","s6":"s2","s7":"s8","s8":"s6"},"e":{"s0":"s6","s1":"s1","s2":"s4","s3":"s5","s4":"s0","s5":"s5","s6":"s6","s7":"s1","s8":"s5"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 )
With the initial state: s0, and accepting states: ['s2', 's7', 's5', 's8', 's3'],
What will be the state after reading the following input: e c | s8 | 2 | 9 | 5 | 9_5 | ( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 ) |
4f623ffc-6547-4f7e-ab65-bc790798c096 | 85dc3645-61fb-408f-b254-698c4bd497d4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s7", "s5", "s8", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}]} | 3 | {"a":{"s0":"s7","s1":"s0","s2":"s0","s3":"s0","s4":"s0","s5":"s1","s6":"s2","s7":"s2","s8":"s4"},"b":{"s0":"s5","s1":"s7","s2":"s0","s3":"s7","s4":"s6","s5":"s3","s6":"s4","s7":"s5","s8":"s5"},"c":{"s0":"s3","s1":"s0","s2":"s1","s3":"s1","s4":"s8","s5":"s0","s6":"s8","s7":"s8","s8":"s1"},"d":{"s0":"s1","s1":"s5","s2":"s1","s3":"s4","s4":"s1","s5":"s6","s6":"s2","s7":"s8","s8":"s6"},"e":{"s0":"s6","s1":"s1","s2":"s4","s3":"s5","s4":"s0","s5":"s5","s6":"s6","s7":"s1","s8":"s5"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 )
With the initial state: s0, and accepting states: ['s2', 's7', 's5', 's8', 's3'],
What will be the state after reading the following input: e c e | s5 | 3 | 9 | 5 | 9_5 | ( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 ) |
7cdfa587-80ac-4fba-9dcc-b633f8fdb65e | 85dc3645-61fb-408f-b254-698c4bd497d4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s7", "s5", "s8", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}]} | 3 | {"a":{"s0":"s7","s1":"s0","s2":"s0","s3":"s0","s4":"s0","s5":"s1","s6":"s2","s7":"s2","s8":"s4"},"b":{"s0":"s5","s1":"s7","s2":"s0","s3":"s7","s4":"s6","s5":"s3","s6":"s4","s7":"s5","s8":"s5"},"c":{"s0":"s3","s1":"s0","s2":"s1","s3":"s1","s4":"s8","s5":"s0","s6":"s8","s7":"s8","s8":"s1"},"d":{"s0":"s1","s1":"s5","s2":"s1","s3":"s4","s4":"s1","s5":"s6","s6":"s2","s7":"s8","s8":"s6"},"e":{"s0":"s6","s1":"s1","s2":"s4","s3":"s5","s4":"s0","s5":"s5","s6":"s6","s7":"s1","s8":"s5"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 )
With the initial state: s0, and accepting states: ['s2', 's7', 's5', 's8', 's3'],
What will be the state after reading the following input: e c e e | s5 | 4 | 9 | 5 | 9_5 | ( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 ) |
41835077-478d-421b-a804-2e6a3234a9f6 | 85dc3645-61fb-408f-b254-698c4bd497d4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s7", "s5", "s8", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}]} | 3 | {"a":{"s0":"s7","s1":"s0","s2":"s0","s3":"s0","s4":"s0","s5":"s1","s6":"s2","s7":"s2","s8":"s4"},"b":{"s0":"s5","s1":"s7","s2":"s0","s3":"s7","s4":"s6","s5":"s3","s6":"s4","s7":"s5","s8":"s5"},"c":{"s0":"s3","s1":"s0","s2":"s1","s3":"s1","s4":"s8","s5":"s0","s6":"s8","s7":"s8","s8":"s1"},"d":{"s0":"s1","s1":"s5","s2":"s1","s3":"s4","s4":"s1","s5":"s6","s6":"s2","s7":"s8","s8":"s6"},"e":{"s0":"s6","s1":"s1","s2":"s4","s3":"s5","s4":"s0","s5":"s5","s6":"s6","s7":"s1","s8":"s5"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 )
With the initial state: s0, and accepting states: ['s2', 's7', 's5', 's8', 's3'],
What will be the state after reading the following input: e c e e d | s6 | 5 | 9 | 5 | 9_5 | ( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 ) |
e46a9e67-18d1-4cdf-97ee-d3b0d6a49b84 | 85dc3645-61fb-408f-b254-698c4bd497d4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s7", "s5", "s8", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}]} | 3 | {"a":{"s0":"s7","s1":"s0","s2":"s0","s3":"s0","s4":"s0","s5":"s1","s6":"s2","s7":"s2","s8":"s4"},"b":{"s0":"s5","s1":"s7","s2":"s0","s3":"s7","s4":"s6","s5":"s3","s6":"s4","s7":"s5","s8":"s5"},"c":{"s0":"s3","s1":"s0","s2":"s1","s3":"s1","s4":"s8","s5":"s0","s6":"s8","s7":"s8","s8":"s1"},"d":{"s0":"s1","s1":"s5","s2":"s1","s3":"s4","s4":"s1","s5":"s6","s6":"s2","s7":"s8","s8":"s6"},"e":{"s0":"s6","s1":"s1","s2":"s4","s3":"s5","s4":"s0","s5":"s5","s6":"s6","s7":"s1","s8":"s5"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 )
With the initial state: s0, and accepting states: ['s2', 's7', 's5', 's8', 's3'],
What will be the state after reading the following input: e c e e d e | s6 | 6 | 9 | 5 | 9_5 | ( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 ) |
b1d065cf-290c-4a3e-bdd7-fd9b53e04468 | 85dc3645-61fb-408f-b254-698c4bd497d4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s7", "s5", "s8", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}]} | 3 | {"a":{"s0":"s7","s1":"s0","s2":"s0","s3":"s0","s4":"s0","s5":"s1","s6":"s2","s7":"s2","s8":"s4"},"b":{"s0":"s5","s1":"s7","s2":"s0","s3":"s7","s4":"s6","s5":"s3","s6":"s4","s7":"s5","s8":"s5"},"c":{"s0":"s3","s1":"s0","s2":"s1","s3":"s1","s4":"s8","s5":"s0","s6":"s8","s7":"s8","s8":"s1"},"d":{"s0":"s1","s1":"s5","s2":"s1","s3":"s4","s4":"s1","s5":"s6","s6":"s2","s7":"s8","s8":"s6"},"e":{"s0":"s6","s1":"s1","s2":"s4","s3":"s5","s4":"s0","s5":"s5","s6":"s6","s7":"s1","s8":"s5"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 )
With the initial state: s0, and accepting states: ['s2', 's7', 's5', 's8', 's3'],
What will be the state after reading the following input: e c e e d e b | s4 | 7 | 9 | 5 | 9_5 | ( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 ) |
39a0337b-99fd-4021-95b7-1673a4738eb8 | 85dc3645-61fb-408f-b254-698c4bd497d4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s7", "s5", "s8", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}]} | 3 | {"a":{"s0":"s7","s1":"s0","s2":"s0","s3":"s0","s4":"s0","s5":"s1","s6":"s2","s7":"s2","s8":"s4"},"b":{"s0":"s5","s1":"s7","s2":"s0","s3":"s7","s4":"s6","s5":"s3","s6":"s4","s7":"s5","s8":"s5"},"c":{"s0":"s3","s1":"s0","s2":"s1","s3":"s1","s4":"s8","s5":"s0","s6":"s8","s7":"s8","s8":"s1"},"d":{"s0":"s1","s1":"s5","s2":"s1","s3":"s4","s4":"s1","s5":"s6","s6":"s2","s7":"s8","s8":"s6"},"e":{"s0":"s6","s1":"s1","s2":"s4","s3":"s5","s4":"s0","s5":"s5","s6":"s6","s7":"s1","s8":"s5"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 )
With the initial state: s0, and accepting states: ['s2', 's7', 's5', 's8', 's3'],
What will be the state after reading the following input: e c e e d e b d | s1 | 8 | 9 | 5 | 9_5 | ( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 ) |
5d385d81-db19-4d3f-a140-2d11584bfcda | 85dc3645-61fb-408f-b254-698c4bd497d4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s7", "s5", "s8", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}]} | 3 | {"a":{"s0":"s7","s1":"s0","s2":"s0","s3":"s0","s4":"s0","s5":"s1","s6":"s2","s7":"s2","s8":"s4"},"b":{"s0":"s5","s1":"s7","s2":"s0","s3":"s7","s4":"s6","s5":"s3","s6":"s4","s7":"s5","s8":"s5"},"c":{"s0":"s3","s1":"s0","s2":"s1","s3":"s1","s4":"s8","s5":"s0","s6":"s8","s7":"s8","s8":"s1"},"d":{"s0":"s1","s1":"s5","s2":"s1","s3":"s4","s4":"s1","s5":"s6","s6":"s2","s7":"s8","s8":"s6"},"e":{"s0":"s6","s1":"s1","s2":"s4","s3":"s5","s4":"s0","s5":"s5","s6":"s6","s7":"s1","s8":"s5"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 )
With the initial state: s0, and accepting states: ['s2', 's7', 's5', 's8', 's3'],
What will be the state after reading the following input: e c e e d e b d d | s5 | 9 | 9 | 5 | 9_5 | ( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 ) |
f20eeeb9-a808-42ed-b306-b682423b68c9 | 85dc3645-61fb-408f-b254-698c4bd497d4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s7", "s5", "s8", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}]} | 3 | {"a":{"s0":"s7","s1":"s0","s2":"s0","s3":"s0","s4":"s0","s5":"s1","s6":"s2","s7":"s2","s8":"s4"},"b":{"s0":"s5","s1":"s7","s2":"s0","s3":"s7","s4":"s6","s5":"s3","s6":"s4","s7":"s5","s8":"s5"},"c":{"s0":"s3","s1":"s0","s2":"s1","s3":"s1","s4":"s8","s5":"s0","s6":"s8","s7":"s8","s8":"s1"},"d":{"s0":"s1","s1":"s5","s2":"s1","s3":"s4","s4":"s1","s5":"s6","s6":"s2","s7":"s8","s8":"s6"},"e":{"s0":"s6","s1":"s1","s2":"s4","s3":"s5","s4":"s0","s5":"s5","s6":"s6","s7":"s1","s8":"s5"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 )
With the initial state: s0, and accepting states: ['s2', 's7', 's5', 's8', 's3'],
What will be the state after reading the following input: e c e e d e b d d e | s5 | 10 | 9 | 5 | 9_5 | ( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 ) |
b102ca8d-7f8c-4059-be87-d712620c9f87 | 85dc3645-61fb-408f-b254-698c4bd497d4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s7", "s5", "s8", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}]} | 3 | {"a":{"s0":"s7","s1":"s0","s2":"s0","s3":"s0","s4":"s0","s5":"s1","s6":"s2","s7":"s2","s8":"s4"},"b":{"s0":"s5","s1":"s7","s2":"s0","s3":"s7","s4":"s6","s5":"s3","s6":"s4","s7":"s5","s8":"s5"},"c":{"s0":"s3","s1":"s0","s2":"s1","s3":"s1","s4":"s8","s5":"s0","s6":"s8","s7":"s8","s8":"s1"},"d":{"s0":"s1","s1":"s5","s2":"s1","s3":"s4","s4":"s1","s5":"s6","s6":"s2","s7":"s8","s8":"s6"},"e":{"s0":"s6","s1":"s1","s2":"s4","s3":"s5","s4":"s0","s5":"s5","s6":"s6","s7":"s1","s8":"s5"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 )
With the initial state: s0, and accepting states: ['s2', 's7', 's5', 's8', 's3'],
What will be the state after reading the following input: e c e e d e b d d e a | s1 | 11 | 9 | 5 | 9_5 | ( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 ) |
93d6caec-dbe0-4d63-9ef6-cb78ce6cbcb2 | 85dc3645-61fb-408f-b254-698c4bd497d4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s7", "s5", "s8", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}]} | 3 | {"a":{"s0":"s7","s1":"s0","s2":"s0","s3":"s0","s4":"s0","s5":"s1","s6":"s2","s7":"s2","s8":"s4"},"b":{"s0":"s5","s1":"s7","s2":"s0","s3":"s7","s4":"s6","s5":"s3","s6":"s4","s7":"s5","s8":"s5"},"c":{"s0":"s3","s1":"s0","s2":"s1","s3":"s1","s4":"s8","s5":"s0","s6":"s8","s7":"s8","s8":"s1"},"d":{"s0":"s1","s1":"s5","s2":"s1","s3":"s4","s4":"s1","s5":"s6","s6":"s2","s7":"s8","s8":"s6"},"e":{"s0":"s6","s1":"s1","s2":"s4","s3":"s5","s4":"s0","s5":"s5","s6":"s6","s7":"s1","s8":"s5"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 )
With the initial state: s0, and accepting states: ['s2', 's7', 's5', 's8', 's3'],
What will be the state after reading the following input: e c e e d e b d d e a e | s1 | 12 | 9 | 5 | 9_5 | ( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 ) |
d2b096a2-871d-4273-8c39-ea74ff2901ad | 85dc3645-61fb-408f-b254-698c4bd497d4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s7", "s5", "s8", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}]} | 3 | {"a":{"s0":"s7","s1":"s0","s2":"s0","s3":"s0","s4":"s0","s5":"s1","s6":"s2","s7":"s2","s8":"s4"},"b":{"s0":"s5","s1":"s7","s2":"s0","s3":"s7","s4":"s6","s5":"s3","s6":"s4","s7":"s5","s8":"s5"},"c":{"s0":"s3","s1":"s0","s2":"s1","s3":"s1","s4":"s8","s5":"s0","s6":"s8","s7":"s8","s8":"s1"},"d":{"s0":"s1","s1":"s5","s2":"s1","s3":"s4","s4":"s1","s5":"s6","s6":"s2","s7":"s8","s8":"s6"},"e":{"s0":"s6","s1":"s1","s2":"s4","s3":"s5","s4":"s0","s5":"s5","s6":"s6","s7":"s1","s8":"s5"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 )
With the initial state: s0, and accepting states: ['s2', 's7', 's5', 's8', 's3'],
What will be the state after reading the following input: e c e e d e b d d e a e a | s0 | 13 | 9 | 5 | 9_5 | ( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 ) |
6f24db5f-3548-45c1-a39a-422b69965518 | 85dc3645-61fb-408f-b254-698c4bd497d4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s7", "s5", "s8", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}]} | 3 | {"a":{"s0":"s7","s1":"s0","s2":"s0","s3":"s0","s4":"s0","s5":"s1","s6":"s2","s7":"s2","s8":"s4"},"b":{"s0":"s5","s1":"s7","s2":"s0","s3":"s7","s4":"s6","s5":"s3","s6":"s4","s7":"s5","s8":"s5"},"c":{"s0":"s3","s1":"s0","s2":"s1","s3":"s1","s4":"s8","s5":"s0","s6":"s8","s7":"s8","s8":"s1"},"d":{"s0":"s1","s1":"s5","s2":"s1","s3":"s4","s4":"s1","s5":"s6","s6":"s2","s7":"s8","s8":"s6"},"e":{"s0":"s6","s1":"s1","s2":"s4","s3":"s5","s4":"s0","s5":"s5","s6":"s6","s7":"s1","s8":"s5"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 )
With the initial state: s0, and accepting states: ['s2', 's7', 's5', 's8', 's3'],
What will be the state after reading the following input: e c e e d e b d d e a e a d | s1 | 14 | 9 | 5 | 9_5 | ( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 ) |
15409dba-6952-4b83-af8d-36aa31e86e6f | 85dc3645-61fb-408f-b254-698c4bd497d4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s7", "s5", "s8", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}]} | 3 | {"a":{"s0":"s7","s1":"s0","s2":"s0","s3":"s0","s4":"s0","s5":"s1","s6":"s2","s7":"s2","s8":"s4"},"b":{"s0":"s5","s1":"s7","s2":"s0","s3":"s7","s4":"s6","s5":"s3","s6":"s4","s7":"s5","s8":"s5"},"c":{"s0":"s3","s1":"s0","s2":"s1","s3":"s1","s4":"s8","s5":"s0","s6":"s8","s7":"s8","s8":"s1"},"d":{"s0":"s1","s1":"s5","s2":"s1","s3":"s4","s4":"s1","s5":"s6","s6":"s2","s7":"s8","s8":"s6"},"e":{"s0":"s6","s1":"s1","s2":"s4","s3":"s5","s4":"s0","s5":"s5","s6":"s6","s7":"s1","s8":"s5"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 )
With the initial state: s0, and accepting states: ['s2', 's7', 's5', 's8', 's3'],
What will be the state after reading the following input: e c e e d e b d d e a e a d d | s5 | 15 | 9 | 5 | 9_5 | ( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 ) |
a4b22211-4696-4f2d-aa08-29d4cab57664 | 85dc3645-61fb-408f-b254-698c4bd497d4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s7", "s5", "s8", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}]} | 3 | {"a":{"s0":"s7","s1":"s0","s2":"s0","s3":"s0","s4":"s0","s5":"s1","s6":"s2","s7":"s2","s8":"s4"},"b":{"s0":"s5","s1":"s7","s2":"s0","s3":"s7","s4":"s6","s5":"s3","s6":"s4","s7":"s5","s8":"s5"},"c":{"s0":"s3","s1":"s0","s2":"s1","s3":"s1","s4":"s8","s5":"s0","s6":"s8","s7":"s8","s8":"s1"},"d":{"s0":"s1","s1":"s5","s2":"s1","s3":"s4","s4":"s1","s5":"s6","s6":"s2","s7":"s8","s8":"s6"},"e":{"s0":"s6","s1":"s1","s2":"s4","s3":"s5","s4":"s0","s5":"s5","s6":"s6","s7":"s1","s8":"s5"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 )
With the initial state: s0, and accepting states: ['s2', 's7', 's5', 's8', 's3'],
What will be the state after reading the following input: e c e e d e b d d e a e a d d a | s1 | 16 | 9 | 5 | 9_5 | ( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 ) |
9ed00716-d82b-47ff-8992-b7ce640022ab | 85dc3645-61fb-408f-b254-698c4bd497d4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s7", "s5", "s8", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}]} | 3 | {"a":{"s0":"s7","s1":"s0","s2":"s0","s3":"s0","s4":"s0","s5":"s1","s6":"s2","s7":"s2","s8":"s4"},"b":{"s0":"s5","s1":"s7","s2":"s0","s3":"s7","s4":"s6","s5":"s3","s6":"s4","s7":"s5","s8":"s5"},"c":{"s0":"s3","s1":"s0","s2":"s1","s3":"s1","s4":"s8","s5":"s0","s6":"s8","s7":"s8","s8":"s1"},"d":{"s0":"s1","s1":"s5","s2":"s1","s3":"s4","s4":"s1","s5":"s6","s6":"s2","s7":"s8","s8":"s6"},"e":{"s0":"s6","s1":"s1","s2":"s4","s3":"s5","s4":"s0","s5":"s5","s6":"s6","s7":"s1","s8":"s5"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 )
With the initial state: s0, and accepting states: ['s2', 's7', 's5', 's8', 's3'],
What will be the state after reading the following input: e c e e d e b d d e a e a d d a c | s0 | 17 | 9 | 5 | 9_5 | ( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 ) |
11533670-159a-4e39-b4fe-5fc3d334ed89 | 85dc3645-61fb-408f-b254-698c4bd497d4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s7", "s5", "s8", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}]} | 3 | {"a":{"s0":"s7","s1":"s0","s2":"s0","s3":"s0","s4":"s0","s5":"s1","s6":"s2","s7":"s2","s8":"s4"},"b":{"s0":"s5","s1":"s7","s2":"s0","s3":"s7","s4":"s6","s5":"s3","s6":"s4","s7":"s5","s8":"s5"},"c":{"s0":"s3","s1":"s0","s2":"s1","s3":"s1","s4":"s8","s5":"s0","s6":"s8","s7":"s8","s8":"s1"},"d":{"s0":"s1","s1":"s5","s2":"s1","s3":"s4","s4":"s1","s5":"s6","s6":"s2","s7":"s8","s8":"s6"},"e":{"s0":"s6","s1":"s1","s2":"s4","s3":"s5","s4":"s0","s5":"s5","s6":"s6","s7":"s1","s8":"s5"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 )
With the initial state: s0, and accepting states: ['s2', 's7', 's5', 's8', 's3'],
What will be the state after reading the following input: e c e e d e b d d e a e a d d a c b | s5 | 18 | 9 | 5 | 9_5 | ( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 ) |
4521a41d-24cb-4a0c-9c61-c1b28e846003 | 85dc3645-61fb-408f-b254-698c4bd497d4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s7", "s5", "s8", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}]} | 3 | {"a":{"s0":"s7","s1":"s0","s2":"s0","s3":"s0","s4":"s0","s5":"s1","s6":"s2","s7":"s2","s8":"s4"},"b":{"s0":"s5","s1":"s7","s2":"s0","s3":"s7","s4":"s6","s5":"s3","s6":"s4","s7":"s5","s8":"s5"},"c":{"s0":"s3","s1":"s0","s2":"s1","s3":"s1","s4":"s8","s5":"s0","s6":"s8","s7":"s8","s8":"s1"},"d":{"s0":"s1","s1":"s5","s2":"s1","s3":"s4","s4":"s1","s5":"s6","s6":"s2","s7":"s8","s8":"s6"},"e":{"s0":"s6","s1":"s1","s2":"s4","s3":"s5","s4":"s0","s5":"s5","s6":"s6","s7":"s1","s8":"s5"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 )
With the initial state: s0, and accepting states: ['s2', 's7', 's5', 's8', 's3'],
What will be the state after reading the following input: e c e e d e b d d e a e a d d a c b d | s6 | 19 | 9 | 5 | 9_5 | ( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 ) |
95335f34-fa32-411f-9e83-2b1c99609bea | 85dc3645-61fb-408f-b254-698c4bd497d4 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s2", "s7", "s5", "s8", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}]} | 3 | {"a":{"s0":"s7","s1":"s0","s2":"s0","s3":"s0","s4":"s0","s5":"s1","s6":"s2","s7":"s2","s8":"s4"},"b":{"s0":"s5","s1":"s7","s2":"s0","s3":"s7","s4":"s6","s5":"s3","s6":"s4","s7":"s5","s8":"s5"},"c":{"s0":"s3","s1":"s0","s2":"s1","s3":"s1","s4":"s8","s5":"s0","s6":"s8","s7":"s8","s8":"s1"},"d":{"s0":"s1","s1":"s5","s2":"s1","s3":"s4","s4":"s1","s5":"s6","s6":"s2","s7":"s8","s8":"s6"},"e":{"s0":"s6","s1":"s1","s2":"s4","s3":"s5","s4":"s0","s5":"s5","s6":"s6","s7":"s1","s8":"s5"}} | Given the following FSM transition rules:
( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 )
With the initial state: s0, and accepting states: ['s2', 's7', 's5', 's8', 's3'],
What will be the state after reading the following input: e c e e d e b d d e a e a d d a c b d d | s2 | 20 | 9 | 5 | 9_5 | ( s0 , a , s7 )
( s1 , a , s0 )
( s2 , a , s0 )
( s3 , a , s0 )
( s4 , a , s0 )
( s5 , a , s1 )
( s6 , a , s2 )
( s7 , a , s2 )
( s8 , a , s4 )
( s0 , b , s5 )
( s1 , b , s7 )
( s2 , b , s0 )
( s3 , b , s7 )
( s4 , b , s6 )
( s5 , b , s3 )
( s6 , b , s4 )
( s7 , b , s5 )
( s8 , b , s5 )
( s0 , c , s3 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s1 )
( s4 , c , s8 )
( s5 , c , s0 )
( s6 , c , s8 )
( s7 , c , s8 )
( s8 , c , s1 )
( s0 , d , s1 )
( s1 , d , s5 )
( s2 , d , s1 )
( s3 , d , s4 )
( s4 , d , s1 )
( s5 , d , s6 )
( s6 , d , s2 )
( s7 , d , s8 )
( s8 , d , s6 )
( s0 , e , s6 )
( s1 , e , s1 )
( s2 , e , s4 )
( s3 , e , s5 )
( s4 , e , s0 )
( s5 , e , s5 )
( s6 , e , s6 )
( s7 , e , s1 )
( s8 , e , s5 ) |
b4d38127-8797-4b61-90d9-c146fc9b8a42 | 8bfae3bb-5ea9-437f-afa0-ab6590956580 | {"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s9", "s10"], "alphabets": "abcd", "accepting_states": ["s3", "s10", "s6", "s2", "s5", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s3"]}]} | 4 | {"a":{"s0":"s10","s1":"s2","s2":"s9","s3":"s0","s5":"s6","s6":"s3","s7":"s9","s9":"s3","s10":"s6"},"b":{"s0":"s1","s1":"s1","s2":"s5","s3":"s6","s5":"s1","s6":"s6","s7":"s10","s9":"s5","s10":"s1"},"c":{"s0":"s3","s1":"s7","s2":"s5","s3":"s5","s5":"s3","s6":"s9","s7":"s3","s9":"s2","s10":"s0"},"d":{"s0":"s5","s1":"s3","s2":"s9","s3":"s9","s5":"s9","s6":"s6","s7":"s5","s9":"s0","s10":"s3"}} | Given the following FSM transition rules:
( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 )
With the initial state: s0, and accepting states: ['s3', 's10', 's6', 's2', 's5', 's1'],
What will be the state after reading the following input: d | s5 | 1 | 9 | 4 | 9_4 | ( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 ) |
2f9fb870-f320-4cbb-bb7b-9904033c2f32 | 8bfae3bb-5ea9-437f-afa0-ab6590956580 | {"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s9", "s10"], "alphabets": "abcd", "accepting_states": ["s3", "s10", "s6", "s2", "s5", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s3"]}]} | 4 | {"a":{"s0":"s10","s1":"s2","s2":"s9","s3":"s0","s5":"s6","s6":"s3","s7":"s9","s9":"s3","s10":"s6"},"b":{"s0":"s1","s1":"s1","s2":"s5","s3":"s6","s5":"s1","s6":"s6","s7":"s10","s9":"s5","s10":"s1"},"c":{"s0":"s3","s1":"s7","s2":"s5","s3":"s5","s5":"s3","s6":"s9","s7":"s3","s9":"s2","s10":"s0"},"d":{"s0":"s5","s1":"s3","s2":"s9","s3":"s9","s5":"s9","s6":"s6","s7":"s5","s9":"s0","s10":"s3"}} | Given the following FSM transition rules:
( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 )
With the initial state: s0, and accepting states: ['s3', 's10', 's6', 's2', 's5', 's1'],
What will be the state after reading the following input: d d | s9 | 2 | 9 | 4 | 9_4 | ( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 ) |
50da59a5-6ccb-4615-a3d7-9ecfe4d8a266 | 8bfae3bb-5ea9-437f-afa0-ab6590956580 | {"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s9", "s10"], "alphabets": "abcd", "accepting_states": ["s3", "s10", "s6", "s2", "s5", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s3"]}]} | 4 | {"a":{"s0":"s10","s1":"s2","s2":"s9","s3":"s0","s5":"s6","s6":"s3","s7":"s9","s9":"s3","s10":"s6"},"b":{"s0":"s1","s1":"s1","s2":"s5","s3":"s6","s5":"s1","s6":"s6","s7":"s10","s9":"s5","s10":"s1"},"c":{"s0":"s3","s1":"s7","s2":"s5","s3":"s5","s5":"s3","s6":"s9","s7":"s3","s9":"s2","s10":"s0"},"d":{"s0":"s5","s1":"s3","s2":"s9","s3":"s9","s5":"s9","s6":"s6","s7":"s5","s9":"s0","s10":"s3"}} | Given the following FSM transition rules:
( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 )
With the initial state: s0, and accepting states: ['s3', 's10', 's6', 's2', 's5', 's1'],
What will be the state after reading the following input: d d d | s0 | 3 | 9 | 4 | 9_4 | ( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 ) |
c9fbfaa1-7dd1-47a3-b781-fba8582a5829 | 8bfae3bb-5ea9-437f-afa0-ab6590956580 | {"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s9", "s10"], "alphabets": "abcd", "accepting_states": ["s3", "s10", "s6", "s2", "s5", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s3"]}]} | 4 | {"a":{"s0":"s10","s1":"s2","s2":"s9","s3":"s0","s5":"s6","s6":"s3","s7":"s9","s9":"s3","s10":"s6"},"b":{"s0":"s1","s1":"s1","s2":"s5","s3":"s6","s5":"s1","s6":"s6","s7":"s10","s9":"s5","s10":"s1"},"c":{"s0":"s3","s1":"s7","s2":"s5","s3":"s5","s5":"s3","s6":"s9","s7":"s3","s9":"s2","s10":"s0"},"d":{"s0":"s5","s1":"s3","s2":"s9","s3":"s9","s5":"s9","s6":"s6","s7":"s5","s9":"s0","s10":"s3"}} | Given the following FSM transition rules:
( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 )
With the initial state: s0, and accepting states: ['s3', 's10', 's6', 's2', 's5', 's1'],
What will be the state after reading the following input: d d d c | s3 | 4 | 9 | 4 | 9_4 | ( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 ) |
dca83a59-73ac-456e-9dc5-7022845fe3e6 | 8bfae3bb-5ea9-437f-afa0-ab6590956580 | {"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s9", "s10"], "alphabets": "abcd", "accepting_states": ["s3", "s10", "s6", "s2", "s5", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s3"]}]} | 4 | {"a":{"s0":"s10","s1":"s2","s2":"s9","s3":"s0","s5":"s6","s6":"s3","s7":"s9","s9":"s3","s10":"s6"},"b":{"s0":"s1","s1":"s1","s2":"s5","s3":"s6","s5":"s1","s6":"s6","s7":"s10","s9":"s5","s10":"s1"},"c":{"s0":"s3","s1":"s7","s2":"s5","s3":"s5","s5":"s3","s6":"s9","s7":"s3","s9":"s2","s10":"s0"},"d":{"s0":"s5","s1":"s3","s2":"s9","s3":"s9","s5":"s9","s6":"s6","s7":"s5","s9":"s0","s10":"s3"}} | Given the following FSM transition rules:
( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 )
With the initial state: s0, and accepting states: ['s3', 's10', 's6', 's2', 's5', 's1'],
What will be the state after reading the following input: d d d c d | s9 | 5 | 9 | 4 | 9_4 | ( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 ) |
a5dc3765-183a-4bb3-8115-98fcb82a568f | 8bfae3bb-5ea9-437f-afa0-ab6590956580 | {"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s9", "s10"], "alphabets": "abcd", "accepting_states": ["s3", "s10", "s6", "s2", "s5", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s3"]}]} | 4 | {"a":{"s0":"s10","s1":"s2","s2":"s9","s3":"s0","s5":"s6","s6":"s3","s7":"s9","s9":"s3","s10":"s6"},"b":{"s0":"s1","s1":"s1","s2":"s5","s3":"s6","s5":"s1","s6":"s6","s7":"s10","s9":"s5","s10":"s1"},"c":{"s0":"s3","s1":"s7","s2":"s5","s3":"s5","s5":"s3","s6":"s9","s7":"s3","s9":"s2","s10":"s0"},"d":{"s0":"s5","s1":"s3","s2":"s9","s3":"s9","s5":"s9","s6":"s6","s7":"s5","s9":"s0","s10":"s3"}} | Given the following FSM transition rules:
( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 )
With the initial state: s0, and accepting states: ['s3', 's10', 's6', 's2', 's5', 's1'],
What will be the state after reading the following input: d d d c d b | s5 | 6 | 9 | 4 | 9_4 | ( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 ) |
ea3b3c8f-636c-4bba-ba6d-c8dbb0e2c27d | 8bfae3bb-5ea9-437f-afa0-ab6590956580 | {"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s9", "s10"], "alphabets": "abcd", "accepting_states": ["s3", "s10", "s6", "s2", "s5", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s3"]}]} | 4 | {"a":{"s0":"s10","s1":"s2","s2":"s9","s3":"s0","s5":"s6","s6":"s3","s7":"s9","s9":"s3","s10":"s6"},"b":{"s0":"s1","s1":"s1","s2":"s5","s3":"s6","s5":"s1","s6":"s6","s7":"s10","s9":"s5","s10":"s1"},"c":{"s0":"s3","s1":"s7","s2":"s5","s3":"s5","s5":"s3","s6":"s9","s7":"s3","s9":"s2","s10":"s0"},"d":{"s0":"s5","s1":"s3","s2":"s9","s3":"s9","s5":"s9","s6":"s6","s7":"s5","s9":"s0","s10":"s3"}} | Given the following FSM transition rules:
( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 )
With the initial state: s0, and accepting states: ['s3', 's10', 's6', 's2', 's5', 's1'],
What will be the state after reading the following input: d d d c d b c | s3 | 7 | 9 | 4 | 9_4 | ( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 ) |
73adaae2-ab0e-419f-84d3-f5ef8961fcfa | 8bfae3bb-5ea9-437f-afa0-ab6590956580 | {"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s9", "s10"], "alphabets": "abcd", "accepting_states": ["s3", "s10", "s6", "s2", "s5", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s3"]}]} | 4 | {"a":{"s0":"s10","s1":"s2","s2":"s9","s3":"s0","s5":"s6","s6":"s3","s7":"s9","s9":"s3","s10":"s6"},"b":{"s0":"s1","s1":"s1","s2":"s5","s3":"s6","s5":"s1","s6":"s6","s7":"s10","s9":"s5","s10":"s1"},"c":{"s0":"s3","s1":"s7","s2":"s5","s3":"s5","s5":"s3","s6":"s9","s7":"s3","s9":"s2","s10":"s0"},"d":{"s0":"s5","s1":"s3","s2":"s9","s3":"s9","s5":"s9","s6":"s6","s7":"s5","s9":"s0","s10":"s3"}} | Given the following FSM transition rules:
( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 )
With the initial state: s0, and accepting states: ['s3', 's10', 's6', 's2', 's5', 's1'],
What will be the state after reading the following input: d d d c d b c d | s9 | 8 | 9 | 4 | 9_4 | ( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 ) |
9a546c44-a7a9-464e-a975-9e646ad81305 | 8bfae3bb-5ea9-437f-afa0-ab6590956580 | {"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s9", "s10"], "alphabets": "abcd", "accepting_states": ["s3", "s10", "s6", "s2", "s5", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s3"]}]} | 4 | {"a":{"s0":"s10","s1":"s2","s2":"s9","s3":"s0","s5":"s6","s6":"s3","s7":"s9","s9":"s3","s10":"s6"},"b":{"s0":"s1","s1":"s1","s2":"s5","s3":"s6","s5":"s1","s6":"s6","s7":"s10","s9":"s5","s10":"s1"},"c":{"s0":"s3","s1":"s7","s2":"s5","s3":"s5","s5":"s3","s6":"s9","s7":"s3","s9":"s2","s10":"s0"},"d":{"s0":"s5","s1":"s3","s2":"s9","s3":"s9","s5":"s9","s6":"s6","s7":"s5","s9":"s0","s10":"s3"}} | Given the following FSM transition rules:
( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 )
With the initial state: s0, and accepting states: ['s3', 's10', 's6', 's2', 's5', 's1'],
What will be the state after reading the following input: d d d c d b c d a | s3 | 9 | 9 | 4 | 9_4 | ( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 ) |
edd0c878-195c-4fae-b444-0d236755528f | 8bfae3bb-5ea9-437f-afa0-ab6590956580 | {"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s9", "s10"], "alphabets": "abcd", "accepting_states": ["s3", "s10", "s6", "s2", "s5", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s3"]}]} | 4 | {"a":{"s0":"s10","s1":"s2","s2":"s9","s3":"s0","s5":"s6","s6":"s3","s7":"s9","s9":"s3","s10":"s6"},"b":{"s0":"s1","s1":"s1","s2":"s5","s3":"s6","s5":"s1","s6":"s6","s7":"s10","s9":"s5","s10":"s1"},"c":{"s0":"s3","s1":"s7","s2":"s5","s3":"s5","s5":"s3","s6":"s9","s7":"s3","s9":"s2","s10":"s0"},"d":{"s0":"s5","s1":"s3","s2":"s9","s3":"s9","s5":"s9","s6":"s6","s7":"s5","s9":"s0","s10":"s3"}} | Given the following FSM transition rules:
( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 )
With the initial state: s0, and accepting states: ['s3', 's10', 's6', 's2', 's5', 's1'],
What will be the state after reading the following input: d d d c d b c d a c | s5 | 10 | 9 | 4 | 9_4 | ( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 ) |
0da24b89-df16-44b0-9025-645d31f4fbd4 | 8bfae3bb-5ea9-437f-afa0-ab6590956580 | {"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s9", "s10"], "alphabets": "abcd", "accepting_states": ["s3", "s10", "s6", "s2", "s5", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s3"]}]} | 4 | {"a":{"s0":"s10","s1":"s2","s2":"s9","s3":"s0","s5":"s6","s6":"s3","s7":"s9","s9":"s3","s10":"s6"},"b":{"s0":"s1","s1":"s1","s2":"s5","s3":"s6","s5":"s1","s6":"s6","s7":"s10","s9":"s5","s10":"s1"},"c":{"s0":"s3","s1":"s7","s2":"s5","s3":"s5","s5":"s3","s6":"s9","s7":"s3","s9":"s2","s10":"s0"},"d":{"s0":"s5","s1":"s3","s2":"s9","s3":"s9","s5":"s9","s6":"s6","s7":"s5","s9":"s0","s10":"s3"}} | Given the following FSM transition rules:
( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 )
With the initial state: s0, and accepting states: ['s3', 's10', 's6', 's2', 's5', 's1'],
What will be the state after reading the following input: d d d c d b c d a c c | s3 | 11 | 9 | 4 | 9_4 | ( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 ) |
d2a1e9cb-b7ce-451c-8cbb-1b209d71b29f | 8bfae3bb-5ea9-437f-afa0-ab6590956580 | {"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s9", "s10"], "alphabets": "abcd", "accepting_states": ["s3", "s10", "s6", "s2", "s5", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s3"]}]} | 4 | {"a":{"s0":"s10","s1":"s2","s2":"s9","s3":"s0","s5":"s6","s6":"s3","s7":"s9","s9":"s3","s10":"s6"},"b":{"s0":"s1","s1":"s1","s2":"s5","s3":"s6","s5":"s1","s6":"s6","s7":"s10","s9":"s5","s10":"s1"},"c":{"s0":"s3","s1":"s7","s2":"s5","s3":"s5","s5":"s3","s6":"s9","s7":"s3","s9":"s2","s10":"s0"},"d":{"s0":"s5","s1":"s3","s2":"s9","s3":"s9","s5":"s9","s6":"s6","s7":"s5","s9":"s0","s10":"s3"}} | Given the following FSM transition rules:
( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 )
With the initial state: s0, and accepting states: ['s3', 's10', 's6', 's2', 's5', 's1'],
What will be the state after reading the following input: d d d c d b c d a c c c | s5 | 12 | 9 | 4 | 9_4 | ( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 ) |
776477fd-5577-46e0-aab1-5bed0ce37273 | 8bfae3bb-5ea9-437f-afa0-ab6590956580 | {"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s9", "s10"], "alphabets": "abcd", "accepting_states": ["s3", "s10", "s6", "s2", "s5", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s3"]}]} | 4 | {"a":{"s0":"s10","s1":"s2","s2":"s9","s3":"s0","s5":"s6","s6":"s3","s7":"s9","s9":"s3","s10":"s6"},"b":{"s0":"s1","s1":"s1","s2":"s5","s3":"s6","s5":"s1","s6":"s6","s7":"s10","s9":"s5","s10":"s1"},"c":{"s0":"s3","s1":"s7","s2":"s5","s3":"s5","s5":"s3","s6":"s9","s7":"s3","s9":"s2","s10":"s0"},"d":{"s0":"s5","s1":"s3","s2":"s9","s3":"s9","s5":"s9","s6":"s6","s7":"s5","s9":"s0","s10":"s3"}} | Given the following FSM transition rules:
( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 )
With the initial state: s0, and accepting states: ['s3', 's10', 's6', 's2', 's5', 's1'],
What will be the state after reading the following input: d d d c d b c d a c c c a | s6 | 13 | 9 | 4 | 9_4 | ( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 ) |
a9d51e35-2efa-4188-bb62-9a81028e45b1 | 8bfae3bb-5ea9-437f-afa0-ab6590956580 | {"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s9", "s10"], "alphabets": "abcd", "accepting_states": ["s3", "s10", "s6", "s2", "s5", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s3"]}]} | 4 | {"a":{"s0":"s10","s1":"s2","s2":"s9","s3":"s0","s5":"s6","s6":"s3","s7":"s9","s9":"s3","s10":"s6"},"b":{"s0":"s1","s1":"s1","s2":"s5","s3":"s6","s5":"s1","s6":"s6","s7":"s10","s9":"s5","s10":"s1"},"c":{"s0":"s3","s1":"s7","s2":"s5","s3":"s5","s5":"s3","s6":"s9","s7":"s3","s9":"s2","s10":"s0"},"d":{"s0":"s5","s1":"s3","s2":"s9","s3":"s9","s5":"s9","s6":"s6","s7":"s5","s9":"s0","s10":"s3"}} | Given the following FSM transition rules:
( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 )
With the initial state: s0, and accepting states: ['s3', 's10', 's6', 's2', 's5', 's1'],
What will be the state after reading the following input: d d d c d b c d a c c c a d | s6 | 14 | 9 | 4 | 9_4 | ( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 ) |
f5e31f37-8d30-4e41-9384-b956c484b841 | 8bfae3bb-5ea9-437f-afa0-ab6590956580 | {"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s9", "s10"], "alphabets": "abcd", "accepting_states": ["s3", "s10", "s6", "s2", "s5", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s3"]}]} | 4 | {"a":{"s0":"s10","s1":"s2","s2":"s9","s3":"s0","s5":"s6","s6":"s3","s7":"s9","s9":"s3","s10":"s6"},"b":{"s0":"s1","s1":"s1","s2":"s5","s3":"s6","s5":"s1","s6":"s6","s7":"s10","s9":"s5","s10":"s1"},"c":{"s0":"s3","s1":"s7","s2":"s5","s3":"s5","s5":"s3","s6":"s9","s7":"s3","s9":"s2","s10":"s0"},"d":{"s0":"s5","s1":"s3","s2":"s9","s3":"s9","s5":"s9","s6":"s6","s7":"s5","s9":"s0","s10":"s3"}} | Given the following FSM transition rules:
( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 )
With the initial state: s0, and accepting states: ['s3', 's10', 's6', 's2', 's5', 's1'],
What will be the state after reading the following input: d d d c d b c d a c c c a d a | s3 | 15 | 9 | 4 | 9_4 | ( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 ) |
00633d21-255d-4c4f-a16d-4ab09d7a1253 | 8bfae3bb-5ea9-437f-afa0-ab6590956580 | {"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s9", "s10"], "alphabets": "abcd", "accepting_states": ["s3", "s10", "s6", "s2", "s5", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s3"]}]} | 4 | {"a":{"s0":"s10","s1":"s2","s2":"s9","s3":"s0","s5":"s6","s6":"s3","s7":"s9","s9":"s3","s10":"s6"},"b":{"s0":"s1","s1":"s1","s2":"s5","s3":"s6","s5":"s1","s6":"s6","s7":"s10","s9":"s5","s10":"s1"},"c":{"s0":"s3","s1":"s7","s2":"s5","s3":"s5","s5":"s3","s6":"s9","s7":"s3","s9":"s2","s10":"s0"},"d":{"s0":"s5","s1":"s3","s2":"s9","s3":"s9","s5":"s9","s6":"s6","s7":"s5","s9":"s0","s10":"s3"}} | Given the following FSM transition rules:
( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 )
With the initial state: s0, and accepting states: ['s3', 's10', 's6', 's2', 's5', 's1'],
What will be the state after reading the following input: d d d c d b c d a c c c a d a c | s5 | 16 | 9 | 4 | 9_4 | ( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 ) |
7674825e-f336-4329-a6e0-58d9e8af7607 | 8bfae3bb-5ea9-437f-afa0-ab6590956580 | {"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s9", "s10"], "alphabets": "abcd", "accepting_states": ["s3", "s10", "s6", "s2", "s5", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s3"]}]} | 4 | {"a":{"s0":"s10","s1":"s2","s2":"s9","s3":"s0","s5":"s6","s6":"s3","s7":"s9","s9":"s3","s10":"s6"},"b":{"s0":"s1","s1":"s1","s2":"s5","s3":"s6","s5":"s1","s6":"s6","s7":"s10","s9":"s5","s10":"s1"},"c":{"s0":"s3","s1":"s7","s2":"s5","s3":"s5","s5":"s3","s6":"s9","s7":"s3","s9":"s2","s10":"s0"},"d":{"s0":"s5","s1":"s3","s2":"s9","s3":"s9","s5":"s9","s6":"s6","s7":"s5","s9":"s0","s10":"s3"}} | Given the following FSM transition rules:
( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 )
With the initial state: s0, and accepting states: ['s3', 's10', 's6', 's2', 's5', 's1'],
What will be the state after reading the following input: d d d c d b c d a c c c a d a c d | s9 | 17 | 9 | 4 | 9_4 | ( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 ) |
6d80d9d3-a138-494e-ac8a-e5657ef988ac | 8bfae3bb-5ea9-437f-afa0-ab6590956580 | {"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s9", "s10"], "alphabets": "abcd", "accepting_states": ["s3", "s10", "s6", "s2", "s5", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s3"]}]} | 4 | {"a":{"s0":"s10","s1":"s2","s2":"s9","s3":"s0","s5":"s6","s6":"s3","s7":"s9","s9":"s3","s10":"s6"},"b":{"s0":"s1","s1":"s1","s2":"s5","s3":"s6","s5":"s1","s6":"s6","s7":"s10","s9":"s5","s10":"s1"},"c":{"s0":"s3","s1":"s7","s2":"s5","s3":"s5","s5":"s3","s6":"s9","s7":"s3","s9":"s2","s10":"s0"},"d":{"s0":"s5","s1":"s3","s2":"s9","s3":"s9","s5":"s9","s6":"s6","s7":"s5","s9":"s0","s10":"s3"}} | Given the following FSM transition rules:
( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 )
With the initial state: s0, and accepting states: ['s3', 's10', 's6', 's2', 's5', 's1'],
What will be the state after reading the following input: d d d c d b c d a c c c a d a c d c | s2 | 18 | 9 | 4 | 9_4 | ( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 ) |
731ad352-d96c-46ff-9c1b-95487babf053 | 8bfae3bb-5ea9-437f-afa0-ab6590956580 | {"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s9", "s10"], "alphabets": "abcd", "accepting_states": ["s3", "s10", "s6", "s2", "s5", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s3"]}]} | 4 | {"a":{"s0":"s10","s1":"s2","s2":"s9","s3":"s0","s5":"s6","s6":"s3","s7":"s9","s9":"s3","s10":"s6"},"b":{"s0":"s1","s1":"s1","s2":"s5","s3":"s6","s5":"s1","s6":"s6","s7":"s10","s9":"s5","s10":"s1"},"c":{"s0":"s3","s1":"s7","s2":"s5","s3":"s5","s5":"s3","s6":"s9","s7":"s3","s9":"s2","s10":"s0"},"d":{"s0":"s5","s1":"s3","s2":"s9","s3":"s9","s5":"s9","s6":"s6","s7":"s5","s9":"s0","s10":"s3"}} | Given the following FSM transition rules:
( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 )
With the initial state: s0, and accepting states: ['s3', 's10', 's6', 's2', 's5', 's1'],
What will be the state after reading the following input: d d d c d b c d a c c c a d a c d c c | s5 | 19 | 9 | 4 | 9_4 | ( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 ) |
e800f1f0-bf00-4abd-b270-372b17bb4355 | 8bfae3bb-5ea9-437f-afa0-ab6590956580 | {"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s9", "s10"], "alphabets": "abcd", "accepting_states": ["s3", "s10", "s6", "s2", "s5", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s3"]}]} | 4 | {"a":{"s0":"s10","s1":"s2","s2":"s9","s3":"s0","s5":"s6","s6":"s3","s7":"s9","s9":"s3","s10":"s6"},"b":{"s0":"s1","s1":"s1","s2":"s5","s3":"s6","s5":"s1","s6":"s6","s7":"s10","s9":"s5","s10":"s1"},"c":{"s0":"s3","s1":"s7","s2":"s5","s3":"s5","s5":"s3","s6":"s9","s7":"s3","s9":"s2","s10":"s0"},"d":{"s0":"s5","s1":"s3","s2":"s9","s3":"s9","s5":"s9","s6":"s6","s7":"s5","s9":"s0","s10":"s3"}} | Given the following FSM transition rules:
( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 )
With the initial state: s0, and accepting states: ['s3', 's10', 's6', 's2', 's5', 's1'],
What will be the state after reading the following input: d d d c d b c d a c c c a d a c d c c a | s6 | 20 | 9 | 4 | 9_4 | ( s0 , a , s10 )
( s1 , a , s2 )
( s2 , a , s9 )
( s3 , a , s0 )
( s5 , a , s6 )
( s6 , a , s3 )
( s7 , a , s9 )
( s9 , a , s3 )
( s10 , a , s6 )
( s0 , b , s1 )
( s1 , b , s1 )
( s2 , b , s5 )
( s3 , b , s6 )
( s5 , b , s1 )
( s6 , b , s6 )
( s7 , b , s10 )
( s9 , b , s5 )
( s10 , b , s1 )
( s0 , c , s3 )
( s1 , c , s7 )
( s2 , c , s5 )
( s3 , c , s5 )
( s5 , c , s3 )
( s6 , c , s9 )
( s7 , c , s3 )
( s9 , c , s2 )
( s10 , c , s0 )
( s0 , d , s5 )
( s1 , d , s3 )
( s2 , d , s9 )
( s3 , d , s9 )
( s5 , d , s9 )
( s6 , d , s6 )
( s7 , d , s5 )
( s9 , d , s0 )
( s10 , d , s3 ) |
9bce4cc7-7ad2-4921-b928-03b78179fd86 | b552099a-0b2b-48a2-8e64-592152e63253 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s1", "s3", "s8", "s4", "s2", "s0", "s7", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s0","s1":"s6","s2":"s7","s3":"s3","s4":"s6","s5":"s3","s6":"s3","s7":"s8","s8":"s1"},"b":{"s0":"s7","s1":"s1","s2":"s3","s3":"s5","s4":"s4","s5":"s6","s6":"s5","s7":"s1","s8":"s3"},"c":{"s0":"s2","s1":"s4","s2":"s4","s3":"s4","s4":"s3","s5":"s4","s6":"s2","s7":"s2","s8":"s4"},"d":{"s0":"s7","s1":"s0","s2":"s2","s3":"s2","s4":"s0","s5":"s7","s6":"s3","s7":"s5","s8":"s7"},"e":{"s0":"s2","s1":"s0","s2":"s2","s3":"s7","s4":"s5","s5":"s2","s6":"s4","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 )
With the initial state: s0, and accepting states: ['s1', 's3', 's8', 's4', 's2', 's0', 's7', 's5'],
What will be the state after reading the following input: a | s0 | 1 | 9 | 5 | 9_5 | ( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 ) |
49f1de1f-5a03-47a5-8dfb-94c90a5363ba | b552099a-0b2b-48a2-8e64-592152e63253 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s1", "s3", "s8", "s4", "s2", "s0", "s7", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s0","s1":"s6","s2":"s7","s3":"s3","s4":"s6","s5":"s3","s6":"s3","s7":"s8","s8":"s1"},"b":{"s0":"s7","s1":"s1","s2":"s3","s3":"s5","s4":"s4","s5":"s6","s6":"s5","s7":"s1","s8":"s3"},"c":{"s0":"s2","s1":"s4","s2":"s4","s3":"s4","s4":"s3","s5":"s4","s6":"s2","s7":"s2","s8":"s4"},"d":{"s0":"s7","s1":"s0","s2":"s2","s3":"s2","s4":"s0","s5":"s7","s6":"s3","s7":"s5","s8":"s7"},"e":{"s0":"s2","s1":"s0","s2":"s2","s3":"s7","s4":"s5","s5":"s2","s6":"s4","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 )
With the initial state: s0, and accepting states: ['s1', 's3', 's8', 's4', 's2', 's0', 's7', 's5'],
What will be the state after reading the following input: a b | s7 | 2 | 9 | 5 | 9_5 | ( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 ) |
9a3d4318-f399-4ec2-ae97-9966ba9c421a | b552099a-0b2b-48a2-8e64-592152e63253 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s1", "s3", "s8", "s4", "s2", "s0", "s7", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s0","s1":"s6","s2":"s7","s3":"s3","s4":"s6","s5":"s3","s6":"s3","s7":"s8","s8":"s1"},"b":{"s0":"s7","s1":"s1","s2":"s3","s3":"s5","s4":"s4","s5":"s6","s6":"s5","s7":"s1","s8":"s3"},"c":{"s0":"s2","s1":"s4","s2":"s4","s3":"s4","s4":"s3","s5":"s4","s6":"s2","s7":"s2","s8":"s4"},"d":{"s0":"s7","s1":"s0","s2":"s2","s3":"s2","s4":"s0","s5":"s7","s6":"s3","s7":"s5","s8":"s7"},"e":{"s0":"s2","s1":"s0","s2":"s2","s3":"s7","s4":"s5","s5":"s2","s6":"s4","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 )
With the initial state: s0, and accepting states: ['s1', 's3', 's8', 's4', 's2', 's0', 's7', 's5'],
What will be the state after reading the following input: a b a | s8 | 3 | 9 | 5 | 9_5 | ( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 ) |
88bcdbd4-d7a9-47a6-8cda-adc2666252b2 | b552099a-0b2b-48a2-8e64-592152e63253 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s1", "s3", "s8", "s4", "s2", "s0", "s7", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s0","s1":"s6","s2":"s7","s3":"s3","s4":"s6","s5":"s3","s6":"s3","s7":"s8","s8":"s1"},"b":{"s0":"s7","s1":"s1","s2":"s3","s3":"s5","s4":"s4","s5":"s6","s6":"s5","s7":"s1","s8":"s3"},"c":{"s0":"s2","s1":"s4","s2":"s4","s3":"s4","s4":"s3","s5":"s4","s6":"s2","s7":"s2","s8":"s4"},"d":{"s0":"s7","s1":"s0","s2":"s2","s3":"s2","s4":"s0","s5":"s7","s6":"s3","s7":"s5","s8":"s7"},"e":{"s0":"s2","s1":"s0","s2":"s2","s3":"s7","s4":"s5","s5":"s2","s6":"s4","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 )
With the initial state: s0, and accepting states: ['s1', 's3', 's8', 's4', 's2', 's0', 's7', 's5'],
What will be the state after reading the following input: a b a e | s1 | 4 | 9 | 5 | 9_5 | ( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 ) |
0c9a86e6-b7cc-4cd0-824b-5fb4b9fd8ef6 | b552099a-0b2b-48a2-8e64-592152e63253 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s1", "s3", "s8", "s4", "s2", "s0", "s7", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s0","s1":"s6","s2":"s7","s3":"s3","s4":"s6","s5":"s3","s6":"s3","s7":"s8","s8":"s1"},"b":{"s0":"s7","s1":"s1","s2":"s3","s3":"s5","s4":"s4","s5":"s6","s6":"s5","s7":"s1","s8":"s3"},"c":{"s0":"s2","s1":"s4","s2":"s4","s3":"s4","s4":"s3","s5":"s4","s6":"s2","s7":"s2","s8":"s4"},"d":{"s0":"s7","s1":"s0","s2":"s2","s3":"s2","s4":"s0","s5":"s7","s6":"s3","s7":"s5","s8":"s7"},"e":{"s0":"s2","s1":"s0","s2":"s2","s3":"s7","s4":"s5","s5":"s2","s6":"s4","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 )
With the initial state: s0, and accepting states: ['s1', 's3', 's8', 's4', 's2', 's0', 's7', 's5'],
What will be the state after reading the following input: a b a e c | s4 | 5 | 9 | 5 | 9_5 | ( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 ) |
8b4a2c65-3978-493d-a065-a311f893c597 | b552099a-0b2b-48a2-8e64-592152e63253 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s1", "s3", "s8", "s4", "s2", "s0", "s7", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s0","s1":"s6","s2":"s7","s3":"s3","s4":"s6","s5":"s3","s6":"s3","s7":"s8","s8":"s1"},"b":{"s0":"s7","s1":"s1","s2":"s3","s3":"s5","s4":"s4","s5":"s6","s6":"s5","s7":"s1","s8":"s3"},"c":{"s0":"s2","s1":"s4","s2":"s4","s3":"s4","s4":"s3","s5":"s4","s6":"s2","s7":"s2","s8":"s4"},"d":{"s0":"s7","s1":"s0","s2":"s2","s3":"s2","s4":"s0","s5":"s7","s6":"s3","s7":"s5","s8":"s7"},"e":{"s0":"s2","s1":"s0","s2":"s2","s3":"s7","s4":"s5","s5":"s2","s6":"s4","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 )
With the initial state: s0, and accepting states: ['s1', 's3', 's8', 's4', 's2', 's0', 's7', 's5'],
What will be the state after reading the following input: a b a e c c | s3 | 6 | 9 | 5 | 9_5 | ( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 ) |
588980c7-bc36-41ad-9e03-fda214cc70b2 | b552099a-0b2b-48a2-8e64-592152e63253 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s1", "s3", "s8", "s4", "s2", "s0", "s7", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s0","s1":"s6","s2":"s7","s3":"s3","s4":"s6","s5":"s3","s6":"s3","s7":"s8","s8":"s1"},"b":{"s0":"s7","s1":"s1","s2":"s3","s3":"s5","s4":"s4","s5":"s6","s6":"s5","s7":"s1","s8":"s3"},"c":{"s0":"s2","s1":"s4","s2":"s4","s3":"s4","s4":"s3","s5":"s4","s6":"s2","s7":"s2","s8":"s4"},"d":{"s0":"s7","s1":"s0","s2":"s2","s3":"s2","s4":"s0","s5":"s7","s6":"s3","s7":"s5","s8":"s7"},"e":{"s0":"s2","s1":"s0","s2":"s2","s3":"s7","s4":"s5","s5":"s2","s6":"s4","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 )
With the initial state: s0, and accepting states: ['s1', 's3', 's8', 's4', 's2', 's0', 's7', 's5'],
What will be the state after reading the following input: a b a e c c e | s7 | 7 | 9 | 5 | 9_5 | ( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 ) |
771b5d6f-806c-44d2-b6e1-513cde8dd946 | b552099a-0b2b-48a2-8e64-592152e63253 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s1", "s3", "s8", "s4", "s2", "s0", "s7", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s0","s1":"s6","s2":"s7","s3":"s3","s4":"s6","s5":"s3","s6":"s3","s7":"s8","s8":"s1"},"b":{"s0":"s7","s1":"s1","s2":"s3","s3":"s5","s4":"s4","s5":"s6","s6":"s5","s7":"s1","s8":"s3"},"c":{"s0":"s2","s1":"s4","s2":"s4","s3":"s4","s4":"s3","s5":"s4","s6":"s2","s7":"s2","s8":"s4"},"d":{"s0":"s7","s1":"s0","s2":"s2","s3":"s2","s4":"s0","s5":"s7","s6":"s3","s7":"s5","s8":"s7"},"e":{"s0":"s2","s1":"s0","s2":"s2","s3":"s7","s4":"s5","s5":"s2","s6":"s4","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 )
With the initial state: s0, and accepting states: ['s1', 's3', 's8', 's4', 's2', 's0', 's7', 's5'],
What will be the state after reading the following input: a b a e c c e b | s1 | 8 | 9 | 5 | 9_5 | ( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 ) |
789bf5ab-d6ac-4ff1-b3ae-1e6e91f290b0 | b552099a-0b2b-48a2-8e64-592152e63253 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s1", "s3", "s8", "s4", "s2", "s0", "s7", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s0","s1":"s6","s2":"s7","s3":"s3","s4":"s6","s5":"s3","s6":"s3","s7":"s8","s8":"s1"},"b":{"s0":"s7","s1":"s1","s2":"s3","s3":"s5","s4":"s4","s5":"s6","s6":"s5","s7":"s1","s8":"s3"},"c":{"s0":"s2","s1":"s4","s2":"s4","s3":"s4","s4":"s3","s5":"s4","s6":"s2","s7":"s2","s8":"s4"},"d":{"s0":"s7","s1":"s0","s2":"s2","s3":"s2","s4":"s0","s5":"s7","s6":"s3","s7":"s5","s8":"s7"},"e":{"s0":"s2","s1":"s0","s2":"s2","s3":"s7","s4":"s5","s5":"s2","s6":"s4","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 )
With the initial state: s0, and accepting states: ['s1', 's3', 's8', 's4', 's2', 's0', 's7', 's5'],
What will be the state after reading the following input: a b a e c c e b a | s6 | 9 | 9 | 5 | 9_5 | ( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 ) |
a6d45205-ad3e-4861-a70c-e6d82df6d011 | b552099a-0b2b-48a2-8e64-592152e63253 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s1", "s3", "s8", "s4", "s2", "s0", "s7", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s0","s1":"s6","s2":"s7","s3":"s3","s4":"s6","s5":"s3","s6":"s3","s7":"s8","s8":"s1"},"b":{"s0":"s7","s1":"s1","s2":"s3","s3":"s5","s4":"s4","s5":"s6","s6":"s5","s7":"s1","s8":"s3"},"c":{"s0":"s2","s1":"s4","s2":"s4","s3":"s4","s4":"s3","s5":"s4","s6":"s2","s7":"s2","s8":"s4"},"d":{"s0":"s7","s1":"s0","s2":"s2","s3":"s2","s4":"s0","s5":"s7","s6":"s3","s7":"s5","s8":"s7"},"e":{"s0":"s2","s1":"s0","s2":"s2","s3":"s7","s4":"s5","s5":"s2","s6":"s4","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 )
With the initial state: s0, and accepting states: ['s1', 's3', 's8', 's4', 's2', 's0', 's7', 's5'],
What will be the state after reading the following input: a b a e c c e b a a | s3 | 10 | 9 | 5 | 9_5 | ( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 ) |
6a71b52a-13cc-475e-8f01-8dd85e11bafe | b552099a-0b2b-48a2-8e64-592152e63253 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s1", "s3", "s8", "s4", "s2", "s0", "s7", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s0","s1":"s6","s2":"s7","s3":"s3","s4":"s6","s5":"s3","s6":"s3","s7":"s8","s8":"s1"},"b":{"s0":"s7","s1":"s1","s2":"s3","s3":"s5","s4":"s4","s5":"s6","s6":"s5","s7":"s1","s8":"s3"},"c":{"s0":"s2","s1":"s4","s2":"s4","s3":"s4","s4":"s3","s5":"s4","s6":"s2","s7":"s2","s8":"s4"},"d":{"s0":"s7","s1":"s0","s2":"s2","s3":"s2","s4":"s0","s5":"s7","s6":"s3","s7":"s5","s8":"s7"},"e":{"s0":"s2","s1":"s0","s2":"s2","s3":"s7","s4":"s5","s5":"s2","s6":"s4","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 )
With the initial state: s0, and accepting states: ['s1', 's3', 's8', 's4', 's2', 's0', 's7', 's5'],
What will be the state after reading the following input: a b a e c c e b a a a | s3 | 11 | 9 | 5 | 9_5 | ( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 ) |
465070f1-47b2-4b54-a4a9-7c471480e198 | b552099a-0b2b-48a2-8e64-592152e63253 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s1", "s3", "s8", "s4", "s2", "s0", "s7", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s0","s1":"s6","s2":"s7","s3":"s3","s4":"s6","s5":"s3","s6":"s3","s7":"s8","s8":"s1"},"b":{"s0":"s7","s1":"s1","s2":"s3","s3":"s5","s4":"s4","s5":"s6","s6":"s5","s7":"s1","s8":"s3"},"c":{"s0":"s2","s1":"s4","s2":"s4","s3":"s4","s4":"s3","s5":"s4","s6":"s2","s7":"s2","s8":"s4"},"d":{"s0":"s7","s1":"s0","s2":"s2","s3":"s2","s4":"s0","s5":"s7","s6":"s3","s7":"s5","s8":"s7"},"e":{"s0":"s2","s1":"s0","s2":"s2","s3":"s7","s4":"s5","s5":"s2","s6":"s4","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 )
With the initial state: s0, and accepting states: ['s1', 's3', 's8', 's4', 's2', 's0', 's7', 's5'],
What will be the state after reading the following input: a b a e c c e b a a a b | s5 | 12 | 9 | 5 | 9_5 | ( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 ) |
287b440d-c9d9-4590-8686-5356252655e3 | b552099a-0b2b-48a2-8e64-592152e63253 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s1", "s3", "s8", "s4", "s2", "s0", "s7", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s0","s1":"s6","s2":"s7","s3":"s3","s4":"s6","s5":"s3","s6":"s3","s7":"s8","s8":"s1"},"b":{"s0":"s7","s1":"s1","s2":"s3","s3":"s5","s4":"s4","s5":"s6","s6":"s5","s7":"s1","s8":"s3"},"c":{"s0":"s2","s1":"s4","s2":"s4","s3":"s4","s4":"s3","s5":"s4","s6":"s2","s7":"s2","s8":"s4"},"d":{"s0":"s7","s1":"s0","s2":"s2","s3":"s2","s4":"s0","s5":"s7","s6":"s3","s7":"s5","s8":"s7"},"e":{"s0":"s2","s1":"s0","s2":"s2","s3":"s7","s4":"s5","s5":"s2","s6":"s4","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 )
With the initial state: s0, and accepting states: ['s1', 's3', 's8', 's4', 's2', 's0', 's7', 's5'],
What will be the state after reading the following input: a b a e c c e b a a a b b | s6 | 13 | 9 | 5 | 9_5 | ( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 ) |
ffa4c9f2-03ef-48de-b8d4-5e4cb2449717 | b552099a-0b2b-48a2-8e64-592152e63253 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s1", "s3", "s8", "s4", "s2", "s0", "s7", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s0","s1":"s6","s2":"s7","s3":"s3","s4":"s6","s5":"s3","s6":"s3","s7":"s8","s8":"s1"},"b":{"s0":"s7","s1":"s1","s2":"s3","s3":"s5","s4":"s4","s5":"s6","s6":"s5","s7":"s1","s8":"s3"},"c":{"s0":"s2","s1":"s4","s2":"s4","s3":"s4","s4":"s3","s5":"s4","s6":"s2","s7":"s2","s8":"s4"},"d":{"s0":"s7","s1":"s0","s2":"s2","s3":"s2","s4":"s0","s5":"s7","s6":"s3","s7":"s5","s8":"s7"},"e":{"s0":"s2","s1":"s0","s2":"s2","s3":"s7","s4":"s5","s5":"s2","s6":"s4","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 )
With the initial state: s0, and accepting states: ['s1', 's3', 's8', 's4', 's2', 's0', 's7', 's5'],
What will be the state after reading the following input: a b a e c c e b a a a b b e | s4 | 14 | 9 | 5 | 9_5 | ( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 ) |
42696a26-55a1-4126-8c5a-0354fc9f24f8 | b552099a-0b2b-48a2-8e64-592152e63253 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s1", "s3", "s8", "s4", "s2", "s0", "s7", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s0","s1":"s6","s2":"s7","s3":"s3","s4":"s6","s5":"s3","s6":"s3","s7":"s8","s8":"s1"},"b":{"s0":"s7","s1":"s1","s2":"s3","s3":"s5","s4":"s4","s5":"s6","s6":"s5","s7":"s1","s8":"s3"},"c":{"s0":"s2","s1":"s4","s2":"s4","s3":"s4","s4":"s3","s5":"s4","s6":"s2","s7":"s2","s8":"s4"},"d":{"s0":"s7","s1":"s0","s2":"s2","s3":"s2","s4":"s0","s5":"s7","s6":"s3","s7":"s5","s8":"s7"},"e":{"s0":"s2","s1":"s0","s2":"s2","s3":"s7","s4":"s5","s5":"s2","s6":"s4","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 )
With the initial state: s0, and accepting states: ['s1', 's3', 's8', 's4', 's2', 's0', 's7', 's5'],
What will be the state after reading the following input: a b a e c c e b a a a b b e b | s4 | 15 | 9 | 5 | 9_5 | ( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 ) |
bd795098-12c7-4cf2-81d4-36b17810cfc9 | b552099a-0b2b-48a2-8e64-592152e63253 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s1", "s3", "s8", "s4", "s2", "s0", "s7", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s0","s1":"s6","s2":"s7","s3":"s3","s4":"s6","s5":"s3","s6":"s3","s7":"s8","s8":"s1"},"b":{"s0":"s7","s1":"s1","s2":"s3","s3":"s5","s4":"s4","s5":"s6","s6":"s5","s7":"s1","s8":"s3"},"c":{"s0":"s2","s1":"s4","s2":"s4","s3":"s4","s4":"s3","s5":"s4","s6":"s2","s7":"s2","s8":"s4"},"d":{"s0":"s7","s1":"s0","s2":"s2","s3":"s2","s4":"s0","s5":"s7","s6":"s3","s7":"s5","s8":"s7"},"e":{"s0":"s2","s1":"s0","s2":"s2","s3":"s7","s4":"s5","s5":"s2","s6":"s4","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 )
With the initial state: s0, and accepting states: ['s1', 's3', 's8', 's4', 's2', 's0', 's7', 's5'],
What will be the state after reading the following input: a b a e c c e b a a a b b e b e | s5 | 16 | 9 | 5 | 9_5 | ( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 ) |
6126dd3c-21db-43c5-90ed-ceeb7342e38f | b552099a-0b2b-48a2-8e64-592152e63253 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s1", "s3", "s8", "s4", "s2", "s0", "s7", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s0","s1":"s6","s2":"s7","s3":"s3","s4":"s6","s5":"s3","s6":"s3","s7":"s8","s8":"s1"},"b":{"s0":"s7","s1":"s1","s2":"s3","s3":"s5","s4":"s4","s5":"s6","s6":"s5","s7":"s1","s8":"s3"},"c":{"s0":"s2","s1":"s4","s2":"s4","s3":"s4","s4":"s3","s5":"s4","s6":"s2","s7":"s2","s8":"s4"},"d":{"s0":"s7","s1":"s0","s2":"s2","s3":"s2","s4":"s0","s5":"s7","s6":"s3","s7":"s5","s8":"s7"},"e":{"s0":"s2","s1":"s0","s2":"s2","s3":"s7","s4":"s5","s5":"s2","s6":"s4","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 )
With the initial state: s0, and accepting states: ['s1', 's3', 's8', 's4', 's2', 's0', 's7', 's5'],
What will be the state after reading the following input: a b a e c c e b a a a b b e b e d | s7 | 17 | 9 | 5 | 9_5 | ( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 ) |
ccd5c3a1-d6c5-4bbe-be45-c724311fcf3c | b552099a-0b2b-48a2-8e64-592152e63253 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s1", "s3", "s8", "s4", "s2", "s0", "s7", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s0","s1":"s6","s2":"s7","s3":"s3","s4":"s6","s5":"s3","s6":"s3","s7":"s8","s8":"s1"},"b":{"s0":"s7","s1":"s1","s2":"s3","s3":"s5","s4":"s4","s5":"s6","s6":"s5","s7":"s1","s8":"s3"},"c":{"s0":"s2","s1":"s4","s2":"s4","s3":"s4","s4":"s3","s5":"s4","s6":"s2","s7":"s2","s8":"s4"},"d":{"s0":"s7","s1":"s0","s2":"s2","s3":"s2","s4":"s0","s5":"s7","s6":"s3","s7":"s5","s8":"s7"},"e":{"s0":"s2","s1":"s0","s2":"s2","s3":"s7","s4":"s5","s5":"s2","s6":"s4","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 )
With the initial state: s0, and accepting states: ['s1', 's3', 's8', 's4', 's2', 's0', 's7', 's5'],
What will be the state after reading the following input: a b a e c c e b a a a b b e b e d b | s1 | 18 | 9 | 5 | 9_5 | ( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 ) |
066d70c6-f88f-4f7f-8815-d3064ca163d5 | b552099a-0b2b-48a2-8e64-592152e63253 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s1", "s3", "s8", "s4", "s2", "s0", "s7", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s0","s1":"s6","s2":"s7","s3":"s3","s4":"s6","s5":"s3","s6":"s3","s7":"s8","s8":"s1"},"b":{"s0":"s7","s1":"s1","s2":"s3","s3":"s5","s4":"s4","s5":"s6","s6":"s5","s7":"s1","s8":"s3"},"c":{"s0":"s2","s1":"s4","s2":"s4","s3":"s4","s4":"s3","s5":"s4","s6":"s2","s7":"s2","s8":"s4"},"d":{"s0":"s7","s1":"s0","s2":"s2","s3":"s2","s4":"s0","s5":"s7","s6":"s3","s7":"s5","s8":"s7"},"e":{"s0":"s2","s1":"s0","s2":"s2","s3":"s7","s4":"s5","s5":"s2","s6":"s4","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 )
With the initial state: s0, and accepting states: ['s1', 's3', 's8', 's4', 's2', 's0', 's7', 's5'],
What will be the state after reading the following input: a b a e c c e b a a a b b e b e d b e | s0 | 19 | 9 | 5 | 9_5 | ( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 ) |
944bd4e7-522f-4d26-a99b-cd2719102381 | b552099a-0b2b-48a2-8e64-592152e63253 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcde", "accepting_states": ["s1", "s3", "s8", "s4", "s2", "s0", "s7", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s0","s1":"s6","s2":"s7","s3":"s3","s4":"s6","s5":"s3","s6":"s3","s7":"s8","s8":"s1"},"b":{"s0":"s7","s1":"s1","s2":"s3","s3":"s5","s4":"s4","s5":"s6","s6":"s5","s7":"s1","s8":"s3"},"c":{"s0":"s2","s1":"s4","s2":"s4","s3":"s4","s4":"s3","s5":"s4","s6":"s2","s7":"s2","s8":"s4"},"d":{"s0":"s7","s1":"s0","s2":"s2","s3":"s2","s4":"s0","s5":"s7","s6":"s3","s7":"s5","s8":"s7"},"e":{"s0":"s2","s1":"s0","s2":"s2","s3":"s7","s4":"s5","s5":"s2","s6":"s4","s7":"s5","s8":"s1"}} | Given the following FSM transition rules:
( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 )
With the initial state: s0, and accepting states: ['s1', 's3', 's8', 's4', 's2', 's0', 's7', 's5'],
What will be the state after reading the following input: a b a e c c e b a a a b b e b e d b e c | s2 | 20 | 9 | 5 | 9_5 | ( s0 , a , s0 )
( s1 , a , s6 )
( s2 , a , s7 )
( s3 , a , s3 )
( s4 , a , s6 )
( s5 , a , s3 )
( s6 , a , s3 )
( s7 , a , s8 )
( s8 , a , s1 )
( s0 , b , s7 )
( s1 , b , s1 )
( s2 , b , s3 )
( s3 , b , s5 )
( s4 , b , s4 )
( s5 , b , s6 )
( s6 , b , s5 )
( s7 , b , s1 )
( s8 , b , s3 )
( s0 , c , s2 )
( s1 , c , s4 )
( s2 , c , s4 )
( s3 , c , s4 )
( s4 , c , s3 )
( s5 , c , s4 )
( s6 , c , s2 )
( s7 , c , s2 )
( s8 , c , s4 )
( s0 , d , s7 )
( s1 , d , s0 )
( s2 , d , s2 )
( s3 , d , s2 )
( s4 , d , s0 )
( s5 , d , s7 )
( s6 , d , s3 )
( s7 , d , s5 )
( s8 , d , s7 )
( s0 , e , s2 )
( s1 , e , s0 )
( s2 , e , s2 )
( s3 , e , s7 )
( s4 , e , s5 )
( s5 , e , s2 )
( s6 , e , s4 )
( s7 , e , s5 )
( s8 , e , s1 ) |