query_id
stringlengths 36
36
| fsm_id
stringclasses 96
values | fsm_json
stringclasses 96
values | difficulty_level
int64 1
4
| transition_matrix
stringclasses 93
values | query
stringlengths 194
452
| answer
stringclasses 13
values | substring_index
int64 1
9
| number_of_states
int64 2
4
| number_of_alphabets
int64 1
4
| state_alpha_combo
stringclasses 12
values | transition_matrix_triplets
stringclasses 93
values |
---|---|---|---|---|---|---|---|---|---|---|---|
977cb516-aa4b-4e55-a70a-b68f9ebed10f | 4b0991f6-276b-4b0f-8817-cee1fa1b766b | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s0", "s1", "s2", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}]} | 2 | {"a":{"s0":"s1","s1":"s2","s2":"s3","s3":"s3"},"b":{"s0":"s1","s1":"s2","s2":"s3","s3":"s1"},"c":{"s0":"s1","s1":"s1","s2":"s3","s3":"s3"},"d":{"s0":"s2","s1":"s2","s2":"s2","s3":"s1"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s2 )
( s2 , a , s3 )
( s3 , a , s3 )
( s0 , b , s1 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s3 )
( s3 , c , s3 )
( s0 , d , s2 )
( s1 , d , s2 )
( s2 , d , s2 )
( s3 , d , s1 )
With the initial state: s0, and accepting states: ['s0', 's1', 's2', 's3'],
What will be the state after reading the following input: b b b d c b d d d | s2 | 9 | 4 | 4 | 4_4 | ( s0 , a , s1 )
( s1 , a , s2 )
( s2 , a , s3 )
( s3 , a , s3 )
( s0 , b , s1 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s3 )
( s3 , c , s3 )
( s0 , d , s2 )
( s1 , d , s2 )
( s2 , d , s2 )
( s3 , d , s1 ) |
c8cd1a76-bf5f-4c62-9210-f6263e07e91f | 3ba319ad-d0d1-4d99-b08a-757ecdafd726 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}]} | 2 | {"a":{"s0":"s0","s1":"s2","s2":"s1","s3":"s0"},"b":{"s0":"s3","s1":"s3","s2":"s3","s3":"s1"},"c":{"s0":"s0","s1":"s3","s2":"s0","s3":"s0"},"d":{"s0":"s1","s1":"s0","s2":"s1","s3":"s2"}} | Given the following FSM transition rules:
( s0 , a , s0 )
( s1 , a , s2 )
( s2 , a , s1 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s0 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s2 )
With the initial state: s0, and accepting states: ['s1'],
What will be the state after reading the following input: b | s3 | 1 | 4 | 4 | 4_4 | ( s0 , a , s0 )
( s1 , a , s2 )
( s2 , a , s1 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s0 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s2 ) |
c6f03c33-b108-4667-bd5b-4cb8206b415a | 3ba319ad-d0d1-4d99-b08a-757ecdafd726 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}]} | 2 | {"a":{"s0":"s0","s1":"s2","s2":"s1","s3":"s0"},"b":{"s0":"s3","s1":"s3","s2":"s3","s3":"s1"},"c":{"s0":"s0","s1":"s3","s2":"s0","s3":"s0"},"d":{"s0":"s1","s1":"s0","s2":"s1","s3":"s2"}} | Given the following FSM transition rules:
( s0 , a , s0 )
( s1 , a , s2 )
( s2 , a , s1 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s0 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s2 )
With the initial state: s0, and accepting states: ['s1'],
What will be the state after reading the following input: b a | s0 | 2 | 4 | 4 | 4_4 | ( s0 , a , s0 )
( s1 , a , s2 )
( s2 , a , s1 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s0 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s2 ) |
fc7cca4f-da92-42c8-a99e-0d0a93db2a41 | 3ba319ad-d0d1-4d99-b08a-757ecdafd726 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}]} | 2 | {"a":{"s0":"s0","s1":"s2","s2":"s1","s3":"s0"},"b":{"s0":"s3","s1":"s3","s2":"s3","s3":"s1"},"c":{"s0":"s0","s1":"s3","s2":"s0","s3":"s0"},"d":{"s0":"s1","s1":"s0","s2":"s1","s3":"s2"}} | Given the following FSM transition rules:
( s0 , a , s0 )
( s1 , a , s2 )
( s2 , a , s1 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s0 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s2 )
With the initial state: s0, and accepting states: ['s1'],
What will be the state after reading the following input: b a c | s0 | 3 | 4 | 4 | 4_4 | ( s0 , a , s0 )
( s1 , a , s2 )
( s2 , a , s1 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s0 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s2 ) |
5a8e1da7-af3b-43b1-9156-e5155b045763 | 3ba319ad-d0d1-4d99-b08a-757ecdafd726 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}]} | 2 | {"a":{"s0":"s0","s1":"s2","s2":"s1","s3":"s0"},"b":{"s0":"s3","s1":"s3","s2":"s3","s3":"s1"},"c":{"s0":"s0","s1":"s3","s2":"s0","s3":"s0"},"d":{"s0":"s1","s1":"s0","s2":"s1","s3":"s2"}} | Given the following FSM transition rules:
( s0 , a , s0 )
( s1 , a , s2 )
( s2 , a , s1 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s0 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s2 )
With the initial state: s0, and accepting states: ['s1'],
What will be the state after reading the following input: b a c b | s3 | 4 | 4 | 4 | 4_4 | ( s0 , a , s0 )
( s1 , a , s2 )
( s2 , a , s1 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s0 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s2 ) |
1c7ec0d6-12a6-4201-a26b-3632af8e1ce7 | 3ba319ad-d0d1-4d99-b08a-757ecdafd726 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}]} | 2 | {"a":{"s0":"s0","s1":"s2","s2":"s1","s3":"s0"},"b":{"s0":"s3","s1":"s3","s2":"s3","s3":"s1"},"c":{"s0":"s0","s1":"s3","s2":"s0","s3":"s0"},"d":{"s0":"s1","s1":"s0","s2":"s1","s3":"s2"}} | Given the following FSM transition rules:
( s0 , a , s0 )
( s1 , a , s2 )
( s2 , a , s1 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s0 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s2 )
With the initial state: s0, and accepting states: ['s1'],
What will be the state after reading the following input: b a c b a | s0 | 5 | 4 | 4 | 4_4 | ( s0 , a , s0 )
( s1 , a , s2 )
( s2 , a , s1 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s0 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s2 ) |
70895d63-1f93-4bce-aec1-f049110ccefb | 3ba319ad-d0d1-4d99-b08a-757ecdafd726 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}]} | 2 | {"a":{"s0":"s0","s1":"s2","s2":"s1","s3":"s0"},"b":{"s0":"s3","s1":"s3","s2":"s3","s3":"s1"},"c":{"s0":"s0","s1":"s3","s2":"s0","s3":"s0"},"d":{"s0":"s1","s1":"s0","s2":"s1","s3":"s2"}} | Given the following FSM transition rules:
( s0 , a , s0 )
( s1 , a , s2 )
( s2 , a , s1 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s0 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s2 )
With the initial state: s0, and accepting states: ['s1'],
What will be the state after reading the following input: b a c b a d | s1 | 6 | 4 | 4 | 4_4 | ( s0 , a , s0 )
( s1 , a , s2 )
( s2 , a , s1 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s0 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s2 ) |
e8893f2d-12d7-4098-a033-d3db32030117 | 3ba319ad-d0d1-4d99-b08a-757ecdafd726 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}]} | 2 | {"a":{"s0":"s0","s1":"s2","s2":"s1","s3":"s0"},"b":{"s0":"s3","s1":"s3","s2":"s3","s3":"s1"},"c":{"s0":"s0","s1":"s3","s2":"s0","s3":"s0"},"d":{"s0":"s1","s1":"s0","s2":"s1","s3":"s2"}} | Given the following FSM transition rules:
( s0 , a , s0 )
( s1 , a , s2 )
( s2 , a , s1 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s0 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s2 )
With the initial state: s0, and accepting states: ['s1'],
What will be the state after reading the following input: b a c b a d b | s3 | 7 | 4 | 4 | 4_4 | ( s0 , a , s0 )
( s1 , a , s2 )
( s2 , a , s1 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s0 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s2 ) |
f27fce45-1a00-4fec-b902-cda51b5c82cf | 3ba319ad-d0d1-4d99-b08a-757ecdafd726 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}]} | 2 | {"a":{"s0":"s0","s1":"s2","s2":"s1","s3":"s0"},"b":{"s0":"s3","s1":"s3","s2":"s3","s3":"s1"},"c":{"s0":"s0","s1":"s3","s2":"s0","s3":"s0"},"d":{"s0":"s1","s1":"s0","s2":"s1","s3":"s2"}} | Given the following FSM transition rules:
( s0 , a , s0 )
( s1 , a , s2 )
( s2 , a , s1 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s0 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s2 )
With the initial state: s0, and accepting states: ['s1'],
What will be the state after reading the following input: b a c b a d b c | s0 | 8 | 4 | 4 | 4_4 | ( s0 , a , s0 )
( s1 , a , s2 )
( s2 , a , s1 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s0 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s2 ) |
4d063bfc-0340-4895-9d5a-0e234da64186 | 3ba319ad-d0d1-4d99-b08a-757ecdafd726 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}]} | 2 | {"a":{"s0":"s0","s1":"s2","s2":"s1","s3":"s0"},"b":{"s0":"s3","s1":"s3","s2":"s3","s3":"s1"},"c":{"s0":"s0","s1":"s3","s2":"s0","s3":"s0"},"d":{"s0":"s1","s1":"s0","s2":"s1","s3":"s2"}} | Given the following FSM transition rules:
( s0 , a , s0 )
( s1 , a , s2 )
( s2 , a , s1 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s0 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s2 )
With the initial state: s0, and accepting states: ['s1'],
What will be the state after reading the following input: b a c b a d b c b | s3 | 9 | 4 | 4 | 4_4 | ( s0 , a , s0 )
( s1 , a , s2 )
( s2 , a , s1 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s0 )
( s1 , c , s3 )
( s2 , c , s0 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s2 ) |
1ae089e4-c294-4832-af1c-483739fd4e08 | 9c7c4bc9-5e9e-4f8f-b1c5-4460b3af7bce | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s2", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s2","s3":"s3"},"b":{"s0":"s1","s1":"s0","s2":"s0","s3":"s0"},"c":{"s0":"s1","s1":"s2","s2":"s3","s3":"s1"},"d":{"s0":"s1","s1":"s2","s2":"s3","s3":"s2"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s2 )
( s3 , a , s3 )
( s0 , b , s1 )
( s1 , b , s0 )
( s2 , b , s0 )
( s3 , b , s0 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s1 )
( s1 , d , s2 )
( s2 , d , s3 )
( s3 , d , s2 )
With the initial state: s0, and accepting states: ['s2', 's1'],
What will be the state after reading the following input: c | s1 | 1 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s2 )
( s3 , a , s3 )
( s0 , b , s1 )
( s1 , b , s0 )
( s2 , b , s0 )
( s3 , b , s0 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s1 )
( s1 , d , s2 )
( s2 , d , s3 )
( s3 , d , s2 ) |
c4debeee-364c-4464-a80e-3a2a895b140f | 9c7c4bc9-5e9e-4f8f-b1c5-4460b3af7bce | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s2", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s2","s3":"s3"},"b":{"s0":"s1","s1":"s0","s2":"s0","s3":"s0"},"c":{"s0":"s1","s1":"s2","s2":"s3","s3":"s1"},"d":{"s0":"s1","s1":"s2","s2":"s3","s3":"s2"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s2 )
( s3 , a , s3 )
( s0 , b , s1 )
( s1 , b , s0 )
( s2 , b , s0 )
( s3 , b , s0 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s1 )
( s1 , d , s2 )
( s2 , d , s3 )
( s3 , d , s2 )
With the initial state: s0, and accepting states: ['s2', 's1'],
What will be the state after reading the following input: c b | s0 | 2 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s2 )
( s3 , a , s3 )
( s0 , b , s1 )
( s1 , b , s0 )
( s2 , b , s0 )
( s3 , b , s0 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s1 )
( s1 , d , s2 )
( s2 , d , s3 )
( s3 , d , s2 ) |
bc31a45f-2ec9-4583-b723-79926c798af2 | 9c7c4bc9-5e9e-4f8f-b1c5-4460b3af7bce | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s2", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s2","s3":"s3"},"b":{"s0":"s1","s1":"s0","s2":"s0","s3":"s0"},"c":{"s0":"s1","s1":"s2","s2":"s3","s3":"s1"},"d":{"s0":"s1","s1":"s2","s2":"s3","s3":"s2"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s2 )
( s3 , a , s3 )
( s0 , b , s1 )
( s1 , b , s0 )
( s2 , b , s0 )
( s3 , b , s0 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s1 )
( s1 , d , s2 )
( s2 , d , s3 )
( s3 , d , s2 )
With the initial state: s0, and accepting states: ['s2', 's1'],
What will be the state after reading the following input: c b b | s1 | 3 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s2 )
( s3 , a , s3 )
( s0 , b , s1 )
( s1 , b , s0 )
( s2 , b , s0 )
( s3 , b , s0 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s1 )
( s1 , d , s2 )
( s2 , d , s3 )
( s3 , d , s2 ) |
b18d2e32-ae0a-4582-ab8c-b78eb69ccfc4 | 9c7c4bc9-5e9e-4f8f-b1c5-4460b3af7bce | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s2", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s2","s3":"s3"},"b":{"s0":"s1","s1":"s0","s2":"s0","s3":"s0"},"c":{"s0":"s1","s1":"s2","s2":"s3","s3":"s1"},"d":{"s0":"s1","s1":"s2","s2":"s3","s3":"s2"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s2 )
( s3 , a , s3 )
( s0 , b , s1 )
( s1 , b , s0 )
( s2 , b , s0 )
( s3 , b , s0 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s1 )
( s1 , d , s2 )
( s2 , d , s3 )
( s3 , d , s2 )
With the initial state: s0, and accepting states: ['s2', 's1'],
What will be the state after reading the following input: c b b c | s2 | 4 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s2 )
( s3 , a , s3 )
( s0 , b , s1 )
( s1 , b , s0 )
( s2 , b , s0 )
( s3 , b , s0 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s1 )
( s1 , d , s2 )
( s2 , d , s3 )
( s3 , d , s2 ) |
be9fbe7a-bea2-4274-ab88-024afd12a474 | 9c7c4bc9-5e9e-4f8f-b1c5-4460b3af7bce | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s2", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s2","s3":"s3"},"b":{"s0":"s1","s1":"s0","s2":"s0","s3":"s0"},"c":{"s0":"s1","s1":"s2","s2":"s3","s3":"s1"},"d":{"s0":"s1","s1":"s2","s2":"s3","s3":"s2"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s2 )
( s3 , a , s3 )
( s0 , b , s1 )
( s1 , b , s0 )
( s2 , b , s0 )
( s3 , b , s0 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s1 )
( s1 , d , s2 )
( s2 , d , s3 )
( s3 , d , s2 )
With the initial state: s0, and accepting states: ['s2', 's1'],
What will be the state after reading the following input: c b b c b | s0 | 5 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s2 )
( s3 , a , s3 )
( s0 , b , s1 )
( s1 , b , s0 )
( s2 , b , s0 )
( s3 , b , s0 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s1 )
( s1 , d , s2 )
( s2 , d , s3 )
( s3 , d , s2 ) |
2817c614-20e5-44a7-9ede-afa4a3273d87 | 9c7c4bc9-5e9e-4f8f-b1c5-4460b3af7bce | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s2", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s2","s3":"s3"},"b":{"s0":"s1","s1":"s0","s2":"s0","s3":"s0"},"c":{"s0":"s1","s1":"s2","s2":"s3","s3":"s1"},"d":{"s0":"s1","s1":"s2","s2":"s3","s3":"s2"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s2 )
( s3 , a , s3 )
( s0 , b , s1 )
( s1 , b , s0 )
( s2 , b , s0 )
( s3 , b , s0 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s1 )
( s1 , d , s2 )
( s2 , d , s3 )
( s3 , d , s2 )
With the initial state: s0, and accepting states: ['s2', 's1'],
What will be the state after reading the following input: c b b c b c | s1 | 6 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s2 )
( s3 , a , s3 )
( s0 , b , s1 )
( s1 , b , s0 )
( s2 , b , s0 )
( s3 , b , s0 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s1 )
( s1 , d , s2 )
( s2 , d , s3 )
( s3 , d , s2 ) |
e372a5ac-6492-485a-b903-7a1fda002497 | 9c7c4bc9-5e9e-4f8f-b1c5-4460b3af7bce | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s2", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s2","s3":"s3"},"b":{"s0":"s1","s1":"s0","s2":"s0","s3":"s0"},"c":{"s0":"s1","s1":"s2","s2":"s3","s3":"s1"},"d":{"s0":"s1","s1":"s2","s2":"s3","s3":"s2"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s2 )
( s3 , a , s3 )
( s0 , b , s1 )
( s1 , b , s0 )
( s2 , b , s0 )
( s3 , b , s0 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s1 )
( s1 , d , s2 )
( s2 , d , s3 )
( s3 , d , s2 )
With the initial state: s0, and accepting states: ['s2', 's1'],
What will be the state after reading the following input: c b b c b c d | s2 | 7 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s2 )
( s3 , a , s3 )
( s0 , b , s1 )
( s1 , b , s0 )
( s2 , b , s0 )
( s3 , b , s0 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s1 )
( s1 , d , s2 )
( s2 , d , s3 )
( s3 , d , s2 ) |
4ecbc1ae-ef20-4d32-8f8f-f36a658a14b9 | 9c7c4bc9-5e9e-4f8f-b1c5-4460b3af7bce | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s2", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s2","s3":"s3"},"b":{"s0":"s1","s1":"s0","s2":"s0","s3":"s0"},"c":{"s0":"s1","s1":"s2","s2":"s3","s3":"s1"},"d":{"s0":"s1","s1":"s2","s2":"s3","s3":"s2"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s2 )
( s3 , a , s3 )
( s0 , b , s1 )
( s1 , b , s0 )
( s2 , b , s0 )
( s3 , b , s0 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s1 )
( s1 , d , s2 )
( s2 , d , s3 )
( s3 , d , s2 )
With the initial state: s0, and accepting states: ['s2', 's1'],
What will be the state after reading the following input: c b b c b c d d | s3 | 8 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s2 )
( s3 , a , s3 )
( s0 , b , s1 )
( s1 , b , s0 )
( s2 , b , s0 )
( s3 , b , s0 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s1 )
( s1 , d , s2 )
( s2 , d , s3 )
( s3 , d , s2 ) |
3618da1e-82c9-4d21-871b-47c9c5531b72 | 9c7c4bc9-5e9e-4f8f-b1c5-4460b3af7bce | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s2", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s2","s3":"s3"},"b":{"s0":"s1","s1":"s0","s2":"s0","s3":"s0"},"c":{"s0":"s1","s1":"s2","s2":"s3","s3":"s1"},"d":{"s0":"s1","s1":"s2","s2":"s3","s3":"s2"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s2 )
( s3 , a , s3 )
( s0 , b , s1 )
( s1 , b , s0 )
( s2 , b , s0 )
( s3 , b , s0 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s1 )
( s1 , d , s2 )
( s2 , d , s3 )
( s3 , d , s2 )
With the initial state: s0, and accepting states: ['s2', 's1'],
What will be the state after reading the following input: c b b c b c d d a | s3 | 9 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s2 )
( s3 , a , s3 )
( s0 , b , s1 )
( s1 , b , s0 )
( s2 , b , s0 )
( s3 , b , s0 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s1 )
( s1 , d , s2 )
( s2 , d , s3 )
( s3 , d , s2 ) |
a812c9cc-f9ec-4fee-95b7-75b7542ddfe6 | 745816ef-8ec9-425e-bd8f-f2e746758692 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s2", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"b":{"s0":"s1","s1":"s2","s2":"s0","s3":"s2"},"c":{"s0":"s3","s1":"s3","s2":"s3","s3":"s3"},"d":{"s0":"s0","s1":"s2","s2":"s0","s3":"s1"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s1 )
( s3 , a , s1 )
( s0 , b , s1 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s2 )
( s0 , c , s3 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s3 )
( s0 , d , s0 )
( s1 , d , s2 )
( s2 , d , s0 )
( s3 , d , s1 )
With the initial state: s0, and accepting states: ['s2', 's1'],
What will be the state after reading the following input: a | s3 | 1 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s1 )
( s3 , a , s1 )
( s0 , b , s1 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s2 )
( s0 , c , s3 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s3 )
( s0 , d , s0 )
( s1 , d , s2 )
( s2 , d , s0 )
( s3 , d , s1 ) |
c00d1e52-537e-4c7d-972c-a456272174b9 | 745816ef-8ec9-425e-bd8f-f2e746758692 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s2", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"b":{"s0":"s1","s1":"s2","s2":"s0","s3":"s2"},"c":{"s0":"s3","s1":"s3","s2":"s3","s3":"s3"},"d":{"s0":"s0","s1":"s2","s2":"s0","s3":"s1"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s1 )
( s3 , a , s1 )
( s0 , b , s1 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s2 )
( s0 , c , s3 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s3 )
( s0 , d , s0 )
( s1 , d , s2 )
( s2 , d , s0 )
( s3 , d , s1 )
With the initial state: s0, and accepting states: ['s2', 's1'],
What will be the state after reading the following input: a c | s3 | 2 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s1 )
( s3 , a , s1 )
( s0 , b , s1 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s2 )
( s0 , c , s3 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s3 )
( s0 , d , s0 )
( s1 , d , s2 )
( s2 , d , s0 )
( s3 , d , s1 ) |
c3919fb8-4639-4952-8826-888a04225a30 | 745816ef-8ec9-425e-bd8f-f2e746758692 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s2", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"b":{"s0":"s1","s1":"s2","s2":"s0","s3":"s2"},"c":{"s0":"s3","s1":"s3","s2":"s3","s3":"s3"},"d":{"s0":"s0","s1":"s2","s2":"s0","s3":"s1"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s1 )
( s3 , a , s1 )
( s0 , b , s1 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s2 )
( s0 , c , s3 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s3 )
( s0 , d , s0 )
( s1 , d , s2 )
( s2 , d , s0 )
( s3 , d , s1 )
With the initial state: s0, and accepting states: ['s2', 's1'],
What will be the state after reading the following input: a c c | s3 | 3 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s1 )
( s3 , a , s1 )
( s0 , b , s1 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s2 )
( s0 , c , s3 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s3 )
( s0 , d , s0 )
( s1 , d , s2 )
( s2 , d , s0 )
( s3 , d , s1 ) |
080207bc-fe94-42f7-8e73-7b1458c45735 | 745816ef-8ec9-425e-bd8f-f2e746758692 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s2", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"b":{"s0":"s1","s1":"s2","s2":"s0","s3":"s2"},"c":{"s0":"s3","s1":"s3","s2":"s3","s3":"s3"},"d":{"s0":"s0","s1":"s2","s2":"s0","s3":"s1"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s1 )
( s3 , a , s1 )
( s0 , b , s1 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s2 )
( s0 , c , s3 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s3 )
( s0 , d , s0 )
( s1 , d , s2 )
( s2 , d , s0 )
( s3 , d , s1 )
With the initial state: s0, and accepting states: ['s2', 's1'],
What will be the state after reading the following input: a c c b | s2 | 4 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s1 )
( s3 , a , s1 )
( s0 , b , s1 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s2 )
( s0 , c , s3 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s3 )
( s0 , d , s0 )
( s1 , d , s2 )
( s2 , d , s0 )
( s3 , d , s1 ) |
006dbaad-0c93-4a78-81e8-4038a9c0b4c5 | 745816ef-8ec9-425e-bd8f-f2e746758692 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s2", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"b":{"s0":"s1","s1":"s2","s2":"s0","s3":"s2"},"c":{"s0":"s3","s1":"s3","s2":"s3","s3":"s3"},"d":{"s0":"s0","s1":"s2","s2":"s0","s3":"s1"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s1 )
( s3 , a , s1 )
( s0 , b , s1 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s2 )
( s0 , c , s3 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s3 )
( s0 , d , s0 )
( s1 , d , s2 )
( s2 , d , s0 )
( s3 , d , s1 )
With the initial state: s0, and accepting states: ['s2', 's1'],
What will be the state after reading the following input: a c c b a | s1 | 5 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s1 )
( s3 , a , s1 )
( s0 , b , s1 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s2 )
( s0 , c , s3 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s3 )
( s0 , d , s0 )
( s1 , d , s2 )
( s2 , d , s0 )
( s3 , d , s1 ) |
4379e3e5-93ce-4328-8b49-f8064b1560c1 | 745816ef-8ec9-425e-bd8f-f2e746758692 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s2", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"b":{"s0":"s1","s1":"s2","s2":"s0","s3":"s2"},"c":{"s0":"s3","s1":"s3","s2":"s3","s3":"s3"},"d":{"s0":"s0","s1":"s2","s2":"s0","s3":"s1"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s1 )
( s3 , a , s1 )
( s0 , b , s1 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s2 )
( s0 , c , s3 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s3 )
( s0 , d , s0 )
( s1 , d , s2 )
( s2 , d , s0 )
( s3 , d , s1 )
With the initial state: s0, and accepting states: ['s2', 's1'],
What will be the state after reading the following input: a c c b a b | s2 | 6 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s1 )
( s3 , a , s1 )
( s0 , b , s1 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s2 )
( s0 , c , s3 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s3 )
( s0 , d , s0 )
( s1 , d , s2 )
( s2 , d , s0 )
( s3 , d , s1 ) |
685be638-7bc5-4b03-83e9-01d1d70c7be4 | 745816ef-8ec9-425e-bd8f-f2e746758692 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s2", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"b":{"s0":"s1","s1":"s2","s2":"s0","s3":"s2"},"c":{"s0":"s3","s1":"s3","s2":"s3","s3":"s3"},"d":{"s0":"s0","s1":"s2","s2":"s0","s3":"s1"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s1 )
( s3 , a , s1 )
( s0 , b , s1 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s2 )
( s0 , c , s3 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s3 )
( s0 , d , s0 )
( s1 , d , s2 )
( s2 , d , s0 )
( s3 , d , s1 )
With the initial state: s0, and accepting states: ['s2', 's1'],
What will be the state after reading the following input: a c c b a b b | s0 | 7 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s1 )
( s3 , a , s1 )
( s0 , b , s1 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s2 )
( s0 , c , s3 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s3 )
( s0 , d , s0 )
( s1 , d , s2 )
( s2 , d , s0 )
( s3 , d , s1 ) |
b7094020-ce3c-4e4a-8a23-cf238bae7de0 | 745816ef-8ec9-425e-bd8f-f2e746758692 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s2", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"b":{"s0":"s1","s1":"s2","s2":"s0","s3":"s2"},"c":{"s0":"s3","s1":"s3","s2":"s3","s3":"s3"},"d":{"s0":"s0","s1":"s2","s2":"s0","s3":"s1"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s1 )
( s3 , a , s1 )
( s0 , b , s1 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s2 )
( s0 , c , s3 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s3 )
( s0 , d , s0 )
( s1 , d , s2 )
( s2 , d , s0 )
( s3 , d , s1 )
With the initial state: s0, and accepting states: ['s2', 's1'],
What will be the state after reading the following input: a c c b a b b c | s3 | 8 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s1 )
( s3 , a , s1 )
( s0 , b , s1 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s2 )
( s0 , c , s3 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s3 )
( s0 , d , s0 )
( s1 , d , s2 )
( s2 , d , s0 )
( s3 , d , s1 ) |
dfde1851-edb9-40e5-8faa-856fc38d5637 | 745816ef-8ec9-425e-bd8f-f2e746758692 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s2", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"b":{"s0":"s1","s1":"s2","s2":"s0","s3":"s2"},"c":{"s0":"s3","s1":"s3","s2":"s3","s3":"s3"},"d":{"s0":"s0","s1":"s2","s2":"s0","s3":"s1"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s1 )
( s3 , a , s1 )
( s0 , b , s1 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s2 )
( s0 , c , s3 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s3 )
( s0 , d , s0 )
( s1 , d , s2 )
( s2 , d , s0 )
( s3 , d , s1 )
With the initial state: s0, and accepting states: ['s2', 's1'],
What will be the state after reading the following input: a c c b a b b c b | s2 | 9 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s1 )
( s3 , a , s1 )
( s0 , b , s1 )
( s1 , b , s2 )
( s2 , b , s0 )
( s3 , b , s2 )
( s0 , c , s3 )
( s1 , c , s3 )
( s2 , c , s3 )
( s3 , c , s3 )
( s0 , d , s0 )
( s1 , d , s2 )
( s2 , d , s0 )
( s3 , d , s1 ) |
248ca871-cff4-4ab8-90fe-5ae57ac56313 | 08981638-551f-42ab-a8a9-f29726c68ca8 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s1", "s3"], "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": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}]} | 2 | {"a":{"s0":"s1","s1":"s2","s2":"s3","s3":"s1"},"b":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"c":{"s0":"s2","s1":"s0","s2":"s1","s3":"s0"},"d":{"s0":"s1","s1":"s3","s2":"s1","s3":"s0"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s2 )
( s2 , a , s3 )
( s3 , a , s1 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s0 )
( s3 , b , s1 )
( s0 , c , s2 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s0 )
With the initial state: s0, and accepting states: ['s1', 's3'],
What will be the state after reading the following input: c | s2 | 1 | 4 | 4 | 4_4 | ( s0 , a , s1 )
( s1 , a , s2 )
( s2 , a , s3 )
( s3 , a , s1 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s0 )
( s3 , b , s1 )
( s0 , c , s2 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s0 ) |
5bee6e5f-a2a5-4f81-b533-fac537afc898 | 08981638-551f-42ab-a8a9-f29726c68ca8 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s1", "s3"], "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": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}]} | 2 | {"a":{"s0":"s1","s1":"s2","s2":"s3","s3":"s1"},"b":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"c":{"s0":"s2","s1":"s0","s2":"s1","s3":"s0"},"d":{"s0":"s1","s1":"s3","s2":"s1","s3":"s0"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s2 )
( s2 , a , s3 )
( s3 , a , s1 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s0 )
( s3 , b , s1 )
( s0 , c , s2 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s0 )
With the initial state: s0, and accepting states: ['s1', 's3'],
What will be the state after reading the following input: c c | s1 | 2 | 4 | 4 | 4_4 | ( s0 , a , s1 )
( s1 , a , s2 )
( s2 , a , s3 )
( s3 , a , s1 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s0 )
( s3 , b , s1 )
( s0 , c , s2 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s0 ) |
1f4698c0-5b84-4a5e-a519-1fc0bd93440d | 08981638-551f-42ab-a8a9-f29726c68ca8 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s1", "s3"], "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": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}]} | 2 | {"a":{"s0":"s1","s1":"s2","s2":"s3","s3":"s1"},"b":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"c":{"s0":"s2","s1":"s0","s2":"s1","s3":"s0"},"d":{"s0":"s1","s1":"s3","s2":"s1","s3":"s0"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s2 )
( s2 , a , s3 )
( s3 , a , s1 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s0 )
( s3 , b , s1 )
( s0 , c , s2 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s0 )
With the initial state: s0, and accepting states: ['s1', 's3'],
What will be the state after reading the following input: c c c | s0 | 3 | 4 | 4 | 4_4 | ( s0 , a , s1 )
( s1 , a , s2 )
( s2 , a , s3 )
( s3 , a , s1 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s0 )
( s3 , b , s1 )
( s0 , c , s2 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s0 ) |
d09ae3b6-f7a2-4633-ab8e-311209053ef0 | 08981638-551f-42ab-a8a9-f29726c68ca8 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s1", "s3"], "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": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}]} | 2 | {"a":{"s0":"s1","s1":"s2","s2":"s3","s3":"s1"},"b":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"c":{"s0":"s2","s1":"s0","s2":"s1","s3":"s0"},"d":{"s0":"s1","s1":"s3","s2":"s1","s3":"s0"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s2 )
( s2 , a , s3 )
( s3 , a , s1 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s0 )
( s3 , b , s1 )
( s0 , c , s2 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s0 )
With the initial state: s0, and accepting states: ['s1', 's3'],
What will be the state after reading the following input: c c c b | s3 | 4 | 4 | 4 | 4_4 | ( s0 , a , s1 )
( s1 , a , s2 )
( s2 , a , s3 )
( s3 , a , s1 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s0 )
( s3 , b , s1 )
( s0 , c , s2 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s0 ) |
d8fd5739-bbd1-43f9-9a69-9959177e1cbd | 08981638-551f-42ab-a8a9-f29726c68ca8 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s1", "s3"], "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": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}]} | 2 | {"a":{"s0":"s1","s1":"s2","s2":"s3","s3":"s1"},"b":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"c":{"s0":"s2","s1":"s0","s2":"s1","s3":"s0"},"d":{"s0":"s1","s1":"s3","s2":"s1","s3":"s0"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s2 )
( s2 , a , s3 )
( s3 , a , s1 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s0 )
( s3 , b , s1 )
( s0 , c , s2 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s0 )
With the initial state: s0, and accepting states: ['s1', 's3'],
What will be the state after reading the following input: c c c b d | s0 | 5 | 4 | 4 | 4_4 | ( s0 , a , s1 )
( s1 , a , s2 )
( s2 , a , s3 )
( s3 , a , s1 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s0 )
( s3 , b , s1 )
( s0 , c , s2 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s0 ) |
53e95630-a95f-437d-b6d9-f0ef76dd3d36 | 08981638-551f-42ab-a8a9-f29726c68ca8 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s1", "s3"], "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": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}]} | 2 | {"a":{"s0":"s1","s1":"s2","s2":"s3","s3":"s1"},"b":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"c":{"s0":"s2","s1":"s0","s2":"s1","s3":"s0"},"d":{"s0":"s1","s1":"s3","s2":"s1","s3":"s0"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s2 )
( s2 , a , s3 )
( s3 , a , s1 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s0 )
( s3 , b , s1 )
( s0 , c , s2 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s0 )
With the initial state: s0, and accepting states: ['s1', 's3'],
What will be the state after reading the following input: c c c b d d | s1 | 6 | 4 | 4 | 4_4 | ( s0 , a , s1 )
( s1 , a , s2 )
( s2 , a , s3 )
( s3 , a , s1 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s0 )
( s3 , b , s1 )
( s0 , c , s2 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s0 ) |
cf0b2c07-0e05-4d1a-97d4-2eb1c7acf0eb | 08981638-551f-42ab-a8a9-f29726c68ca8 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s1", "s3"], "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": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}]} | 2 | {"a":{"s0":"s1","s1":"s2","s2":"s3","s3":"s1"},"b":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"c":{"s0":"s2","s1":"s0","s2":"s1","s3":"s0"},"d":{"s0":"s1","s1":"s3","s2":"s1","s3":"s0"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s2 )
( s2 , a , s3 )
( s3 , a , s1 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s0 )
( s3 , b , s1 )
( s0 , c , s2 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s0 )
With the initial state: s0, and accepting states: ['s1', 's3'],
What will be the state after reading the following input: c c c b d d d | s3 | 7 | 4 | 4 | 4_4 | ( s0 , a , s1 )
( s1 , a , s2 )
( s2 , a , s3 )
( s3 , a , s1 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s0 )
( s3 , b , s1 )
( s0 , c , s2 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s0 ) |
9382e9fd-3c49-4ec1-a7f7-e4d37de1f9e3 | 08981638-551f-42ab-a8a9-f29726c68ca8 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s1", "s3"], "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": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}]} | 2 | {"a":{"s0":"s1","s1":"s2","s2":"s3","s3":"s1"},"b":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"c":{"s0":"s2","s1":"s0","s2":"s1","s3":"s0"},"d":{"s0":"s1","s1":"s3","s2":"s1","s3":"s0"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s2 )
( s2 , a , s3 )
( s3 , a , s1 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s0 )
( s3 , b , s1 )
( s0 , c , s2 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s0 )
With the initial state: s0, and accepting states: ['s1', 's3'],
What will be the state after reading the following input: c c c b d d d d | s0 | 8 | 4 | 4 | 4_4 | ( s0 , a , s1 )
( s1 , a , s2 )
( s2 , a , s3 )
( s3 , a , s1 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s0 )
( s3 , b , s1 )
( s0 , c , s2 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s0 ) |
6bcbb4ee-be9e-4356-a1d1-b94af1a65602 | 08981638-551f-42ab-a8a9-f29726c68ca8 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s1", "s3"], "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": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}]} | 2 | {"a":{"s0":"s1","s1":"s2","s2":"s3","s3":"s1"},"b":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"c":{"s0":"s2","s1":"s0","s2":"s1","s3":"s0"},"d":{"s0":"s1","s1":"s3","s2":"s1","s3":"s0"}} | Given the following FSM transition rules:
( s0 , a , s1 )
( s1 , a , s2 )
( s2 , a , s3 )
( s3 , a , s1 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s0 )
( s3 , b , s1 )
( s0 , c , s2 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s0 )
With the initial state: s0, and accepting states: ['s1', 's3'],
What will be the state after reading the following input: c c c b d d d d d | s1 | 9 | 4 | 4 | 4_4 | ( s0 , a , s1 )
( s1 , a , s2 )
( s2 , a , s3 )
( s3 , a , s1 )
( s0 , b , s3 )
( s1 , b , s3 )
( s2 , b , s0 )
( s3 , b , s1 )
( s0 , c , s2 )
( s1 , c , s0 )
( s2 , c , s1 )
( s3 , c , s0 )
( s0 , d , s1 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s0 ) |
e36c15ef-7a42-4cb4-985b-a3cc9e0691c5 | e4efe788-c64e-4ea4-b320-a7a22e40ab9d | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s2", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}]} | 2 | {"a":{"s0":"s3","s1":"s3","s2":"s2","s3":"s0"},"b":{"s0":"s1","s1":"s3","s2":"s1","s3":"s1"},"c":{"s0":"s1","s1":"s1","s2":"s3","s3":"s0"},"d":{"s0":"s3","s1":"s3","s2":"s1","s3":"s2"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s3 )
( s2 , a , s2 )
( s3 , a , s0 )
( s0 , b , s1 )
( s1 , b , s3 )
( s2 , b , s1 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s3 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s2 )
With the initial state: s0, and accepting states: ['s2', 's3'],
What will be the state after reading the following input: a | s3 | 1 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s3 )
( s2 , a , s2 )
( s3 , a , s0 )
( s0 , b , s1 )
( s1 , b , s3 )
( s2 , b , s1 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s3 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s2 ) |
51c3d6fc-e4ff-4731-8e4d-95ae8b3e1cdf | e4efe788-c64e-4ea4-b320-a7a22e40ab9d | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s2", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}]} | 2 | {"a":{"s0":"s3","s1":"s3","s2":"s2","s3":"s0"},"b":{"s0":"s1","s1":"s3","s2":"s1","s3":"s1"},"c":{"s0":"s1","s1":"s1","s2":"s3","s3":"s0"},"d":{"s0":"s3","s1":"s3","s2":"s1","s3":"s2"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s3 )
( s2 , a , s2 )
( s3 , a , s0 )
( s0 , b , s1 )
( s1 , b , s3 )
( s2 , b , s1 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s3 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s2 )
With the initial state: s0, and accepting states: ['s2', 's3'],
What will be the state after reading the following input: a c | s0 | 2 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s3 )
( s2 , a , s2 )
( s3 , a , s0 )
( s0 , b , s1 )
( s1 , b , s3 )
( s2 , b , s1 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s3 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s2 ) |
f6af1e18-f51b-493b-89ac-0a5e532192fa | e4efe788-c64e-4ea4-b320-a7a22e40ab9d | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s2", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}]} | 2 | {"a":{"s0":"s3","s1":"s3","s2":"s2","s3":"s0"},"b":{"s0":"s1","s1":"s3","s2":"s1","s3":"s1"},"c":{"s0":"s1","s1":"s1","s2":"s3","s3":"s0"},"d":{"s0":"s3","s1":"s3","s2":"s1","s3":"s2"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s3 )
( s2 , a , s2 )
( s3 , a , s0 )
( s0 , b , s1 )
( s1 , b , s3 )
( s2 , b , s1 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s3 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s2 )
With the initial state: s0, and accepting states: ['s2', 's3'],
What will be the state after reading the following input: a c a | s3 | 3 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s3 )
( s2 , a , s2 )
( s3 , a , s0 )
( s0 , b , s1 )
( s1 , b , s3 )
( s2 , b , s1 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s3 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s2 ) |
626b9d7a-6c18-4fb0-87a9-6148b407c4e5 | e4efe788-c64e-4ea4-b320-a7a22e40ab9d | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s2", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}]} | 2 | {"a":{"s0":"s3","s1":"s3","s2":"s2","s3":"s0"},"b":{"s0":"s1","s1":"s3","s2":"s1","s3":"s1"},"c":{"s0":"s1","s1":"s1","s2":"s3","s3":"s0"},"d":{"s0":"s3","s1":"s3","s2":"s1","s3":"s2"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s3 )
( s2 , a , s2 )
( s3 , a , s0 )
( s0 , b , s1 )
( s1 , b , s3 )
( s2 , b , s1 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s3 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s2 )
With the initial state: s0, and accepting states: ['s2', 's3'],
What will be the state after reading the following input: a c a c | s0 | 4 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s3 )
( s2 , a , s2 )
( s3 , a , s0 )
( s0 , b , s1 )
( s1 , b , s3 )
( s2 , b , s1 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s3 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s2 ) |
a5ac47d2-84a1-4715-9612-950ee5d842f8 | e4efe788-c64e-4ea4-b320-a7a22e40ab9d | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s2", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}]} | 2 | {"a":{"s0":"s3","s1":"s3","s2":"s2","s3":"s0"},"b":{"s0":"s1","s1":"s3","s2":"s1","s3":"s1"},"c":{"s0":"s1","s1":"s1","s2":"s3","s3":"s0"},"d":{"s0":"s3","s1":"s3","s2":"s1","s3":"s2"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s3 )
( s2 , a , s2 )
( s3 , a , s0 )
( s0 , b , s1 )
( s1 , b , s3 )
( s2 , b , s1 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s3 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s2 )
With the initial state: s0, and accepting states: ['s2', 's3'],
What will be the state after reading the following input: a c a c b | s1 | 5 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s3 )
( s2 , a , s2 )
( s3 , a , s0 )
( s0 , b , s1 )
( s1 , b , s3 )
( s2 , b , s1 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s3 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s2 ) |
e2da7ad4-d89f-4b9f-b777-fc1ffd40699f | e4efe788-c64e-4ea4-b320-a7a22e40ab9d | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s2", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}]} | 2 | {"a":{"s0":"s3","s1":"s3","s2":"s2","s3":"s0"},"b":{"s0":"s1","s1":"s3","s2":"s1","s3":"s1"},"c":{"s0":"s1","s1":"s1","s2":"s3","s3":"s0"},"d":{"s0":"s3","s1":"s3","s2":"s1","s3":"s2"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s3 )
( s2 , a , s2 )
( s3 , a , s0 )
( s0 , b , s1 )
( s1 , b , s3 )
( s2 , b , s1 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s3 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s2 )
With the initial state: s0, and accepting states: ['s2', 's3'],
What will be the state after reading the following input: a c a c b a | s3 | 6 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s3 )
( s2 , a , s2 )
( s3 , a , s0 )
( s0 , b , s1 )
( s1 , b , s3 )
( s2 , b , s1 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s3 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s2 ) |
a4e6c777-b822-4fcb-b170-26b1de2ed94a | e4efe788-c64e-4ea4-b320-a7a22e40ab9d | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s2", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}]} | 2 | {"a":{"s0":"s3","s1":"s3","s2":"s2","s3":"s0"},"b":{"s0":"s1","s1":"s3","s2":"s1","s3":"s1"},"c":{"s0":"s1","s1":"s1","s2":"s3","s3":"s0"},"d":{"s0":"s3","s1":"s3","s2":"s1","s3":"s2"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s3 )
( s2 , a , s2 )
( s3 , a , s0 )
( s0 , b , s1 )
( s1 , b , s3 )
( s2 , b , s1 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s3 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s2 )
With the initial state: s0, and accepting states: ['s2', 's3'],
What will be the state after reading the following input: a c a c b a a | s0 | 7 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s3 )
( s2 , a , s2 )
( s3 , a , s0 )
( s0 , b , s1 )
( s1 , b , s3 )
( s2 , b , s1 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s3 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s2 ) |
7bc7f7cc-ffd5-48a5-a109-818a38f5d414 | e4efe788-c64e-4ea4-b320-a7a22e40ab9d | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s2", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}]} | 2 | {"a":{"s0":"s3","s1":"s3","s2":"s2","s3":"s0"},"b":{"s0":"s1","s1":"s3","s2":"s1","s3":"s1"},"c":{"s0":"s1","s1":"s1","s2":"s3","s3":"s0"},"d":{"s0":"s3","s1":"s3","s2":"s1","s3":"s2"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s3 )
( s2 , a , s2 )
( s3 , a , s0 )
( s0 , b , s1 )
( s1 , b , s3 )
( s2 , b , s1 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s3 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s2 )
With the initial state: s0, and accepting states: ['s2', 's3'],
What will be the state after reading the following input: a c a c b a a a | s3 | 8 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s3 )
( s2 , a , s2 )
( s3 , a , s0 )
( s0 , b , s1 )
( s1 , b , s3 )
( s2 , b , s1 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s3 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s2 ) |
a0105bbb-5da5-40f2-9255-9951ef289936 | e4efe788-c64e-4ea4-b320-a7a22e40ab9d | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s2", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}]} | 2 | {"a":{"s0":"s3","s1":"s3","s2":"s2","s3":"s0"},"b":{"s0":"s1","s1":"s3","s2":"s1","s3":"s1"},"c":{"s0":"s1","s1":"s1","s2":"s3","s3":"s0"},"d":{"s0":"s3","s1":"s3","s2":"s1","s3":"s2"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s3 )
( s2 , a , s2 )
( s3 , a , s0 )
( s0 , b , s1 )
( s1 , b , s3 )
( s2 , b , s1 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s3 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s2 )
With the initial state: s0, and accepting states: ['s2', 's3'],
What will be the state after reading the following input: a c a c b a a a b | s1 | 9 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s3 )
( s2 , a , s2 )
( s3 , a , s0 )
( s0 , b , s1 )
( s1 , b , s3 )
( s2 , b , s1 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s1 )
( s2 , c , s3 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s3 )
( s2 , d , s1 )
( s3 , d , s2 ) |
b7076e04-4cb8-47a2-b6ae-4f1651be6b52 | 2db65533-c57e-4843-bde8-6ad99dc517ad | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s0", "s2", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s0","s3":"s0"},"b":{"s0":"s2","s1":"s2","s2":"s3","s3":"s1"},"c":{"s0":"s1","s1":"s2","s2":"s2","s3":"s0"},"d":{"s0":"s3","s1":"s2","s2":"s2","s3":"s0"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s0 )
( s3 , a , s0 )
( s0 , b , s2 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s2 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s2 )
( s2 , d , s2 )
( s3 , d , s0 )
With the initial state: s0, and accepting states: ['s0', 's2', 's1'],
What will be the state after reading the following input: d | s3 | 1 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s0 )
( s3 , a , s0 )
( s0 , b , s2 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s2 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s2 )
( s2 , d , s2 )
( s3 , d , s0 ) |
b93bf7f4-b4dd-42d2-8b0c-a5f7278aec4d | 2db65533-c57e-4843-bde8-6ad99dc517ad | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s0", "s2", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s0","s3":"s0"},"b":{"s0":"s2","s1":"s2","s2":"s3","s3":"s1"},"c":{"s0":"s1","s1":"s2","s2":"s2","s3":"s0"},"d":{"s0":"s3","s1":"s2","s2":"s2","s3":"s0"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s0 )
( s3 , a , s0 )
( s0 , b , s2 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s2 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s2 )
( s2 , d , s2 )
( s3 , d , s0 )
With the initial state: s0, and accepting states: ['s0', 's2', 's1'],
What will be the state after reading the following input: d d | s0 | 2 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s0 )
( s3 , a , s0 )
( s0 , b , s2 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s2 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s2 )
( s2 , d , s2 )
( s3 , d , s0 ) |
fb5d6daf-0e4d-47fc-80ca-dcda083383f5 | 2db65533-c57e-4843-bde8-6ad99dc517ad | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s0", "s2", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s0","s3":"s0"},"b":{"s0":"s2","s1":"s2","s2":"s3","s3":"s1"},"c":{"s0":"s1","s1":"s2","s2":"s2","s3":"s0"},"d":{"s0":"s3","s1":"s2","s2":"s2","s3":"s0"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s0 )
( s3 , a , s0 )
( s0 , b , s2 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s2 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s2 )
( s2 , d , s2 )
( s3 , d , s0 )
With the initial state: s0, and accepting states: ['s0', 's2', 's1'],
What will be the state after reading the following input: d d a | s3 | 3 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s0 )
( s3 , a , s0 )
( s0 , b , s2 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s2 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s2 )
( s2 , d , s2 )
( s3 , d , s0 ) |
3406d82a-70d2-4683-9ab5-9200b279ac23 | 2db65533-c57e-4843-bde8-6ad99dc517ad | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s0", "s2", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s0","s3":"s0"},"b":{"s0":"s2","s1":"s2","s2":"s3","s3":"s1"},"c":{"s0":"s1","s1":"s2","s2":"s2","s3":"s0"},"d":{"s0":"s3","s1":"s2","s2":"s2","s3":"s0"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s0 )
( s3 , a , s0 )
( s0 , b , s2 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s2 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s2 )
( s2 , d , s2 )
( s3 , d , s0 )
With the initial state: s0, and accepting states: ['s0', 's2', 's1'],
What will be the state after reading the following input: d d a a | s0 | 4 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s0 )
( s3 , a , s0 )
( s0 , b , s2 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s2 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s2 )
( s2 , d , s2 )
( s3 , d , s0 ) |
76b53668-d962-4a00-a1cd-93a624950df2 | 2db65533-c57e-4843-bde8-6ad99dc517ad | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s0", "s2", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s0","s3":"s0"},"b":{"s0":"s2","s1":"s2","s2":"s3","s3":"s1"},"c":{"s0":"s1","s1":"s2","s2":"s2","s3":"s0"},"d":{"s0":"s3","s1":"s2","s2":"s2","s3":"s0"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s0 )
( s3 , a , s0 )
( s0 , b , s2 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s2 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s2 )
( s2 , d , s2 )
( s3 , d , s0 )
With the initial state: s0, and accepting states: ['s0', 's2', 's1'],
What will be the state after reading the following input: d d a a c | s1 | 5 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s0 )
( s3 , a , s0 )
( s0 , b , s2 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s2 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s2 )
( s2 , d , s2 )
( s3 , d , s0 ) |
3e428c1e-c6af-41f2-9ada-df8268a2a53f | 2db65533-c57e-4843-bde8-6ad99dc517ad | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s0", "s2", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s0","s3":"s0"},"b":{"s0":"s2","s1":"s2","s2":"s3","s3":"s1"},"c":{"s0":"s1","s1":"s2","s2":"s2","s3":"s0"},"d":{"s0":"s3","s1":"s2","s2":"s2","s3":"s0"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s0 )
( s3 , a , s0 )
( s0 , b , s2 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s2 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s2 )
( s2 , d , s2 )
( s3 , d , s0 )
With the initial state: s0, and accepting states: ['s0', 's2', 's1'],
What will be the state after reading the following input: d d a a c c | s2 | 6 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s0 )
( s3 , a , s0 )
( s0 , b , s2 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s2 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s2 )
( s2 , d , s2 )
( s3 , d , s0 ) |
3704d76b-3b68-483c-8a21-8d6003fee569 | 2db65533-c57e-4843-bde8-6ad99dc517ad | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s0", "s2", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s0","s3":"s0"},"b":{"s0":"s2","s1":"s2","s2":"s3","s3":"s1"},"c":{"s0":"s1","s1":"s2","s2":"s2","s3":"s0"},"d":{"s0":"s3","s1":"s2","s2":"s2","s3":"s0"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s0 )
( s3 , a , s0 )
( s0 , b , s2 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s2 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s2 )
( s2 , d , s2 )
( s3 , d , s0 )
With the initial state: s0, and accepting states: ['s0', 's2', 's1'],
What will be the state after reading the following input: d d a a c c c | s2 | 7 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s0 )
( s3 , a , s0 )
( s0 , b , s2 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s2 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s2 )
( s2 , d , s2 )
( s3 , d , s0 ) |
d18bb65f-bccb-4c2c-a42b-f6a99bb12503 | 2db65533-c57e-4843-bde8-6ad99dc517ad | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s0", "s2", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s0","s3":"s0"},"b":{"s0":"s2","s1":"s2","s2":"s3","s3":"s1"},"c":{"s0":"s1","s1":"s2","s2":"s2","s3":"s0"},"d":{"s0":"s3","s1":"s2","s2":"s2","s3":"s0"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s0 )
( s3 , a , s0 )
( s0 , b , s2 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s2 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s2 )
( s2 , d , s2 )
( s3 , d , s0 )
With the initial state: s0, and accepting states: ['s0', 's2', 's1'],
What will be the state after reading the following input: d d a a c c c b | s3 | 8 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s0 )
( s3 , a , s0 )
( s0 , b , s2 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s2 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s2 )
( s2 , d , s2 )
( s3 , d , s0 ) |
74074e4e-7bb7-4faa-b559-625ad6713797 | 2db65533-c57e-4843-bde8-6ad99dc517ad | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s0", "s2", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s0","s3":"s0"},"b":{"s0":"s2","s1":"s2","s2":"s3","s3":"s1"},"c":{"s0":"s1","s1":"s2","s2":"s2","s3":"s0"},"d":{"s0":"s3","s1":"s2","s2":"s2","s3":"s0"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s0 )
( s3 , a , s0 )
( s0 , b , s2 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s2 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s2 )
( s2 , d , s2 )
( s3 , d , s0 )
With the initial state: s0, and accepting states: ['s0', 's2', 's1'],
What will be the state after reading the following input: d d a a c c c b d | s0 | 9 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s0 )
( s3 , a , s0 )
( s0 , b , s2 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s1 )
( s1 , c , s2 )
( s2 , c , s2 )
( s3 , c , s0 )
( s0 , d , s3 )
( s1 , d , s2 )
( s2 , d , s2 )
( s3 , d , s0 ) |
5f281346-1938-425e-a480-f3ac7ea6fedf | 95acc88c-1668-46b8-aa46-7919f48ac8e4 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s0", "s2", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s3","s3":"s0"},"b":{"s0":"s3","s1":"s2","s2":"s3","s3":"s1"},"c":{"s0":"s3","s1":"s2","s2":"s3","s3":"s1"},"d":{"s0":"s0","s1":"s0","s2":"s1","s3":"s1"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s3 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s3 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s0 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s1 )
With the initial state: s0, and accepting states: ['s0', 's2', 's3'],
What will be the state after reading the following input: c | s3 | 1 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s3 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s3 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s0 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s1 ) |
c35edd84-30c2-449c-9e0b-c817cd6e19eb | 95acc88c-1668-46b8-aa46-7919f48ac8e4 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s0", "s2", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s3","s3":"s0"},"b":{"s0":"s3","s1":"s2","s2":"s3","s3":"s1"},"c":{"s0":"s3","s1":"s2","s2":"s3","s3":"s1"},"d":{"s0":"s0","s1":"s0","s2":"s1","s3":"s1"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s3 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s3 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s0 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s1 )
With the initial state: s0, and accepting states: ['s0', 's2', 's3'],
What will be the state after reading the following input: c b | s1 | 2 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s3 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s3 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s0 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s1 ) |
d5e271b1-1000-48aa-9078-bd01c3c6a9e5 | 95acc88c-1668-46b8-aa46-7919f48ac8e4 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s0", "s2", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s3","s3":"s0"},"b":{"s0":"s3","s1":"s2","s2":"s3","s3":"s1"},"c":{"s0":"s3","s1":"s2","s2":"s3","s3":"s1"},"d":{"s0":"s0","s1":"s0","s2":"s1","s3":"s1"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s3 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s3 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s0 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s1 )
With the initial state: s0, and accepting states: ['s0', 's2', 's3'],
What will be the state after reading the following input: c b a | s1 | 3 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s3 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s3 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s0 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s1 ) |
b44d4eaf-7000-49bd-beff-2741b4001667 | 95acc88c-1668-46b8-aa46-7919f48ac8e4 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s0", "s2", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s3","s3":"s0"},"b":{"s0":"s3","s1":"s2","s2":"s3","s3":"s1"},"c":{"s0":"s3","s1":"s2","s2":"s3","s3":"s1"},"d":{"s0":"s0","s1":"s0","s2":"s1","s3":"s1"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s3 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s3 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s0 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s1 )
With the initial state: s0, and accepting states: ['s0', 's2', 's3'],
What will be the state after reading the following input: c b a a | s1 | 4 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s3 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s3 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s0 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s1 ) |
2bb0e0d8-1b67-43df-a883-e885448f68b1 | 95acc88c-1668-46b8-aa46-7919f48ac8e4 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s0", "s2", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s3","s3":"s0"},"b":{"s0":"s3","s1":"s2","s2":"s3","s3":"s1"},"c":{"s0":"s3","s1":"s2","s2":"s3","s3":"s1"},"d":{"s0":"s0","s1":"s0","s2":"s1","s3":"s1"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s3 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s3 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s0 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s1 )
With the initial state: s0, and accepting states: ['s0', 's2', 's3'],
What will be the state after reading the following input: c b a a d | s0 | 5 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s3 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s3 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s0 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s1 ) |
d2b03c20-fa85-4a58-8457-75721f4f52f5 | 95acc88c-1668-46b8-aa46-7919f48ac8e4 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s0", "s2", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s3","s3":"s0"},"b":{"s0":"s3","s1":"s2","s2":"s3","s3":"s1"},"c":{"s0":"s3","s1":"s2","s2":"s3","s3":"s1"},"d":{"s0":"s0","s1":"s0","s2":"s1","s3":"s1"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s3 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s3 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s0 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s1 )
With the initial state: s0, and accepting states: ['s0', 's2', 's3'],
What will be the state after reading the following input: c b a a d a | s3 | 6 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s3 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s3 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s0 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s1 ) |
f026541e-5bc0-4ecb-bf12-31b1a5caaf70 | 95acc88c-1668-46b8-aa46-7919f48ac8e4 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s0", "s2", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s3","s3":"s0"},"b":{"s0":"s3","s1":"s2","s2":"s3","s3":"s1"},"c":{"s0":"s3","s1":"s2","s2":"s3","s3":"s1"},"d":{"s0":"s0","s1":"s0","s2":"s1","s3":"s1"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s3 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s3 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s0 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s1 )
With the initial state: s0, and accepting states: ['s0', 's2', 's3'],
What will be the state after reading the following input: c b a a d a c | s1 | 7 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s3 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s3 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s0 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s1 ) |
d2e9f1a1-6a4e-4ab6-ab98-cbcd02d595c7 | 95acc88c-1668-46b8-aa46-7919f48ac8e4 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s0", "s2", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s3","s3":"s0"},"b":{"s0":"s3","s1":"s2","s2":"s3","s3":"s1"},"c":{"s0":"s3","s1":"s2","s2":"s3","s3":"s1"},"d":{"s0":"s0","s1":"s0","s2":"s1","s3":"s1"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s3 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s3 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s0 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s1 )
With the initial state: s0, and accepting states: ['s0', 's2', 's3'],
What will be the state after reading the following input: c b a a d a c b | s2 | 8 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s3 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s3 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s0 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s1 ) |
1ccf5d31-cb73-4b19-bfff-3c1e14666459 | 95acc88c-1668-46b8-aa46-7919f48ac8e4 | {"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s0", "s2", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}]} | 2 | {"a":{"s0":"s3","s1":"s1","s2":"s3","s3":"s0"},"b":{"s0":"s3","s1":"s2","s2":"s3","s3":"s1"},"c":{"s0":"s3","s1":"s2","s2":"s3","s3":"s1"},"d":{"s0":"s0","s1":"s0","s2":"s1","s3":"s1"}} | Given the following FSM transition rules:
( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s3 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s3 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s0 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s1 )
With the initial state: s0, and accepting states: ['s0', 's2', 's3'],
What will be the state after reading the following input: c b a a d a c b b | s3 | 9 | 4 | 4 | 4_4 | ( s0 , a , s3 )
( s1 , a , s1 )
( s2 , a , s3 )
( s3 , a , s0 )
( s0 , b , s3 )
( s1 , b , s2 )
( s2 , b , s3 )
( s3 , b , s1 )
( s0 , c , s3 )
( s1 , c , s2 )
( s2 , c , s3 )
( s3 , c , s1 )
( s0 , d , s0 )
( s1 , d , s0 )
( s2 , d , s1 )
( s3 , d , s1 ) |