query_id
stringlengths
36
36
fsm_id
stringlengths
36
36
fsm_json
stringlengths
160
2.88k
difficulty_level
int64
1
3
transition_matrix
stringlengths
17
517
query
stringlengths
101
358
answer
stringclasses
13 values
substring_index
int64
1
29
3bbe421f-d50a-4832-8961-6406082ce718
32e249cb-d981-4f5e-bf07-6bddbc65a605
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s3", "s0"], "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": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}]}
2
{"a":{"s0":"s3","s1":"s0","s2":"s1","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s0","s3":"s3"},"c":{"s0":"s1","s1":"s1","s2":"s0","s3":"s2"},"d":{"s0":"s3","s1":"s1","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d s0 s3 s2 s1 s3 s1 s0 s1 s1 s1 s2 s1 s0 s0 s1 s3 s1 s3 s2 s2 What will be the state after reading the following input: caaaddbdadcbdabcbadbccbb?
s0
24
8ad54638-104a-4386-9bcc-c83904bad916
32e249cb-d981-4f5e-bf07-6bddbc65a605
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s3", "s0"], "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": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}]}
2
{"a":{"s0":"s3","s1":"s0","s2":"s1","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s0","s3":"s3"},"c":{"s0":"s1","s1":"s1","s2":"s0","s3":"s2"},"d":{"s0":"s3","s1":"s1","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d s0 s3 s2 s1 s3 s1 s0 s1 s1 s1 s2 s1 s0 s0 s1 s3 s1 s3 s2 s2 What will be the state after reading the following input: caaaddbdadcbdabcbadbccbbb?
s2
25
9955c8ba-198f-410f-81d0-09ad139f9107
32e249cb-d981-4f5e-bf07-6bddbc65a605
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s3", "s0"], "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": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}]}
2
{"a":{"s0":"s3","s1":"s0","s2":"s1","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s0","s3":"s3"},"c":{"s0":"s1","s1":"s1","s2":"s0","s3":"s2"},"d":{"s0":"s3","s1":"s1","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d s0 s3 s2 s1 s3 s1 s0 s1 s1 s1 s2 s1 s0 s0 s1 s3 s1 s3 s2 s2 What will be the state after reading the following input: caaaddbdadcbdabcbadbccbbba?
s1
26
e92a748e-9c77-4da4-90aa-2efbdc229c33
32e249cb-d981-4f5e-bf07-6bddbc65a605
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s3", "s0"], "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": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}]}
2
{"a":{"s0":"s3","s1":"s0","s2":"s1","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s0","s3":"s3"},"c":{"s0":"s1","s1":"s1","s2":"s0","s3":"s2"},"d":{"s0":"s3","s1":"s1","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d s0 s3 s2 s1 s3 s1 s0 s1 s1 s1 s2 s1 s0 s0 s1 s3 s1 s3 s2 s2 What will be the state after reading the following input: caaaddbdadcbdabcbadbccbbbad?
s1
27
aa8ee7cf-5dec-4753-9cb6-839e7e971074
32e249cb-d981-4f5e-bf07-6bddbc65a605
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s3", "s0"], "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": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}]}
2
{"a":{"s0":"s3","s1":"s0","s2":"s1","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s0","s3":"s3"},"c":{"s0":"s1","s1":"s1","s2":"s0","s3":"s2"},"d":{"s0":"s3","s1":"s1","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d s0 s3 s2 s1 s3 s1 s0 s1 s1 s1 s2 s1 s0 s0 s1 s3 s1 s3 s2 s2 What will be the state after reading the following input: caaaddbdadcbdabcbadbccbbbada?
s0
28
088330df-cfc2-493d-aa4f-9c5c7a46f9b7
32e249cb-d981-4f5e-bf07-6bddbc65a605
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcd", "accepting_states": ["s3", "s0"], "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": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}]}
2
{"a":{"s0":"s3","s1":"s0","s2":"s1","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s0","s3":"s3"},"c":{"s0":"s1","s1":"s1","s2":"s0","s3":"s2"},"d":{"s0":"s3","s1":"s1","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d s0 s3 s2 s1 s3 s1 s0 s1 s1 s1 s2 s1 s0 s0 s1 s3 s1 s3 s2 s2 What will be the state after reading the following input: caaaddbdadcbdabcbadbccbbbadac?
s1
29
4ac405e4-0657-4568-b3d2-03e79656f794
a2c03858-1cbd-4fa2-b705-1ded1d21816e
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s2"]}]}
3
{"a":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s1","s3":"s3"},"c":{"s0":"s3","s1":"s3","s2":"s0","s3":"s2"},"d":{"s0":"s1","s1":"s3","s2":"s0","s3":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s1"},"f":{"s0":"s2","s1":"s0","s2":"s1","s3":"s2"},"g":{"s0":"s0","s1":"s1","s2":"s2","s3":"s0"},"h":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"i":{"s0":"s3","s1":"s0","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d e f g h i s0 s3 s2 s3 s1 s1 s2 s0 s3 s3 s1 s3 s1 s3 s3 s1 s0 s1 s1 s0 s2 s0 s1 s0 s0 s2 s1 s2 s1 s1 s3 s1 s3 s2 s1 s1 s2 s0 s1 s2 What will be the state after reading the following input: e?
s1
1
bafb83bd-9df6-4156-86f0-e44970b412ba
a2c03858-1cbd-4fa2-b705-1ded1d21816e
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s2"]}]}
3
{"a":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s1","s3":"s3"},"c":{"s0":"s3","s1":"s3","s2":"s0","s3":"s2"},"d":{"s0":"s1","s1":"s3","s2":"s0","s3":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s1"},"f":{"s0":"s2","s1":"s0","s2":"s1","s3":"s2"},"g":{"s0":"s0","s1":"s1","s2":"s2","s3":"s0"},"h":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"i":{"s0":"s3","s1":"s0","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d e f g h i s0 s3 s2 s3 s1 s1 s2 s0 s3 s3 s1 s3 s1 s3 s3 s1 s0 s1 s1 s0 s2 s0 s1 s0 s0 s2 s1 s2 s1 s1 s3 s1 s3 s2 s1 s1 s2 s0 s1 s2 What will be the state after reading the following input: eb?
s1
2
addf487a-dbc2-4b95-8e6d-b9e439c3339d
a2c03858-1cbd-4fa2-b705-1ded1d21816e
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s2"]}]}
3
{"a":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s1","s3":"s3"},"c":{"s0":"s3","s1":"s3","s2":"s0","s3":"s2"},"d":{"s0":"s1","s1":"s3","s2":"s0","s3":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s1"},"f":{"s0":"s2","s1":"s0","s2":"s1","s3":"s2"},"g":{"s0":"s0","s1":"s1","s2":"s2","s3":"s0"},"h":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"i":{"s0":"s3","s1":"s0","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d e f g h i s0 s3 s2 s3 s1 s1 s2 s0 s3 s3 s1 s3 s1 s3 s3 s1 s0 s1 s1 s0 s2 s0 s1 s0 s0 s2 s1 s2 s1 s1 s3 s1 s3 s2 s1 s1 s2 s0 s1 s2 What will be the state after reading the following input: ebh?
s1
3
ded507df-9440-443c-9357-656a79da850f
a2c03858-1cbd-4fa2-b705-1ded1d21816e
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s2"]}]}
3
{"a":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s1","s3":"s3"},"c":{"s0":"s3","s1":"s3","s2":"s0","s3":"s2"},"d":{"s0":"s1","s1":"s3","s2":"s0","s3":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s1"},"f":{"s0":"s2","s1":"s0","s2":"s1","s3":"s2"},"g":{"s0":"s0","s1":"s1","s2":"s2","s3":"s0"},"h":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"i":{"s0":"s3","s1":"s0","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d e f g h i s0 s3 s2 s3 s1 s1 s2 s0 s3 s3 s1 s3 s1 s3 s3 s1 s0 s1 s1 s0 s2 s0 s1 s0 s0 s2 s1 s2 s1 s1 s3 s1 s3 s2 s1 s1 s2 s0 s1 s2 What will be the state after reading the following input: ebhb?
s1
4
47fa8e79-30d7-42bf-b1ed-43c670a12db6
a2c03858-1cbd-4fa2-b705-1ded1d21816e
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s2"]}]}
3
{"a":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s1","s3":"s3"},"c":{"s0":"s3","s1":"s3","s2":"s0","s3":"s2"},"d":{"s0":"s1","s1":"s3","s2":"s0","s3":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s1"},"f":{"s0":"s2","s1":"s0","s2":"s1","s3":"s2"},"g":{"s0":"s0","s1":"s1","s2":"s2","s3":"s0"},"h":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"i":{"s0":"s3","s1":"s0","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d e f g h i s0 s3 s2 s3 s1 s1 s2 s0 s3 s3 s1 s3 s1 s3 s3 s1 s0 s1 s1 s0 s2 s0 s1 s0 s0 s2 s1 s2 s1 s1 s3 s1 s3 s2 s1 s1 s2 s0 s1 s2 What will be the state after reading the following input: ebhbe?
s1
5
4e797fca-c9db-443a-a6c5-3783c31cadc1
a2c03858-1cbd-4fa2-b705-1ded1d21816e
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s2"]}]}
3
{"a":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s1","s3":"s3"},"c":{"s0":"s3","s1":"s3","s2":"s0","s3":"s2"},"d":{"s0":"s1","s1":"s3","s2":"s0","s3":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s1"},"f":{"s0":"s2","s1":"s0","s2":"s1","s3":"s2"},"g":{"s0":"s0","s1":"s1","s2":"s2","s3":"s0"},"h":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"i":{"s0":"s3","s1":"s0","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d e f g h i s0 s3 s2 s3 s1 s1 s2 s0 s3 s3 s1 s3 s1 s3 s3 s1 s0 s1 s1 s0 s2 s0 s1 s0 s0 s2 s1 s2 s1 s1 s3 s1 s3 s2 s1 s1 s2 s0 s1 s2 What will be the state after reading the following input: ebhbeh?
s1
6
2646d7af-1bc7-4444-94a9-c25864701062
a2c03858-1cbd-4fa2-b705-1ded1d21816e
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s2"]}]}
3
{"a":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s1","s3":"s3"},"c":{"s0":"s3","s1":"s3","s2":"s0","s3":"s2"},"d":{"s0":"s1","s1":"s3","s2":"s0","s3":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s1"},"f":{"s0":"s2","s1":"s0","s2":"s1","s3":"s2"},"g":{"s0":"s0","s1":"s1","s2":"s2","s3":"s0"},"h":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"i":{"s0":"s3","s1":"s0","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d e f g h i s0 s3 s2 s3 s1 s1 s2 s0 s3 s3 s1 s3 s1 s3 s3 s1 s0 s1 s1 s0 s2 s0 s1 s0 s0 s2 s1 s2 s1 s1 s3 s1 s3 s2 s1 s1 s2 s0 s1 s2 What will be the state after reading the following input: ebhbehf?
s0
7
941090b2-4fb7-47a8-9ad2-5c4067c529fa
a2c03858-1cbd-4fa2-b705-1ded1d21816e
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s2"]}]}
3
{"a":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s1","s3":"s3"},"c":{"s0":"s3","s1":"s3","s2":"s0","s3":"s2"},"d":{"s0":"s1","s1":"s3","s2":"s0","s3":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s1"},"f":{"s0":"s2","s1":"s0","s2":"s1","s3":"s2"},"g":{"s0":"s0","s1":"s1","s2":"s2","s3":"s0"},"h":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"i":{"s0":"s3","s1":"s0","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d e f g h i s0 s3 s2 s3 s1 s1 s2 s0 s3 s3 s1 s3 s1 s3 s3 s1 s0 s1 s1 s0 s2 s0 s1 s0 s0 s2 s1 s2 s1 s1 s3 s1 s3 s2 s1 s1 s2 s0 s1 s2 What will be the state after reading the following input: ebhbehfg?
s0
8
8a7e6183-38dc-43b3-ba7d-639b3ddd0b7c
a2c03858-1cbd-4fa2-b705-1ded1d21816e
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s2"]}]}
3
{"a":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s1","s3":"s3"},"c":{"s0":"s3","s1":"s3","s2":"s0","s3":"s2"},"d":{"s0":"s1","s1":"s3","s2":"s0","s3":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s1"},"f":{"s0":"s2","s1":"s0","s2":"s1","s3":"s2"},"g":{"s0":"s0","s1":"s1","s2":"s2","s3":"s0"},"h":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"i":{"s0":"s3","s1":"s0","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d e f g h i s0 s3 s2 s3 s1 s1 s2 s0 s3 s3 s1 s3 s1 s3 s3 s1 s0 s1 s1 s0 s2 s0 s1 s0 s0 s2 s1 s2 s1 s1 s3 s1 s3 s2 s1 s1 s2 s0 s1 s2 What will be the state after reading the following input: ebhbehfgd?
s1
9
f6d1ea86-82b0-493b-8a64-5becc5d86fd6
a2c03858-1cbd-4fa2-b705-1ded1d21816e
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s2"]}]}
3
{"a":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s1","s3":"s3"},"c":{"s0":"s3","s1":"s3","s2":"s0","s3":"s2"},"d":{"s0":"s1","s1":"s3","s2":"s0","s3":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s1"},"f":{"s0":"s2","s1":"s0","s2":"s1","s3":"s2"},"g":{"s0":"s0","s1":"s1","s2":"s2","s3":"s0"},"h":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"i":{"s0":"s3","s1":"s0","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d e f g h i s0 s3 s2 s3 s1 s1 s2 s0 s3 s3 s1 s3 s1 s3 s3 s1 s0 s1 s1 s0 s2 s0 s1 s0 s0 s2 s1 s2 s1 s1 s3 s1 s3 s2 s1 s1 s2 s0 s1 s2 What will be the state after reading the following input: ebhbehfgdg?
s1
10
d12db3e2-0345-492d-9492-26eefbb6f5a8
a2c03858-1cbd-4fa2-b705-1ded1d21816e
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s2"]}]}
3
{"a":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s1","s3":"s3"},"c":{"s0":"s3","s1":"s3","s2":"s0","s3":"s2"},"d":{"s0":"s1","s1":"s3","s2":"s0","s3":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s1"},"f":{"s0":"s2","s1":"s0","s2":"s1","s3":"s2"},"g":{"s0":"s0","s1":"s1","s2":"s2","s3":"s0"},"h":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"i":{"s0":"s3","s1":"s0","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d e f g h i s0 s3 s2 s3 s1 s1 s2 s0 s3 s3 s1 s3 s1 s3 s3 s1 s0 s1 s1 s0 s2 s0 s1 s0 s0 s2 s1 s2 s1 s1 s3 s1 s3 s2 s1 s1 s2 s0 s1 s2 What will be the state after reading the following input: ebhbehfgdgf?
s0
11
c98a90e5-2777-431a-89e9-0a08da682e4b
a2c03858-1cbd-4fa2-b705-1ded1d21816e
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s2"]}]}
3
{"a":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s1","s3":"s3"},"c":{"s0":"s3","s1":"s3","s2":"s0","s3":"s2"},"d":{"s0":"s1","s1":"s3","s2":"s0","s3":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s1"},"f":{"s0":"s2","s1":"s0","s2":"s1","s3":"s2"},"g":{"s0":"s0","s1":"s1","s2":"s2","s3":"s0"},"h":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"i":{"s0":"s3","s1":"s0","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d e f g h i s0 s3 s2 s3 s1 s1 s2 s0 s3 s3 s1 s3 s1 s3 s3 s1 s0 s1 s1 s0 s2 s0 s1 s0 s0 s2 s1 s2 s1 s1 s3 s1 s3 s2 s1 s1 s2 s0 s1 s2 What will be the state after reading the following input: ebhbehfgdgfh?
s3
12
bfdf78f4-b1c3-4ccd-b4b3-ee805a514731
a2c03858-1cbd-4fa2-b705-1ded1d21816e
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s2"]}]}
3
{"a":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s1","s3":"s3"},"c":{"s0":"s3","s1":"s3","s2":"s0","s3":"s2"},"d":{"s0":"s1","s1":"s3","s2":"s0","s3":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s1"},"f":{"s0":"s2","s1":"s0","s2":"s1","s3":"s2"},"g":{"s0":"s0","s1":"s1","s2":"s2","s3":"s0"},"h":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"i":{"s0":"s3","s1":"s0","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d e f g h i s0 s3 s2 s3 s1 s1 s2 s0 s3 s3 s1 s3 s1 s3 s3 s1 s0 s1 s1 s0 s2 s0 s1 s0 s0 s2 s1 s2 s1 s1 s3 s1 s3 s2 s1 s1 s2 s0 s1 s2 What will be the state after reading the following input: ebhbehfgdgfhg?
s0
13
232bbc1c-fe06-4744-8d12-692c19b5dde1
a2c03858-1cbd-4fa2-b705-1ded1d21816e
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s2"]}]}
3
{"a":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s1","s3":"s3"},"c":{"s0":"s3","s1":"s3","s2":"s0","s3":"s2"},"d":{"s0":"s1","s1":"s3","s2":"s0","s3":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s1"},"f":{"s0":"s2","s1":"s0","s2":"s1","s3":"s2"},"g":{"s0":"s0","s1":"s1","s2":"s2","s3":"s0"},"h":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"i":{"s0":"s3","s1":"s0","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d e f g h i s0 s3 s2 s3 s1 s1 s2 s0 s3 s3 s1 s3 s1 s3 s3 s1 s0 s1 s1 s0 s2 s0 s1 s0 s0 s2 s1 s2 s1 s1 s3 s1 s3 s2 s1 s1 s2 s0 s1 s2 What will be the state after reading the following input: ebhbehfgdgfhgi?
s3
14
e711e106-0dbd-48b3-a730-05392ef0b633
a2c03858-1cbd-4fa2-b705-1ded1d21816e
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s2"]}]}
3
{"a":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s1","s3":"s3"},"c":{"s0":"s3","s1":"s3","s2":"s0","s3":"s2"},"d":{"s0":"s1","s1":"s3","s2":"s0","s3":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s1"},"f":{"s0":"s2","s1":"s0","s2":"s1","s3":"s2"},"g":{"s0":"s0","s1":"s1","s2":"s2","s3":"s0"},"h":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"i":{"s0":"s3","s1":"s0","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d e f g h i s0 s3 s2 s3 s1 s1 s2 s0 s3 s3 s1 s3 s1 s3 s3 s1 s0 s1 s1 s0 s2 s0 s1 s0 s0 s2 s1 s2 s1 s1 s3 s1 s3 s2 s1 s1 s2 s0 s1 s2 What will be the state after reading the following input: ebhbehfgdgfhgia?
s1
15
dc26ea05-7948-4fb7-8301-21a25f2294c6
a2c03858-1cbd-4fa2-b705-1ded1d21816e
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s2"]}]}
3
{"a":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s1","s3":"s3"},"c":{"s0":"s3","s1":"s3","s2":"s0","s3":"s2"},"d":{"s0":"s1","s1":"s3","s2":"s0","s3":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s1"},"f":{"s0":"s2","s1":"s0","s2":"s1","s3":"s2"},"g":{"s0":"s0","s1":"s1","s2":"s2","s3":"s0"},"h":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"i":{"s0":"s3","s1":"s0","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d e f g h i s0 s3 s2 s3 s1 s1 s2 s0 s3 s3 s1 s3 s1 s3 s3 s1 s0 s1 s1 s0 s2 s0 s1 s0 s0 s2 s1 s2 s1 s1 s3 s1 s3 s2 s1 s1 s2 s0 s1 s2 What will be the state after reading the following input: ebhbehfgdgfhgiah?
s1
16
f4fd409f-9de9-49aa-b7e1-4accabfbba22
a2c03858-1cbd-4fa2-b705-1ded1d21816e
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s2"]}]}
3
{"a":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s1","s3":"s3"},"c":{"s0":"s3","s1":"s3","s2":"s0","s3":"s2"},"d":{"s0":"s1","s1":"s3","s2":"s0","s3":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s1"},"f":{"s0":"s2","s1":"s0","s2":"s1","s3":"s2"},"g":{"s0":"s0","s1":"s1","s2":"s2","s3":"s0"},"h":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"i":{"s0":"s3","s1":"s0","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d e f g h i s0 s3 s2 s3 s1 s1 s2 s0 s3 s3 s1 s3 s1 s3 s3 s1 s0 s1 s1 s0 s2 s0 s1 s0 s0 s2 s1 s2 s1 s1 s3 s1 s3 s2 s1 s1 s2 s0 s1 s2 What will be the state after reading the following input: ebhbehfgdgfhgiahg?
s1
17
b40605c4-4595-4322-b1bc-d2f4776c50e4
a2c03858-1cbd-4fa2-b705-1ded1d21816e
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s2"]}]}
3
{"a":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s1","s3":"s3"},"c":{"s0":"s3","s1":"s3","s2":"s0","s3":"s2"},"d":{"s0":"s1","s1":"s3","s2":"s0","s3":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s1"},"f":{"s0":"s2","s1":"s0","s2":"s1","s3":"s2"},"g":{"s0":"s0","s1":"s1","s2":"s2","s3":"s0"},"h":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"i":{"s0":"s3","s1":"s0","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d e f g h i s0 s3 s2 s3 s1 s1 s2 s0 s3 s3 s1 s3 s1 s3 s3 s1 s0 s1 s1 s0 s2 s0 s1 s0 s0 s2 s1 s2 s1 s1 s3 s1 s3 s2 s1 s1 s2 s0 s1 s2 What will be the state after reading the following input: ebhbehfgdgfhgiahgb?
s1
18
01633147-ceb9-43a6-9e0e-0abcccba5336
a2c03858-1cbd-4fa2-b705-1ded1d21816e
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s2"]}]}
3
{"a":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s1","s3":"s3"},"c":{"s0":"s3","s1":"s3","s2":"s0","s3":"s2"},"d":{"s0":"s1","s1":"s3","s2":"s0","s3":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s1"},"f":{"s0":"s2","s1":"s0","s2":"s1","s3":"s2"},"g":{"s0":"s0","s1":"s1","s2":"s2","s3":"s0"},"h":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"i":{"s0":"s3","s1":"s0","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d e f g h i s0 s3 s2 s3 s1 s1 s2 s0 s3 s3 s1 s3 s1 s3 s3 s1 s0 s1 s1 s0 s2 s0 s1 s0 s0 s2 s1 s2 s1 s1 s3 s1 s3 s2 s1 s1 s2 s0 s1 s2 What will be the state after reading the following input: ebhbehfgdgfhgiahgbg?
s1
19
40adcee5-5370-4097-9a60-b2a6f3bfc232
a2c03858-1cbd-4fa2-b705-1ded1d21816e
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s2"]}]}
3
{"a":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s1","s3":"s3"},"c":{"s0":"s3","s1":"s3","s2":"s0","s3":"s2"},"d":{"s0":"s1","s1":"s3","s2":"s0","s3":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s1"},"f":{"s0":"s2","s1":"s0","s2":"s1","s3":"s2"},"g":{"s0":"s0","s1":"s1","s2":"s2","s3":"s0"},"h":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"i":{"s0":"s3","s1":"s0","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d e f g h i s0 s3 s2 s3 s1 s1 s2 s0 s3 s3 s1 s3 s1 s3 s3 s1 s0 s1 s1 s0 s2 s0 s1 s0 s0 s2 s1 s2 s1 s1 s3 s1 s3 s2 s1 s1 s2 s0 s1 s2 What will be the state after reading the following input: ebhbehfgdgfhgiahgbge?
s1
20
7ba81273-1d5e-4d10-ab89-fe0b6c317ae1
a2c03858-1cbd-4fa2-b705-1ded1d21816e
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s2"]}]}
3
{"a":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s1","s3":"s3"},"c":{"s0":"s3","s1":"s3","s2":"s0","s3":"s2"},"d":{"s0":"s1","s1":"s3","s2":"s0","s3":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s1"},"f":{"s0":"s2","s1":"s0","s2":"s1","s3":"s2"},"g":{"s0":"s0","s1":"s1","s2":"s2","s3":"s0"},"h":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"i":{"s0":"s3","s1":"s0","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d e f g h i s0 s3 s2 s3 s1 s1 s2 s0 s3 s3 s1 s3 s1 s3 s3 s1 s0 s1 s1 s0 s2 s0 s1 s0 s0 s2 s1 s2 s1 s1 s3 s1 s3 s2 s1 s1 s2 s0 s1 s2 What will be the state after reading the following input: ebhbehfgdgfhgiahgbgeg?
s1
21
771e3ada-20b2-4ba6-bbe5-5acf2aa4885d
a2c03858-1cbd-4fa2-b705-1ded1d21816e
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s2"]}]}
3
{"a":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s1","s3":"s3"},"c":{"s0":"s3","s1":"s3","s2":"s0","s3":"s2"},"d":{"s0":"s1","s1":"s3","s2":"s0","s3":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s1"},"f":{"s0":"s2","s1":"s0","s2":"s1","s3":"s2"},"g":{"s0":"s0","s1":"s1","s2":"s2","s3":"s0"},"h":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"i":{"s0":"s3","s1":"s0","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d e f g h i s0 s3 s2 s3 s1 s1 s2 s0 s3 s3 s1 s3 s1 s3 s3 s1 s0 s1 s1 s0 s2 s0 s1 s0 s0 s2 s1 s2 s1 s1 s3 s1 s3 s2 s1 s1 s2 s0 s1 s2 What will be the state after reading the following input: ebhbehfgdgfhgiahgbgega?
s3
22
981a1666-5445-46bd-98ea-a8f66621a292
a2c03858-1cbd-4fa2-b705-1ded1d21816e
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s2"]}]}
3
{"a":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s1","s3":"s3"},"c":{"s0":"s3","s1":"s3","s2":"s0","s3":"s2"},"d":{"s0":"s1","s1":"s3","s2":"s0","s3":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s1"},"f":{"s0":"s2","s1":"s0","s2":"s1","s3":"s2"},"g":{"s0":"s0","s1":"s1","s2":"s2","s3":"s0"},"h":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"i":{"s0":"s3","s1":"s0","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d e f g h i s0 s3 s2 s3 s1 s1 s2 s0 s3 s3 s1 s3 s1 s3 s3 s1 s0 s1 s1 s0 s2 s0 s1 s0 s0 s2 s1 s2 s1 s1 s3 s1 s3 s2 s1 s1 s2 s0 s1 s2 What will be the state after reading the following input: ebhbehfgdgfhgiahgbgegab?
s3
23
760bbd79-52dc-47ff-91cd-d76a3ec0d0e5
a2c03858-1cbd-4fa2-b705-1ded1d21816e
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s2"]}]}
3
{"a":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s1","s3":"s3"},"c":{"s0":"s3","s1":"s3","s2":"s0","s3":"s2"},"d":{"s0":"s1","s1":"s3","s2":"s0","s3":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s1"},"f":{"s0":"s2","s1":"s0","s2":"s1","s3":"s2"},"g":{"s0":"s0","s1":"s1","s2":"s2","s3":"s0"},"h":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"i":{"s0":"s3","s1":"s0","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d e f g h i s0 s3 s2 s3 s1 s1 s2 s0 s3 s3 s1 s3 s1 s3 s3 s1 s0 s1 s1 s0 s2 s0 s1 s0 s0 s2 s1 s2 s1 s1 s3 s1 s3 s2 s1 s1 s2 s0 s1 s2 What will be the state after reading the following input: ebhbehfgdgfhgiahgbgegabb?
s3
24
d47e5566-5ec1-435a-ad21-9f02181c9ce4
a2c03858-1cbd-4fa2-b705-1ded1d21816e
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s2"]}]}
3
{"a":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s1","s3":"s3"},"c":{"s0":"s3","s1":"s3","s2":"s0","s3":"s2"},"d":{"s0":"s1","s1":"s3","s2":"s0","s3":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s1"},"f":{"s0":"s2","s1":"s0","s2":"s1","s3":"s2"},"g":{"s0":"s0","s1":"s1","s2":"s2","s3":"s0"},"h":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"i":{"s0":"s3","s1":"s0","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d e f g h i s0 s3 s2 s3 s1 s1 s2 s0 s3 s3 s1 s3 s1 s3 s3 s1 s0 s1 s1 s0 s2 s0 s1 s0 s0 s2 s1 s2 s1 s1 s3 s1 s3 s2 s1 s1 s2 s0 s1 s2 What will be the state after reading the following input: ebhbehfgdgfhgiahgbgegabbg?
s0
25
9dfd1643-8104-42e1-b7bc-e5d2ee9786a4
a2c03858-1cbd-4fa2-b705-1ded1d21816e
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s2"]}]}
3
{"a":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s1","s3":"s3"},"c":{"s0":"s3","s1":"s3","s2":"s0","s3":"s2"},"d":{"s0":"s1","s1":"s3","s2":"s0","s3":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s1"},"f":{"s0":"s2","s1":"s0","s2":"s1","s3":"s2"},"g":{"s0":"s0","s1":"s1","s2":"s2","s3":"s0"},"h":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"i":{"s0":"s3","s1":"s0","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d e f g h i s0 s3 s2 s3 s1 s1 s2 s0 s3 s3 s1 s3 s1 s3 s3 s1 s0 s1 s1 s0 s2 s0 s1 s0 s0 s2 s1 s2 s1 s1 s3 s1 s3 s2 s1 s1 s2 s0 s1 s2 What will be the state after reading the following input: ebhbehfgdgfhgiahgbgegabbgd?
s1
26
7e878043-dee0-461b-97aa-3cf013cdcb39
a2c03858-1cbd-4fa2-b705-1ded1d21816e
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s2"]}]}
3
{"a":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s1","s3":"s3"},"c":{"s0":"s3","s1":"s3","s2":"s0","s3":"s2"},"d":{"s0":"s1","s1":"s3","s2":"s0","s3":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s1"},"f":{"s0":"s2","s1":"s0","s2":"s1","s3":"s2"},"g":{"s0":"s0","s1":"s1","s2":"s2","s3":"s0"},"h":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"i":{"s0":"s3","s1":"s0","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d e f g h i s0 s3 s2 s3 s1 s1 s2 s0 s3 s3 s1 s3 s1 s3 s3 s1 s0 s1 s1 s0 s2 s0 s1 s0 s0 s2 s1 s2 s1 s1 s3 s1 s3 s2 s1 s1 s2 s0 s1 s2 What will be the state after reading the following input: ebhbehfgdgfhgiahgbgegabbgde?
s1
27
18db3d9a-b202-4e41-bdf6-cd92eb0cfa78
a2c03858-1cbd-4fa2-b705-1ded1d21816e
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s2"]}]}
3
{"a":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s1","s3":"s3"},"c":{"s0":"s3","s1":"s3","s2":"s0","s3":"s2"},"d":{"s0":"s1","s1":"s3","s2":"s0","s3":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s1"},"f":{"s0":"s2","s1":"s0","s2":"s1","s3":"s2"},"g":{"s0":"s0","s1":"s1","s2":"s2","s3":"s0"},"h":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"i":{"s0":"s3","s1":"s0","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d e f g h i s0 s3 s2 s3 s1 s1 s2 s0 s3 s3 s1 s3 s1 s3 s3 s1 s0 s1 s1 s0 s2 s0 s1 s0 s0 s2 s1 s2 s1 s1 s3 s1 s3 s2 s1 s1 s2 s0 s1 s2 What will be the state after reading the following input: ebhbehfgdgfhgiahgbgegabbgdeb?
s1
28
5a6c0ee4-5565-41d5-80fe-9d451bd24a43
a2c03858-1cbd-4fa2-b705-1ded1d21816e
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s2"]}]}
3
{"a":{"s0":"s3","s1":"s3","s2":"s0","s3":"s1"},"b":{"s0":"s2","s1":"s1","s2":"s1","s3":"s3"},"c":{"s0":"s3","s1":"s3","s2":"s0","s3":"s2"},"d":{"s0":"s1","s1":"s3","s2":"s0","s3":"s1"},"e":{"s0":"s1","s1":"s1","s2":"s2","s3":"s1"},"f":{"s0":"s2","s1":"s0","s2":"s1","s3":"s2"},"g":{"s0":"s0","s1":"s1","s2":"s2","s3":"s0"},"h":{"s0":"s3","s1":"s1","s2":"s1","s3":"s1"},"i":{"s0":"s3","s1":"s0","s2":"s1","s3":"s2"}}
Given the following FSM: a b c d e f g h i s0 s3 s2 s3 s1 s1 s2 s0 s3 s3 s1 s3 s1 s3 s3 s1 s0 s1 s1 s0 s2 s0 s1 s0 s0 s2 s1 s2 s1 s1 s3 s1 s3 s2 s1 s1 s2 s0 s1 s2 What will be the state after reading the following input: ebhbehfgdgfhgiahgbgegabbgdebi?
s0
29
83d4162a-2b4c-424b-9ae1-7e5b5a52c5e2
1e7b2c0b-cd8c-4151-b5d4-22fb574483b7
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefgh", "accepting_states": ["s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s4","s2":"s3","s3":"s4","s4":"s1"},"b":{"s0":"s0","s1":"s4","s2":"s4","s3":"s0","s4":"s3"},"c":{"s0":"s2","s1":"s0","s2":"s4","s3":"s1","s4":"s0"},"d":{"s0":"s3","s1":"s1","s2":"s4","s3":"s1","s4":"s0"},"e":{"s0":"s4","s1":"s2","s2":"s2","s3":"s4","s4":"s4"},"f":{"s0":"s3","s1":"s0","s2":"s4","s3":"s2","s4":"s3"},"g":{"s0":"s1","s1":"s1","s2":"s0","s3":"s0","s4":"s2"},"h":{"s0":"s2","s1":"s3","s2":"s3","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h s0 s4 s0 s2 s3 s4 s3 s1 s2 s1 s4 s4 s0 s1 s2 s0 s1 s3 s2 s3 s4 s4 s4 s2 s4 s0 s3 s3 s4 s0 s1 s1 s4 s2 s0 s1 s4 s1 s3 s0 s0 s4 s3 s2 s0 What will be the state after reading the following input: d?
s3
1
c3a1ec72-fbd8-441a-9427-b8b4bbca8a2a
1e7b2c0b-cd8c-4151-b5d4-22fb574483b7
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefgh", "accepting_states": ["s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s4","s2":"s3","s3":"s4","s4":"s1"},"b":{"s0":"s0","s1":"s4","s2":"s4","s3":"s0","s4":"s3"},"c":{"s0":"s2","s1":"s0","s2":"s4","s3":"s1","s4":"s0"},"d":{"s0":"s3","s1":"s1","s2":"s4","s3":"s1","s4":"s0"},"e":{"s0":"s4","s1":"s2","s2":"s2","s3":"s4","s4":"s4"},"f":{"s0":"s3","s1":"s0","s2":"s4","s3":"s2","s4":"s3"},"g":{"s0":"s1","s1":"s1","s2":"s0","s3":"s0","s4":"s2"},"h":{"s0":"s2","s1":"s3","s2":"s3","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h s0 s4 s0 s2 s3 s4 s3 s1 s2 s1 s4 s4 s0 s1 s2 s0 s1 s3 s2 s3 s4 s4 s4 s2 s4 s0 s3 s3 s4 s0 s1 s1 s4 s2 s0 s1 s4 s1 s3 s0 s0 s4 s3 s2 s0 What will be the state after reading the following input: da?
s4
2
0cf00a44-d793-447c-a83d-50884178f25b
1e7b2c0b-cd8c-4151-b5d4-22fb574483b7
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefgh", "accepting_states": ["s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s4","s2":"s3","s3":"s4","s4":"s1"},"b":{"s0":"s0","s1":"s4","s2":"s4","s3":"s0","s4":"s3"},"c":{"s0":"s2","s1":"s0","s2":"s4","s3":"s1","s4":"s0"},"d":{"s0":"s3","s1":"s1","s2":"s4","s3":"s1","s4":"s0"},"e":{"s0":"s4","s1":"s2","s2":"s2","s3":"s4","s4":"s4"},"f":{"s0":"s3","s1":"s0","s2":"s4","s3":"s2","s4":"s3"},"g":{"s0":"s1","s1":"s1","s2":"s0","s3":"s0","s4":"s2"},"h":{"s0":"s2","s1":"s3","s2":"s3","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h s0 s4 s0 s2 s3 s4 s3 s1 s2 s1 s4 s4 s0 s1 s2 s0 s1 s3 s2 s3 s4 s4 s4 s2 s4 s0 s3 s3 s4 s0 s1 s1 s4 s2 s0 s1 s4 s1 s3 s0 s0 s4 s3 s2 s0 What will be the state after reading the following input: daa?
s1
3
8b9743bf-e7d7-4246-bda1-c33a8f29614a
1e7b2c0b-cd8c-4151-b5d4-22fb574483b7
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefgh", "accepting_states": ["s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s4","s2":"s3","s3":"s4","s4":"s1"},"b":{"s0":"s0","s1":"s4","s2":"s4","s3":"s0","s4":"s3"},"c":{"s0":"s2","s1":"s0","s2":"s4","s3":"s1","s4":"s0"},"d":{"s0":"s3","s1":"s1","s2":"s4","s3":"s1","s4":"s0"},"e":{"s0":"s4","s1":"s2","s2":"s2","s3":"s4","s4":"s4"},"f":{"s0":"s3","s1":"s0","s2":"s4","s3":"s2","s4":"s3"},"g":{"s0":"s1","s1":"s1","s2":"s0","s3":"s0","s4":"s2"},"h":{"s0":"s2","s1":"s3","s2":"s3","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h s0 s4 s0 s2 s3 s4 s3 s1 s2 s1 s4 s4 s0 s1 s2 s0 s1 s3 s2 s3 s4 s4 s4 s2 s4 s0 s3 s3 s4 s0 s1 s1 s4 s2 s0 s1 s4 s1 s3 s0 s0 s4 s3 s2 s0 What will be the state after reading the following input: daah?
s3
4
d71463a0-4ef2-41f2-b20e-f584e265a5c9
1e7b2c0b-cd8c-4151-b5d4-22fb574483b7
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefgh", "accepting_states": ["s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s4","s2":"s3","s3":"s4","s4":"s1"},"b":{"s0":"s0","s1":"s4","s2":"s4","s3":"s0","s4":"s3"},"c":{"s0":"s2","s1":"s0","s2":"s4","s3":"s1","s4":"s0"},"d":{"s0":"s3","s1":"s1","s2":"s4","s3":"s1","s4":"s0"},"e":{"s0":"s4","s1":"s2","s2":"s2","s3":"s4","s4":"s4"},"f":{"s0":"s3","s1":"s0","s2":"s4","s3":"s2","s4":"s3"},"g":{"s0":"s1","s1":"s1","s2":"s0","s3":"s0","s4":"s2"},"h":{"s0":"s2","s1":"s3","s2":"s3","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h s0 s4 s0 s2 s3 s4 s3 s1 s2 s1 s4 s4 s0 s1 s2 s0 s1 s3 s2 s3 s4 s4 s4 s2 s4 s0 s3 s3 s4 s0 s1 s1 s4 s2 s0 s1 s4 s1 s3 s0 s0 s4 s3 s2 s0 What will be the state after reading the following input: daaha?
s4
5
29607103-6506-4314-9eb7-235938333fd5
1e7b2c0b-cd8c-4151-b5d4-22fb574483b7
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefgh", "accepting_states": ["s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s4","s2":"s3","s3":"s4","s4":"s1"},"b":{"s0":"s0","s1":"s4","s2":"s4","s3":"s0","s4":"s3"},"c":{"s0":"s2","s1":"s0","s2":"s4","s3":"s1","s4":"s0"},"d":{"s0":"s3","s1":"s1","s2":"s4","s3":"s1","s4":"s0"},"e":{"s0":"s4","s1":"s2","s2":"s2","s3":"s4","s4":"s4"},"f":{"s0":"s3","s1":"s0","s2":"s4","s3":"s2","s4":"s3"},"g":{"s0":"s1","s1":"s1","s2":"s0","s3":"s0","s4":"s2"},"h":{"s0":"s2","s1":"s3","s2":"s3","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h s0 s4 s0 s2 s3 s4 s3 s1 s2 s1 s4 s4 s0 s1 s2 s0 s1 s3 s2 s3 s4 s4 s4 s2 s4 s0 s3 s3 s4 s0 s1 s1 s4 s2 s0 s1 s4 s1 s3 s0 s0 s4 s3 s2 s0 What will be the state after reading the following input: daahah?
s0
6
afa8352b-2cd3-4cf6-bc6d-989b611fef98
1e7b2c0b-cd8c-4151-b5d4-22fb574483b7
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefgh", "accepting_states": ["s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s4","s2":"s3","s3":"s4","s4":"s1"},"b":{"s0":"s0","s1":"s4","s2":"s4","s3":"s0","s4":"s3"},"c":{"s0":"s2","s1":"s0","s2":"s4","s3":"s1","s4":"s0"},"d":{"s0":"s3","s1":"s1","s2":"s4","s3":"s1","s4":"s0"},"e":{"s0":"s4","s1":"s2","s2":"s2","s3":"s4","s4":"s4"},"f":{"s0":"s3","s1":"s0","s2":"s4","s3":"s2","s4":"s3"},"g":{"s0":"s1","s1":"s1","s2":"s0","s3":"s0","s4":"s2"},"h":{"s0":"s2","s1":"s3","s2":"s3","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h s0 s4 s0 s2 s3 s4 s3 s1 s2 s1 s4 s4 s0 s1 s2 s0 s1 s3 s2 s3 s4 s4 s4 s2 s4 s0 s3 s3 s4 s0 s1 s1 s4 s2 s0 s1 s4 s1 s3 s0 s0 s4 s3 s2 s0 What will be the state after reading the following input: daahahc?
s2
7
e7afd41a-f3bd-46f3-b476-9ed64d5d68b0
1e7b2c0b-cd8c-4151-b5d4-22fb574483b7
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefgh", "accepting_states": ["s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s4","s2":"s3","s3":"s4","s4":"s1"},"b":{"s0":"s0","s1":"s4","s2":"s4","s3":"s0","s4":"s3"},"c":{"s0":"s2","s1":"s0","s2":"s4","s3":"s1","s4":"s0"},"d":{"s0":"s3","s1":"s1","s2":"s4","s3":"s1","s4":"s0"},"e":{"s0":"s4","s1":"s2","s2":"s2","s3":"s4","s4":"s4"},"f":{"s0":"s3","s1":"s0","s2":"s4","s3":"s2","s4":"s3"},"g":{"s0":"s1","s1":"s1","s2":"s0","s3":"s0","s4":"s2"},"h":{"s0":"s2","s1":"s3","s2":"s3","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h s0 s4 s0 s2 s3 s4 s3 s1 s2 s1 s4 s4 s0 s1 s2 s0 s1 s3 s2 s3 s4 s4 s4 s2 s4 s0 s3 s3 s4 s0 s1 s1 s4 s2 s0 s1 s4 s1 s3 s0 s0 s4 s3 s2 s0 What will be the state after reading the following input: daahahca?
s3
8
b692c2a8-fd1e-4faa-9e5d-29886561b2c9
1e7b2c0b-cd8c-4151-b5d4-22fb574483b7
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefgh", "accepting_states": ["s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s4","s2":"s3","s3":"s4","s4":"s1"},"b":{"s0":"s0","s1":"s4","s2":"s4","s3":"s0","s4":"s3"},"c":{"s0":"s2","s1":"s0","s2":"s4","s3":"s1","s4":"s0"},"d":{"s0":"s3","s1":"s1","s2":"s4","s3":"s1","s4":"s0"},"e":{"s0":"s4","s1":"s2","s2":"s2","s3":"s4","s4":"s4"},"f":{"s0":"s3","s1":"s0","s2":"s4","s3":"s2","s4":"s3"},"g":{"s0":"s1","s1":"s1","s2":"s0","s3":"s0","s4":"s2"},"h":{"s0":"s2","s1":"s3","s2":"s3","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h s0 s4 s0 s2 s3 s4 s3 s1 s2 s1 s4 s4 s0 s1 s2 s0 s1 s3 s2 s3 s4 s4 s4 s2 s4 s0 s3 s3 s4 s0 s1 s1 s4 s2 s0 s1 s4 s1 s3 s0 s0 s4 s3 s2 s0 What will be the state after reading the following input: daahahcad?
s1
9
b83ca1a8-7220-4b0a-978d-cc95a09b5048
1e7b2c0b-cd8c-4151-b5d4-22fb574483b7
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefgh", "accepting_states": ["s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s4","s2":"s3","s3":"s4","s4":"s1"},"b":{"s0":"s0","s1":"s4","s2":"s4","s3":"s0","s4":"s3"},"c":{"s0":"s2","s1":"s0","s2":"s4","s3":"s1","s4":"s0"},"d":{"s0":"s3","s1":"s1","s2":"s4","s3":"s1","s4":"s0"},"e":{"s0":"s4","s1":"s2","s2":"s2","s3":"s4","s4":"s4"},"f":{"s0":"s3","s1":"s0","s2":"s4","s3":"s2","s4":"s3"},"g":{"s0":"s1","s1":"s1","s2":"s0","s3":"s0","s4":"s2"},"h":{"s0":"s2","s1":"s3","s2":"s3","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h s0 s4 s0 s2 s3 s4 s3 s1 s2 s1 s4 s4 s0 s1 s2 s0 s1 s3 s2 s3 s4 s4 s4 s2 s4 s0 s3 s3 s4 s0 s1 s1 s4 s2 s0 s1 s4 s1 s3 s0 s0 s4 s3 s2 s0 What will be the state after reading the following input: daahahcada?
s4
10
30374783-4896-41a5-9c19-1b7b3fd2fed1
1e7b2c0b-cd8c-4151-b5d4-22fb574483b7
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefgh", "accepting_states": ["s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s4","s2":"s3","s3":"s4","s4":"s1"},"b":{"s0":"s0","s1":"s4","s2":"s4","s3":"s0","s4":"s3"},"c":{"s0":"s2","s1":"s0","s2":"s4","s3":"s1","s4":"s0"},"d":{"s0":"s3","s1":"s1","s2":"s4","s3":"s1","s4":"s0"},"e":{"s0":"s4","s1":"s2","s2":"s2","s3":"s4","s4":"s4"},"f":{"s0":"s3","s1":"s0","s2":"s4","s3":"s2","s4":"s3"},"g":{"s0":"s1","s1":"s1","s2":"s0","s3":"s0","s4":"s2"},"h":{"s0":"s2","s1":"s3","s2":"s3","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h s0 s4 s0 s2 s3 s4 s3 s1 s2 s1 s4 s4 s0 s1 s2 s0 s1 s3 s2 s3 s4 s4 s4 s2 s4 s0 s3 s3 s4 s0 s1 s1 s4 s2 s0 s1 s4 s1 s3 s0 s0 s4 s3 s2 s0 What will be the state after reading the following input: daahahcadag?
s2
11
4914313d-9a98-44c8-8777-f1cc125dd575
1e7b2c0b-cd8c-4151-b5d4-22fb574483b7
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefgh", "accepting_states": ["s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s4","s2":"s3","s3":"s4","s4":"s1"},"b":{"s0":"s0","s1":"s4","s2":"s4","s3":"s0","s4":"s3"},"c":{"s0":"s2","s1":"s0","s2":"s4","s3":"s1","s4":"s0"},"d":{"s0":"s3","s1":"s1","s2":"s4","s3":"s1","s4":"s0"},"e":{"s0":"s4","s1":"s2","s2":"s2","s3":"s4","s4":"s4"},"f":{"s0":"s3","s1":"s0","s2":"s4","s3":"s2","s4":"s3"},"g":{"s0":"s1","s1":"s1","s2":"s0","s3":"s0","s4":"s2"},"h":{"s0":"s2","s1":"s3","s2":"s3","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h s0 s4 s0 s2 s3 s4 s3 s1 s2 s1 s4 s4 s0 s1 s2 s0 s1 s3 s2 s3 s4 s4 s4 s2 s4 s0 s3 s3 s4 s0 s1 s1 s4 s2 s0 s1 s4 s1 s3 s0 s0 s4 s3 s2 s0 What will be the state after reading the following input: daahahcadagc?
s4
12
317e77bc-f095-4534-8c02-3de589db892d
1e7b2c0b-cd8c-4151-b5d4-22fb574483b7
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefgh", "accepting_states": ["s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s4","s2":"s3","s3":"s4","s4":"s1"},"b":{"s0":"s0","s1":"s4","s2":"s4","s3":"s0","s4":"s3"},"c":{"s0":"s2","s1":"s0","s2":"s4","s3":"s1","s4":"s0"},"d":{"s0":"s3","s1":"s1","s2":"s4","s3":"s1","s4":"s0"},"e":{"s0":"s4","s1":"s2","s2":"s2","s3":"s4","s4":"s4"},"f":{"s0":"s3","s1":"s0","s2":"s4","s3":"s2","s4":"s3"},"g":{"s0":"s1","s1":"s1","s2":"s0","s3":"s0","s4":"s2"},"h":{"s0":"s2","s1":"s3","s2":"s3","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h s0 s4 s0 s2 s3 s4 s3 s1 s2 s1 s4 s4 s0 s1 s2 s0 s1 s3 s2 s3 s4 s4 s4 s2 s4 s0 s3 s3 s4 s0 s1 s1 s4 s2 s0 s1 s4 s1 s3 s0 s0 s4 s3 s2 s0 What will be the state after reading the following input: daahahcadagca?
s1
13
401f9887-7c8e-42bd-9a0a-cb291c616384
1e7b2c0b-cd8c-4151-b5d4-22fb574483b7
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefgh", "accepting_states": ["s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s4","s2":"s3","s3":"s4","s4":"s1"},"b":{"s0":"s0","s1":"s4","s2":"s4","s3":"s0","s4":"s3"},"c":{"s0":"s2","s1":"s0","s2":"s4","s3":"s1","s4":"s0"},"d":{"s0":"s3","s1":"s1","s2":"s4","s3":"s1","s4":"s0"},"e":{"s0":"s4","s1":"s2","s2":"s2","s3":"s4","s4":"s4"},"f":{"s0":"s3","s1":"s0","s2":"s4","s3":"s2","s4":"s3"},"g":{"s0":"s1","s1":"s1","s2":"s0","s3":"s0","s4":"s2"},"h":{"s0":"s2","s1":"s3","s2":"s3","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h s0 s4 s0 s2 s3 s4 s3 s1 s2 s1 s4 s4 s0 s1 s2 s0 s1 s3 s2 s3 s4 s4 s4 s2 s4 s0 s3 s3 s4 s0 s1 s1 s4 s2 s0 s1 s4 s1 s3 s0 s0 s4 s3 s2 s0 What will be the state after reading the following input: daahahcadagcag?
s1
14
8bc07c4b-4efd-489e-88ee-bf7f253ec18a
1e7b2c0b-cd8c-4151-b5d4-22fb574483b7
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefgh", "accepting_states": ["s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s4","s2":"s3","s3":"s4","s4":"s1"},"b":{"s0":"s0","s1":"s4","s2":"s4","s3":"s0","s4":"s3"},"c":{"s0":"s2","s1":"s0","s2":"s4","s3":"s1","s4":"s0"},"d":{"s0":"s3","s1":"s1","s2":"s4","s3":"s1","s4":"s0"},"e":{"s0":"s4","s1":"s2","s2":"s2","s3":"s4","s4":"s4"},"f":{"s0":"s3","s1":"s0","s2":"s4","s3":"s2","s4":"s3"},"g":{"s0":"s1","s1":"s1","s2":"s0","s3":"s0","s4":"s2"},"h":{"s0":"s2","s1":"s3","s2":"s3","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h s0 s4 s0 s2 s3 s4 s3 s1 s2 s1 s4 s4 s0 s1 s2 s0 s1 s3 s2 s3 s4 s4 s4 s2 s4 s0 s3 s3 s4 s0 s1 s1 s4 s2 s0 s1 s4 s1 s3 s0 s0 s4 s3 s2 s0 What will be the state after reading the following input: daahahcadagcagd?
s1
15
3fae9858-daf3-44a5-9151-ddcb099e3efb
1e7b2c0b-cd8c-4151-b5d4-22fb574483b7
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefgh", "accepting_states": ["s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s4","s2":"s3","s3":"s4","s4":"s1"},"b":{"s0":"s0","s1":"s4","s2":"s4","s3":"s0","s4":"s3"},"c":{"s0":"s2","s1":"s0","s2":"s4","s3":"s1","s4":"s0"},"d":{"s0":"s3","s1":"s1","s2":"s4","s3":"s1","s4":"s0"},"e":{"s0":"s4","s1":"s2","s2":"s2","s3":"s4","s4":"s4"},"f":{"s0":"s3","s1":"s0","s2":"s4","s3":"s2","s4":"s3"},"g":{"s0":"s1","s1":"s1","s2":"s0","s3":"s0","s4":"s2"},"h":{"s0":"s2","s1":"s3","s2":"s3","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h s0 s4 s0 s2 s3 s4 s3 s1 s2 s1 s4 s4 s0 s1 s2 s0 s1 s3 s2 s3 s4 s4 s4 s2 s4 s0 s3 s3 s4 s0 s1 s1 s4 s2 s0 s1 s4 s1 s3 s0 s0 s4 s3 s2 s0 What will be the state after reading the following input: daahahcadagcagdg?
s1
16
50aa4337-9034-4d72-b513-bc1565f2691b
1e7b2c0b-cd8c-4151-b5d4-22fb574483b7
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefgh", "accepting_states": ["s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s4","s2":"s3","s3":"s4","s4":"s1"},"b":{"s0":"s0","s1":"s4","s2":"s4","s3":"s0","s4":"s3"},"c":{"s0":"s2","s1":"s0","s2":"s4","s3":"s1","s4":"s0"},"d":{"s0":"s3","s1":"s1","s2":"s4","s3":"s1","s4":"s0"},"e":{"s0":"s4","s1":"s2","s2":"s2","s3":"s4","s4":"s4"},"f":{"s0":"s3","s1":"s0","s2":"s4","s3":"s2","s4":"s3"},"g":{"s0":"s1","s1":"s1","s2":"s0","s3":"s0","s4":"s2"},"h":{"s0":"s2","s1":"s3","s2":"s3","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h s0 s4 s0 s2 s3 s4 s3 s1 s2 s1 s4 s4 s0 s1 s2 s0 s1 s3 s2 s3 s4 s4 s4 s2 s4 s0 s3 s3 s4 s0 s1 s1 s4 s2 s0 s1 s4 s1 s3 s0 s0 s4 s3 s2 s0 What will be the state after reading the following input: daahahcadagcagdgg?
s1
17
b0b489b2-d726-49fd-ab4c-145e4a49b01a
1e7b2c0b-cd8c-4151-b5d4-22fb574483b7
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefgh", "accepting_states": ["s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s4","s2":"s3","s3":"s4","s4":"s1"},"b":{"s0":"s0","s1":"s4","s2":"s4","s3":"s0","s4":"s3"},"c":{"s0":"s2","s1":"s0","s2":"s4","s3":"s1","s4":"s0"},"d":{"s0":"s3","s1":"s1","s2":"s4","s3":"s1","s4":"s0"},"e":{"s0":"s4","s1":"s2","s2":"s2","s3":"s4","s4":"s4"},"f":{"s0":"s3","s1":"s0","s2":"s4","s3":"s2","s4":"s3"},"g":{"s0":"s1","s1":"s1","s2":"s0","s3":"s0","s4":"s2"},"h":{"s0":"s2","s1":"s3","s2":"s3","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h s0 s4 s0 s2 s3 s4 s3 s1 s2 s1 s4 s4 s0 s1 s2 s0 s1 s3 s2 s3 s4 s4 s4 s2 s4 s0 s3 s3 s4 s0 s1 s1 s4 s2 s0 s1 s4 s1 s3 s0 s0 s4 s3 s2 s0 What will be the state after reading the following input: daahahcadagcagdggg?
s1
18
85f91f2e-387b-4b6e-88e9-9caeb92d3420
1e7b2c0b-cd8c-4151-b5d4-22fb574483b7
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefgh", "accepting_states": ["s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s4","s2":"s3","s3":"s4","s4":"s1"},"b":{"s0":"s0","s1":"s4","s2":"s4","s3":"s0","s4":"s3"},"c":{"s0":"s2","s1":"s0","s2":"s4","s3":"s1","s4":"s0"},"d":{"s0":"s3","s1":"s1","s2":"s4","s3":"s1","s4":"s0"},"e":{"s0":"s4","s1":"s2","s2":"s2","s3":"s4","s4":"s4"},"f":{"s0":"s3","s1":"s0","s2":"s4","s3":"s2","s4":"s3"},"g":{"s0":"s1","s1":"s1","s2":"s0","s3":"s0","s4":"s2"},"h":{"s0":"s2","s1":"s3","s2":"s3","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h s0 s4 s0 s2 s3 s4 s3 s1 s2 s1 s4 s4 s0 s1 s2 s0 s1 s3 s2 s3 s4 s4 s4 s2 s4 s0 s3 s3 s4 s0 s1 s1 s4 s2 s0 s1 s4 s1 s3 s0 s0 s4 s3 s2 s0 What will be the state after reading the following input: daahahcadagcagdggge?
s2
19
b4b01f7e-a3f1-4fd5-b222-f2ae195ff8c9
1e7b2c0b-cd8c-4151-b5d4-22fb574483b7
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefgh", "accepting_states": ["s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s4","s2":"s3","s3":"s4","s4":"s1"},"b":{"s0":"s0","s1":"s4","s2":"s4","s3":"s0","s4":"s3"},"c":{"s0":"s2","s1":"s0","s2":"s4","s3":"s1","s4":"s0"},"d":{"s0":"s3","s1":"s1","s2":"s4","s3":"s1","s4":"s0"},"e":{"s0":"s4","s1":"s2","s2":"s2","s3":"s4","s4":"s4"},"f":{"s0":"s3","s1":"s0","s2":"s4","s3":"s2","s4":"s3"},"g":{"s0":"s1","s1":"s1","s2":"s0","s3":"s0","s4":"s2"},"h":{"s0":"s2","s1":"s3","s2":"s3","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h s0 s4 s0 s2 s3 s4 s3 s1 s2 s1 s4 s4 s0 s1 s2 s0 s1 s3 s2 s3 s4 s4 s4 s2 s4 s0 s3 s3 s4 s0 s1 s1 s4 s2 s0 s1 s4 s1 s3 s0 s0 s4 s3 s2 s0 What will be the state after reading the following input: daahahcadagcagdgggeg?
s0
20
11273bf4-2fd2-49c3-8399-ae00495f834f
1e7b2c0b-cd8c-4151-b5d4-22fb574483b7
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefgh", "accepting_states": ["s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s4","s2":"s3","s3":"s4","s4":"s1"},"b":{"s0":"s0","s1":"s4","s2":"s4","s3":"s0","s4":"s3"},"c":{"s0":"s2","s1":"s0","s2":"s4","s3":"s1","s4":"s0"},"d":{"s0":"s3","s1":"s1","s2":"s4","s3":"s1","s4":"s0"},"e":{"s0":"s4","s1":"s2","s2":"s2","s3":"s4","s4":"s4"},"f":{"s0":"s3","s1":"s0","s2":"s4","s3":"s2","s4":"s3"},"g":{"s0":"s1","s1":"s1","s2":"s0","s3":"s0","s4":"s2"},"h":{"s0":"s2","s1":"s3","s2":"s3","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h s0 s4 s0 s2 s3 s4 s3 s1 s2 s1 s4 s4 s0 s1 s2 s0 s1 s3 s2 s3 s4 s4 s4 s2 s4 s0 s3 s3 s4 s0 s1 s1 s4 s2 s0 s1 s4 s1 s3 s0 s0 s4 s3 s2 s0 What will be the state after reading the following input: daahahcadagcagdgggegc?
s2
21
882fc0df-cdef-457a-81b1-f4d084b2c418
1e7b2c0b-cd8c-4151-b5d4-22fb574483b7
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefgh", "accepting_states": ["s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s4","s2":"s3","s3":"s4","s4":"s1"},"b":{"s0":"s0","s1":"s4","s2":"s4","s3":"s0","s4":"s3"},"c":{"s0":"s2","s1":"s0","s2":"s4","s3":"s1","s4":"s0"},"d":{"s0":"s3","s1":"s1","s2":"s4","s3":"s1","s4":"s0"},"e":{"s0":"s4","s1":"s2","s2":"s2","s3":"s4","s4":"s4"},"f":{"s0":"s3","s1":"s0","s2":"s4","s3":"s2","s4":"s3"},"g":{"s0":"s1","s1":"s1","s2":"s0","s3":"s0","s4":"s2"},"h":{"s0":"s2","s1":"s3","s2":"s3","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h s0 s4 s0 s2 s3 s4 s3 s1 s2 s1 s4 s4 s0 s1 s2 s0 s1 s3 s2 s3 s4 s4 s4 s2 s4 s0 s3 s3 s4 s0 s1 s1 s4 s2 s0 s1 s4 s1 s3 s0 s0 s4 s3 s2 s0 What will be the state after reading the following input: daahahcadagcagdgggegcg?
s0
22
1cb3276f-3719-46a7-829a-67480f2ebcbf
1e7b2c0b-cd8c-4151-b5d4-22fb574483b7
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefgh", "accepting_states": ["s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s4","s2":"s3","s3":"s4","s4":"s1"},"b":{"s0":"s0","s1":"s4","s2":"s4","s3":"s0","s4":"s3"},"c":{"s0":"s2","s1":"s0","s2":"s4","s3":"s1","s4":"s0"},"d":{"s0":"s3","s1":"s1","s2":"s4","s3":"s1","s4":"s0"},"e":{"s0":"s4","s1":"s2","s2":"s2","s3":"s4","s4":"s4"},"f":{"s0":"s3","s1":"s0","s2":"s4","s3":"s2","s4":"s3"},"g":{"s0":"s1","s1":"s1","s2":"s0","s3":"s0","s4":"s2"},"h":{"s0":"s2","s1":"s3","s2":"s3","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h s0 s4 s0 s2 s3 s4 s3 s1 s2 s1 s4 s4 s0 s1 s2 s0 s1 s3 s2 s3 s4 s4 s4 s2 s4 s0 s3 s3 s4 s0 s1 s1 s4 s2 s0 s1 s4 s1 s3 s0 s0 s4 s3 s2 s0 What will be the state after reading the following input: daahahcadagcagdgggegcgb?
s0
23
f9407596-4d1a-44fe-9e7c-292e26e2fd59
1e7b2c0b-cd8c-4151-b5d4-22fb574483b7
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefgh", "accepting_states": ["s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s4","s2":"s3","s3":"s4","s4":"s1"},"b":{"s0":"s0","s1":"s4","s2":"s4","s3":"s0","s4":"s3"},"c":{"s0":"s2","s1":"s0","s2":"s4","s3":"s1","s4":"s0"},"d":{"s0":"s3","s1":"s1","s2":"s4","s3":"s1","s4":"s0"},"e":{"s0":"s4","s1":"s2","s2":"s2","s3":"s4","s4":"s4"},"f":{"s0":"s3","s1":"s0","s2":"s4","s3":"s2","s4":"s3"},"g":{"s0":"s1","s1":"s1","s2":"s0","s3":"s0","s4":"s2"},"h":{"s0":"s2","s1":"s3","s2":"s3","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h s0 s4 s0 s2 s3 s4 s3 s1 s2 s1 s4 s4 s0 s1 s2 s0 s1 s3 s2 s3 s4 s4 s4 s2 s4 s0 s3 s3 s4 s0 s1 s1 s4 s2 s0 s1 s4 s1 s3 s0 s0 s4 s3 s2 s0 What will be the state after reading the following input: daahahcadagcagdgggegcgbc?
s2
24
b64eae39-cd60-46aa-a036-9ae61aa98c37
1e7b2c0b-cd8c-4151-b5d4-22fb574483b7
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefgh", "accepting_states": ["s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s4","s2":"s3","s3":"s4","s4":"s1"},"b":{"s0":"s0","s1":"s4","s2":"s4","s3":"s0","s4":"s3"},"c":{"s0":"s2","s1":"s0","s2":"s4","s3":"s1","s4":"s0"},"d":{"s0":"s3","s1":"s1","s2":"s4","s3":"s1","s4":"s0"},"e":{"s0":"s4","s1":"s2","s2":"s2","s3":"s4","s4":"s4"},"f":{"s0":"s3","s1":"s0","s2":"s4","s3":"s2","s4":"s3"},"g":{"s0":"s1","s1":"s1","s2":"s0","s3":"s0","s4":"s2"},"h":{"s0":"s2","s1":"s3","s2":"s3","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h s0 s4 s0 s2 s3 s4 s3 s1 s2 s1 s4 s4 s0 s1 s2 s0 s1 s3 s2 s3 s4 s4 s4 s2 s4 s0 s3 s3 s4 s0 s1 s1 s4 s2 s0 s1 s4 s1 s3 s0 s0 s4 s3 s2 s0 What will be the state after reading the following input: daahahcadagcagdgggegcgbce?
s2
25
8ecbbb08-f710-40ad-93f9-1f8a9b183ea1
1e7b2c0b-cd8c-4151-b5d4-22fb574483b7
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefgh", "accepting_states": ["s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s4","s2":"s3","s3":"s4","s4":"s1"},"b":{"s0":"s0","s1":"s4","s2":"s4","s3":"s0","s4":"s3"},"c":{"s0":"s2","s1":"s0","s2":"s4","s3":"s1","s4":"s0"},"d":{"s0":"s3","s1":"s1","s2":"s4","s3":"s1","s4":"s0"},"e":{"s0":"s4","s1":"s2","s2":"s2","s3":"s4","s4":"s4"},"f":{"s0":"s3","s1":"s0","s2":"s4","s3":"s2","s4":"s3"},"g":{"s0":"s1","s1":"s1","s2":"s0","s3":"s0","s4":"s2"},"h":{"s0":"s2","s1":"s3","s2":"s3","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h s0 s4 s0 s2 s3 s4 s3 s1 s2 s1 s4 s4 s0 s1 s2 s0 s1 s3 s2 s3 s4 s4 s4 s2 s4 s0 s3 s3 s4 s0 s1 s1 s4 s2 s0 s1 s4 s1 s3 s0 s0 s4 s3 s2 s0 What will be the state after reading the following input: daahahcadagcagdgggegcgbceh?
s3
26
5cec3f6d-ca6b-44c5-b2cb-c2a51c3ad01c
1e7b2c0b-cd8c-4151-b5d4-22fb574483b7
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefgh", "accepting_states": ["s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s4","s2":"s3","s3":"s4","s4":"s1"},"b":{"s0":"s0","s1":"s4","s2":"s4","s3":"s0","s4":"s3"},"c":{"s0":"s2","s1":"s0","s2":"s4","s3":"s1","s4":"s0"},"d":{"s0":"s3","s1":"s1","s2":"s4","s3":"s1","s4":"s0"},"e":{"s0":"s4","s1":"s2","s2":"s2","s3":"s4","s4":"s4"},"f":{"s0":"s3","s1":"s0","s2":"s4","s3":"s2","s4":"s3"},"g":{"s0":"s1","s1":"s1","s2":"s0","s3":"s0","s4":"s2"},"h":{"s0":"s2","s1":"s3","s2":"s3","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h s0 s4 s0 s2 s3 s4 s3 s1 s2 s1 s4 s4 s0 s1 s2 s0 s1 s3 s2 s3 s4 s4 s4 s2 s4 s0 s3 s3 s4 s0 s1 s1 s4 s2 s0 s1 s4 s1 s3 s0 s0 s4 s3 s2 s0 What will be the state after reading the following input: daahahcadagcagdgggegcgbcehh?
s1
27
04d0fc53-385e-420e-b65b-eb96dc8927ab
1e7b2c0b-cd8c-4151-b5d4-22fb574483b7
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefgh", "accepting_states": ["s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s4","s2":"s3","s3":"s4","s4":"s1"},"b":{"s0":"s0","s1":"s4","s2":"s4","s3":"s0","s4":"s3"},"c":{"s0":"s2","s1":"s0","s2":"s4","s3":"s1","s4":"s0"},"d":{"s0":"s3","s1":"s1","s2":"s4","s3":"s1","s4":"s0"},"e":{"s0":"s4","s1":"s2","s2":"s2","s3":"s4","s4":"s4"},"f":{"s0":"s3","s1":"s0","s2":"s4","s3":"s2","s4":"s3"},"g":{"s0":"s1","s1":"s1","s2":"s0","s3":"s0","s4":"s2"},"h":{"s0":"s2","s1":"s3","s2":"s3","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h s0 s4 s0 s2 s3 s4 s3 s1 s2 s1 s4 s4 s0 s1 s2 s0 s1 s3 s2 s3 s4 s4 s4 s2 s4 s0 s3 s3 s4 s0 s1 s1 s4 s2 s0 s1 s4 s1 s3 s0 s0 s4 s3 s2 s0 What will be the state after reading the following input: daahahcadagcagdgggegcgbcehhb?
s4
28
e2ded6ee-a3dd-4458-b5e3-51eec103d4ec
1e7b2c0b-cd8c-4151-b5d4-22fb574483b7
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefgh", "accepting_states": ["s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s4","s2":"s3","s3":"s4","s4":"s1"},"b":{"s0":"s0","s1":"s4","s2":"s4","s3":"s0","s4":"s3"},"c":{"s0":"s2","s1":"s0","s2":"s4","s3":"s1","s4":"s0"},"d":{"s0":"s3","s1":"s1","s2":"s4","s3":"s1","s4":"s0"},"e":{"s0":"s4","s1":"s2","s2":"s2","s3":"s4","s4":"s4"},"f":{"s0":"s3","s1":"s0","s2":"s4","s3":"s2","s4":"s3"},"g":{"s0":"s1","s1":"s1","s2":"s0","s3":"s0","s4":"s2"},"h":{"s0":"s2","s1":"s3","s2":"s3","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h s0 s4 s0 s2 s3 s4 s3 s1 s2 s1 s4 s4 s0 s1 s2 s0 s1 s3 s2 s3 s4 s4 s4 s2 s4 s0 s3 s3 s4 s0 s1 s1 s4 s2 s0 s1 s4 s1 s3 s0 s0 s4 s3 s2 s0 What will be the state after reading the following input: daahahcadagcagdgggegcgbcehhbg?
s2
29
cba6ab3e-b9c5-4c18-8b0e-56e9250f1ad6
d9dfd8de-d75b-461c-8f4d-6804e5779d40
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s2", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"b":{"s0":"s2","s1":"s4","s2":"s0","s3":"s1","s4":"s0"},"c":{"s0":"s1","s1":"s1","s2":"s2","s3":"s2","s4":"s1"},"d":{"s0":"s4","s1":"s4","s2":"s0","s3":"s0","s4":"s1"},"e":{"s0":"s1","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"f":{"s0":"s4","s1":"s1","s2":"s4","s3":"s3","s4":"s0"},"g":{"s0":"s2","s1":"s0","s2":"s0","s3":"s2","s4":"s3"},"h":{"s0":"s3","s1":"s0","s2":"s4","s3":"s1","s4":"s3"},"i":{"s0":"s2","s1":"s0","s2":"s2","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h i s0 s4 s2 s1 s4 s1 s4 s2 s3 s2 s1 s3 s4 s1 s4 s3 s1 s0 s0 s0 s2 s4 s0 s2 s0 s4 s4 s0 s4 s2 s3 s2 s1 s2 s0 s2 s3 s2 s1 s1 s4 s4 s0 s1 s1 s4 s0 s3 s3 s0 What will be the state after reading the following input: i?
s2
1
cbf7fba5-4687-4c09-a3ca-ef2c09776f48
d9dfd8de-d75b-461c-8f4d-6804e5779d40
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s2", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"b":{"s0":"s2","s1":"s4","s2":"s0","s3":"s1","s4":"s0"},"c":{"s0":"s1","s1":"s1","s2":"s2","s3":"s2","s4":"s1"},"d":{"s0":"s4","s1":"s4","s2":"s0","s3":"s0","s4":"s1"},"e":{"s0":"s1","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"f":{"s0":"s4","s1":"s1","s2":"s4","s3":"s3","s4":"s0"},"g":{"s0":"s2","s1":"s0","s2":"s0","s3":"s2","s4":"s3"},"h":{"s0":"s3","s1":"s0","s2":"s4","s3":"s1","s4":"s3"},"i":{"s0":"s2","s1":"s0","s2":"s2","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h i s0 s4 s2 s1 s4 s1 s4 s2 s3 s2 s1 s3 s4 s1 s4 s3 s1 s0 s0 s0 s2 s4 s0 s2 s0 s4 s4 s0 s4 s2 s3 s2 s1 s2 s0 s2 s3 s2 s1 s1 s4 s4 s0 s1 s1 s4 s0 s3 s3 s0 What will be the state after reading the following input: ih?
s4
2
be68cdfc-842f-404f-8953-f2ab0480d30c
d9dfd8de-d75b-461c-8f4d-6804e5779d40
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s2", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"b":{"s0":"s2","s1":"s4","s2":"s0","s3":"s1","s4":"s0"},"c":{"s0":"s1","s1":"s1","s2":"s2","s3":"s2","s4":"s1"},"d":{"s0":"s4","s1":"s4","s2":"s0","s3":"s0","s4":"s1"},"e":{"s0":"s1","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"f":{"s0":"s4","s1":"s1","s2":"s4","s3":"s3","s4":"s0"},"g":{"s0":"s2","s1":"s0","s2":"s0","s3":"s2","s4":"s3"},"h":{"s0":"s3","s1":"s0","s2":"s4","s3":"s1","s4":"s3"},"i":{"s0":"s2","s1":"s0","s2":"s2","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h i s0 s4 s2 s1 s4 s1 s4 s2 s3 s2 s1 s3 s4 s1 s4 s3 s1 s0 s0 s0 s2 s4 s0 s2 s0 s4 s4 s0 s4 s2 s3 s2 s1 s2 s0 s2 s3 s2 s1 s1 s4 s4 s0 s1 s1 s4 s0 s3 s3 s0 What will be the state after reading the following input: iha?
s4
3
99b4fcda-9bff-43a4-8ba2-4b4bbe9d9dfd
d9dfd8de-d75b-461c-8f4d-6804e5779d40
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s2", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"b":{"s0":"s2","s1":"s4","s2":"s0","s3":"s1","s4":"s0"},"c":{"s0":"s1","s1":"s1","s2":"s2","s3":"s2","s4":"s1"},"d":{"s0":"s4","s1":"s4","s2":"s0","s3":"s0","s4":"s1"},"e":{"s0":"s1","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"f":{"s0":"s4","s1":"s1","s2":"s4","s3":"s3","s4":"s0"},"g":{"s0":"s2","s1":"s0","s2":"s0","s3":"s2","s4":"s3"},"h":{"s0":"s3","s1":"s0","s2":"s4","s3":"s1","s4":"s3"},"i":{"s0":"s2","s1":"s0","s2":"s2","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h i s0 s4 s2 s1 s4 s1 s4 s2 s3 s2 s1 s3 s4 s1 s4 s3 s1 s0 s0 s0 s2 s4 s0 s2 s0 s4 s4 s0 s4 s2 s3 s2 s1 s2 s0 s2 s3 s2 s1 s1 s4 s4 s0 s1 s1 s4 s0 s3 s3 s0 What will be the state after reading the following input: ihad?
s1
4
d9b91ddf-04cc-4cb7-9e7e-02c9d9ac1479
d9dfd8de-d75b-461c-8f4d-6804e5779d40
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s2", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"b":{"s0":"s2","s1":"s4","s2":"s0","s3":"s1","s4":"s0"},"c":{"s0":"s1","s1":"s1","s2":"s2","s3":"s2","s4":"s1"},"d":{"s0":"s4","s1":"s4","s2":"s0","s3":"s0","s4":"s1"},"e":{"s0":"s1","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"f":{"s0":"s4","s1":"s1","s2":"s4","s3":"s3","s4":"s0"},"g":{"s0":"s2","s1":"s0","s2":"s0","s3":"s2","s4":"s3"},"h":{"s0":"s3","s1":"s0","s2":"s4","s3":"s1","s4":"s3"},"i":{"s0":"s2","s1":"s0","s2":"s2","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h i s0 s4 s2 s1 s4 s1 s4 s2 s3 s2 s1 s3 s4 s1 s4 s3 s1 s0 s0 s0 s2 s4 s0 s2 s0 s4 s4 s0 s4 s2 s3 s2 s1 s2 s0 s2 s3 s2 s1 s1 s4 s4 s0 s1 s1 s4 s0 s3 s3 s0 What will be the state after reading the following input: ihadg?
s0
5
562345e5-72a0-4857-875a-56269983b9c9
d9dfd8de-d75b-461c-8f4d-6804e5779d40
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s2", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"b":{"s0":"s2","s1":"s4","s2":"s0","s3":"s1","s4":"s0"},"c":{"s0":"s1","s1":"s1","s2":"s2","s3":"s2","s4":"s1"},"d":{"s0":"s4","s1":"s4","s2":"s0","s3":"s0","s4":"s1"},"e":{"s0":"s1","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"f":{"s0":"s4","s1":"s1","s2":"s4","s3":"s3","s4":"s0"},"g":{"s0":"s2","s1":"s0","s2":"s0","s3":"s2","s4":"s3"},"h":{"s0":"s3","s1":"s0","s2":"s4","s3":"s1","s4":"s3"},"i":{"s0":"s2","s1":"s0","s2":"s2","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h i s0 s4 s2 s1 s4 s1 s4 s2 s3 s2 s1 s3 s4 s1 s4 s3 s1 s0 s0 s0 s2 s4 s0 s2 s0 s4 s4 s0 s4 s2 s3 s2 s1 s2 s0 s2 s3 s2 s1 s1 s4 s4 s0 s1 s1 s4 s0 s3 s3 s0 What will be the state after reading the following input: ihadgc?
s1
6
9d4f26f5-42d4-4374-9ff3-5fa9f0b31c36
d9dfd8de-d75b-461c-8f4d-6804e5779d40
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s2", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"b":{"s0":"s2","s1":"s4","s2":"s0","s3":"s1","s4":"s0"},"c":{"s0":"s1","s1":"s1","s2":"s2","s3":"s2","s4":"s1"},"d":{"s0":"s4","s1":"s4","s2":"s0","s3":"s0","s4":"s1"},"e":{"s0":"s1","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"f":{"s0":"s4","s1":"s1","s2":"s4","s3":"s3","s4":"s0"},"g":{"s0":"s2","s1":"s0","s2":"s0","s3":"s2","s4":"s3"},"h":{"s0":"s3","s1":"s0","s2":"s4","s3":"s1","s4":"s3"},"i":{"s0":"s2","s1":"s0","s2":"s2","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h i s0 s4 s2 s1 s4 s1 s4 s2 s3 s2 s1 s3 s4 s1 s4 s3 s1 s0 s0 s0 s2 s4 s0 s2 s0 s4 s4 s0 s4 s2 s3 s2 s1 s2 s0 s2 s3 s2 s1 s1 s4 s4 s0 s1 s1 s4 s0 s3 s3 s0 What will be the state after reading the following input: ihadgcf?
s1
7
11abe033-6b1c-4be9-a94c-0152d1f8408d
d9dfd8de-d75b-461c-8f4d-6804e5779d40
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s2", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"b":{"s0":"s2","s1":"s4","s2":"s0","s3":"s1","s4":"s0"},"c":{"s0":"s1","s1":"s1","s2":"s2","s3":"s2","s4":"s1"},"d":{"s0":"s4","s1":"s4","s2":"s0","s3":"s0","s4":"s1"},"e":{"s0":"s1","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"f":{"s0":"s4","s1":"s1","s2":"s4","s3":"s3","s4":"s0"},"g":{"s0":"s2","s1":"s0","s2":"s0","s3":"s2","s4":"s3"},"h":{"s0":"s3","s1":"s0","s2":"s4","s3":"s1","s4":"s3"},"i":{"s0":"s2","s1":"s0","s2":"s2","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h i s0 s4 s2 s1 s4 s1 s4 s2 s3 s2 s1 s3 s4 s1 s4 s3 s1 s0 s0 s0 s2 s4 s0 s2 s0 s4 s4 s0 s4 s2 s3 s2 s1 s2 s0 s2 s3 s2 s1 s1 s4 s4 s0 s1 s1 s4 s0 s3 s3 s0 What will be the state after reading the following input: ihadgcff?
s1
8
a858ad15-fca4-4cb6-98a0-14792d5f7381
d9dfd8de-d75b-461c-8f4d-6804e5779d40
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s2", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"b":{"s0":"s2","s1":"s4","s2":"s0","s3":"s1","s4":"s0"},"c":{"s0":"s1","s1":"s1","s2":"s2","s3":"s2","s4":"s1"},"d":{"s0":"s4","s1":"s4","s2":"s0","s3":"s0","s4":"s1"},"e":{"s0":"s1","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"f":{"s0":"s4","s1":"s1","s2":"s4","s3":"s3","s4":"s0"},"g":{"s0":"s2","s1":"s0","s2":"s0","s3":"s2","s4":"s3"},"h":{"s0":"s3","s1":"s0","s2":"s4","s3":"s1","s4":"s3"},"i":{"s0":"s2","s1":"s0","s2":"s2","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h i s0 s4 s2 s1 s4 s1 s4 s2 s3 s2 s1 s3 s4 s1 s4 s3 s1 s0 s0 s0 s2 s4 s0 s2 s0 s4 s4 s0 s4 s2 s3 s2 s1 s2 s0 s2 s3 s2 s1 s1 s4 s4 s0 s1 s1 s4 s0 s3 s3 s0 What will be the state after reading the following input: ihadgcffi?
s0
9
019cadba-39f9-47d6-9dfe-4400f73cf45a
d9dfd8de-d75b-461c-8f4d-6804e5779d40
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s2", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"b":{"s0":"s2","s1":"s4","s2":"s0","s3":"s1","s4":"s0"},"c":{"s0":"s1","s1":"s1","s2":"s2","s3":"s2","s4":"s1"},"d":{"s0":"s4","s1":"s4","s2":"s0","s3":"s0","s4":"s1"},"e":{"s0":"s1","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"f":{"s0":"s4","s1":"s1","s2":"s4","s3":"s3","s4":"s0"},"g":{"s0":"s2","s1":"s0","s2":"s0","s3":"s2","s4":"s3"},"h":{"s0":"s3","s1":"s0","s2":"s4","s3":"s1","s4":"s3"},"i":{"s0":"s2","s1":"s0","s2":"s2","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h i s0 s4 s2 s1 s4 s1 s4 s2 s3 s2 s1 s3 s4 s1 s4 s3 s1 s0 s0 s0 s2 s4 s0 s2 s0 s4 s4 s0 s4 s2 s3 s2 s1 s2 s0 s2 s3 s2 s1 s1 s4 s4 s0 s1 s1 s4 s0 s3 s3 s0 What will be the state after reading the following input: ihadgcffih?
s3
10
db9df697-bb8d-4a8a-a6d9-67e02c668e8e
d9dfd8de-d75b-461c-8f4d-6804e5779d40
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s2", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"b":{"s0":"s2","s1":"s4","s2":"s0","s3":"s1","s4":"s0"},"c":{"s0":"s1","s1":"s1","s2":"s2","s3":"s2","s4":"s1"},"d":{"s0":"s4","s1":"s4","s2":"s0","s3":"s0","s4":"s1"},"e":{"s0":"s1","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"f":{"s0":"s4","s1":"s1","s2":"s4","s3":"s3","s4":"s0"},"g":{"s0":"s2","s1":"s0","s2":"s0","s3":"s2","s4":"s3"},"h":{"s0":"s3","s1":"s0","s2":"s4","s3":"s1","s4":"s3"},"i":{"s0":"s2","s1":"s0","s2":"s2","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h i s0 s4 s2 s1 s4 s1 s4 s2 s3 s2 s1 s3 s4 s1 s4 s3 s1 s0 s0 s0 s2 s4 s0 s2 s0 s4 s4 s0 s4 s2 s3 s2 s1 s2 s0 s2 s3 s2 s1 s1 s4 s4 s0 s1 s1 s4 s0 s3 s3 s0 What will be the state after reading the following input: ihadgcffihf?
s3
11
3f8e777d-fe66-48d9-9074-0b4ca2af02ad
d9dfd8de-d75b-461c-8f4d-6804e5779d40
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s2", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"b":{"s0":"s2","s1":"s4","s2":"s0","s3":"s1","s4":"s0"},"c":{"s0":"s1","s1":"s1","s2":"s2","s3":"s2","s4":"s1"},"d":{"s0":"s4","s1":"s4","s2":"s0","s3":"s0","s4":"s1"},"e":{"s0":"s1","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"f":{"s0":"s4","s1":"s1","s2":"s4","s3":"s3","s4":"s0"},"g":{"s0":"s2","s1":"s0","s2":"s0","s3":"s2","s4":"s3"},"h":{"s0":"s3","s1":"s0","s2":"s4","s3":"s1","s4":"s3"},"i":{"s0":"s2","s1":"s0","s2":"s2","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h i s0 s4 s2 s1 s4 s1 s4 s2 s3 s2 s1 s3 s4 s1 s4 s3 s1 s0 s0 s0 s2 s4 s0 s2 s0 s4 s4 s0 s4 s2 s3 s2 s1 s2 s0 s2 s3 s2 s1 s1 s4 s4 s0 s1 s1 s4 s0 s3 s3 s0 What will be the state after reading the following input: ihadgcffihfi?
s1
12
38022156-3386-4beb-be2e-bf43970e577b
d9dfd8de-d75b-461c-8f4d-6804e5779d40
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s2", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"b":{"s0":"s2","s1":"s4","s2":"s0","s3":"s1","s4":"s0"},"c":{"s0":"s1","s1":"s1","s2":"s2","s3":"s2","s4":"s1"},"d":{"s0":"s4","s1":"s4","s2":"s0","s3":"s0","s4":"s1"},"e":{"s0":"s1","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"f":{"s0":"s4","s1":"s1","s2":"s4","s3":"s3","s4":"s0"},"g":{"s0":"s2","s1":"s0","s2":"s0","s3":"s2","s4":"s3"},"h":{"s0":"s3","s1":"s0","s2":"s4","s3":"s1","s4":"s3"},"i":{"s0":"s2","s1":"s0","s2":"s2","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h i s0 s4 s2 s1 s4 s1 s4 s2 s3 s2 s1 s3 s4 s1 s4 s3 s1 s0 s0 s0 s2 s4 s0 s2 s0 s4 s4 s0 s4 s2 s3 s2 s1 s2 s0 s2 s3 s2 s1 s1 s4 s4 s0 s1 s1 s4 s0 s3 s3 s0 What will be the state after reading the following input: ihadgcffihfic?
s1
13
b04910ac-6c7e-4b82-89e8-6f62fc5798f7
d9dfd8de-d75b-461c-8f4d-6804e5779d40
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s2", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"b":{"s0":"s2","s1":"s4","s2":"s0","s3":"s1","s4":"s0"},"c":{"s0":"s1","s1":"s1","s2":"s2","s3":"s2","s4":"s1"},"d":{"s0":"s4","s1":"s4","s2":"s0","s3":"s0","s4":"s1"},"e":{"s0":"s1","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"f":{"s0":"s4","s1":"s1","s2":"s4","s3":"s3","s4":"s0"},"g":{"s0":"s2","s1":"s0","s2":"s0","s3":"s2","s4":"s3"},"h":{"s0":"s3","s1":"s0","s2":"s4","s3":"s1","s4":"s3"},"i":{"s0":"s2","s1":"s0","s2":"s2","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h i s0 s4 s2 s1 s4 s1 s4 s2 s3 s2 s1 s3 s4 s1 s4 s3 s1 s0 s0 s0 s2 s4 s0 s2 s0 s4 s4 s0 s4 s2 s3 s2 s1 s2 s0 s2 s3 s2 s1 s1 s4 s4 s0 s1 s1 s4 s0 s3 s3 s0 What will be the state after reading the following input: ihadgcffihficc?
s1
14
88a83e2e-6b98-4619-ae51-1632f5633948
d9dfd8de-d75b-461c-8f4d-6804e5779d40
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s2", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"b":{"s0":"s2","s1":"s4","s2":"s0","s3":"s1","s4":"s0"},"c":{"s0":"s1","s1":"s1","s2":"s2","s3":"s2","s4":"s1"},"d":{"s0":"s4","s1":"s4","s2":"s0","s3":"s0","s4":"s1"},"e":{"s0":"s1","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"f":{"s0":"s4","s1":"s1","s2":"s4","s3":"s3","s4":"s0"},"g":{"s0":"s2","s1":"s0","s2":"s0","s3":"s2","s4":"s3"},"h":{"s0":"s3","s1":"s0","s2":"s4","s3":"s1","s4":"s3"},"i":{"s0":"s2","s1":"s0","s2":"s2","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h i s0 s4 s2 s1 s4 s1 s4 s2 s3 s2 s1 s3 s4 s1 s4 s3 s1 s0 s0 s0 s2 s4 s0 s2 s0 s4 s4 s0 s4 s2 s3 s2 s1 s2 s0 s2 s3 s2 s1 s1 s4 s4 s0 s1 s1 s4 s0 s3 s3 s0 What will be the state after reading the following input: ihadgcffihficcb?
s4
15
330b95ed-bce9-4fc3-9ec2-255ef62b2d8b
d9dfd8de-d75b-461c-8f4d-6804e5779d40
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s2", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"b":{"s0":"s2","s1":"s4","s2":"s0","s3":"s1","s4":"s0"},"c":{"s0":"s1","s1":"s1","s2":"s2","s3":"s2","s4":"s1"},"d":{"s0":"s4","s1":"s4","s2":"s0","s3":"s0","s4":"s1"},"e":{"s0":"s1","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"f":{"s0":"s4","s1":"s1","s2":"s4","s3":"s3","s4":"s0"},"g":{"s0":"s2","s1":"s0","s2":"s0","s3":"s2","s4":"s3"},"h":{"s0":"s3","s1":"s0","s2":"s4","s3":"s1","s4":"s3"},"i":{"s0":"s2","s1":"s0","s2":"s2","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h i s0 s4 s2 s1 s4 s1 s4 s2 s3 s2 s1 s3 s4 s1 s4 s3 s1 s0 s0 s0 s2 s4 s0 s2 s0 s4 s4 s0 s4 s2 s3 s2 s1 s2 s0 s2 s3 s2 s1 s1 s4 s4 s0 s1 s1 s4 s0 s3 s3 s0 What will be the state after reading the following input: ihadgcffihficcba?
s4
16
2be06764-dbf8-47c1-b225-77c15351b155
d9dfd8de-d75b-461c-8f4d-6804e5779d40
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s2", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"b":{"s0":"s2","s1":"s4","s2":"s0","s3":"s1","s4":"s0"},"c":{"s0":"s1","s1":"s1","s2":"s2","s3":"s2","s4":"s1"},"d":{"s0":"s4","s1":"s4","s2":"s0","s3":"s0","s4":"s1"},"e":{"s0":"s1","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"f":{"s0":"s4","s1":"s1","s2":"s4","s3":"s3","s4":"s0"},"g":{"s0":"s2","s1":"s0","s2":"s0","s3":"s2","s4":"s3"},"h":{"s0":"s3","s1":"s0","s2":"s4","s3":"s1","s4":"s3"},"i":{"s0":"s2","s1":"s0","s2":"s2","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h i s0 s4 s2 s1 s4 s1 s4 s2 s3 s2 s1 s3 s4 s1 s4 s3 s1 s0 s0 s0 s2 s4 s0 s2 s0 s4 s4 s0 s4 s2 s3 s2 s1 s2 s0 s2 s3 s2 s1 s1 s4 s4 s0 s1 s1 s4 s0 s3 s3 s0 What will be the state after reading the following input: ihadgcffihficcbad?
s1
17
552a1fbf-6fef-4096-8f41-9d7cf7647762
d9dfd8de-d75b-461c-8f4d-6804e5779d40
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s2", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"b":{"s0":"s2","s1":"s4","s2":"s0","s3":"s1","s4":"s0"},"c":{"s0":"s1","s1":"s1","s2":"s2","s3":"s2","s4":"s1"},"d":{"s0":"s4","s1":"s4","s2":"s0","s3":"s0","s4":"s1"},"e":{"s0":"s1","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"f":{"s0":"s4","s1":"s1","s2":"s4","s3":"s3","s4":"s0"},"g":{"s0":"s2","s1":"s0","s2":"s0","s3":"s2","s4":"s3"},"h":{"s0":"s3","s1":"s0","s2":"s4","s3":"s1","s4":"s3"},"i":{"s0":"s2","s1":"s0","s2":"s2","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h i s0 s4 s2 s1 s4 s1 s4 s2 s3 s2 s1 s3 s4 s1 s4 s3 s1 s0 s0 s0 s2 s4 s0 s2 s0 s4 s4 s0 s4 s2 s3 s2 s1 s2 s0 s2 s3 s2 s1 s1 s4 s4 s0 s1 s1 s4 s0 s3 s3 s0 What will be the state after reading the following input: ihadgcffihficcbada?
s3
18
bfcd5673-bc6f-40fd-8a1a-43252618475e
d9dfd8de-d75b-461c-8f4d-6804e5779d40
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s2", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"b":{"s0":"s2","s1":"s4","s2":"s0","s3":"s1","s4":"s0"},"c":{"s0":"s1","s1":"s1","s2":"s2","s3":"s2","s4":"s1"},"d":{"s0":"s4","s1":"s4","s2":"s0","s3":"s0","s4":"s1"},"e":{"s0":"s1","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"f":{"s0":"s4","s1":"s1","s2":"s4","s3":"s3","s4":"s0"},"g":{"s0":"s2","s1":"s0","s2":"s0","s3":"s2","s4":"s3"},"h":{"s0":"s3","s1":"s0","s2":"s4","s3":"s1","s4":"s3"},"i":{"s0":"s2","s1":"s0","s2":"s2","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h i s0 s4 s2 s1 s4 s1 s4 s2 s3 s2 s1 s3 s4 s1 s4 s3 s1 s0 s0 s0 s2 s4 s0 s2 s0 s4 s4 s0 s4 s2 s3 s2 s1 s2 s0 s2 s3 s2 s1 s1 s4 s4 s0 s1 s1 s4 s0 s3 s3 s0 What will be the state after reading the following input: ihadgcffihficcbadae?
s2
19
ebb38039-2b2f-4838-b304-f8b03dadc236
d9dfd8de-d75b-461c-8f4d-6804e5779d40
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s2", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"b":{"s0":"s2","s1":"s4","s2":"s0","s3":"s1","s4":"s0"},"c":{"s0":"s1","s1":"s1","s2":"s2","s3":"s2","s4":"s1"},"d":{"s0":"s4","s1":"s4","s2":"s0","s3":"s0","s4":"s1"},"e":{"s0":"s1","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"f":{"s0":"s4","s1":"s1","s2":"s4","s3":"s3","s4":"s0"},"g":{"s0":"s2","s1":"s0","s2":"s0","s3":"s2","s4":"s3"},"h":{"s0":"s3","s1":"s0","s2":"s4","s3":"s1","s4":"s3"},"i":{"s0":"s2","s1":"s0","s2":"s2","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h i s0 s4 s2 s1 s4 s1 s4 s2 s3 s2 s1 s3 s4 s1 s4 s3 s1 s0 s0 s0 s2 s4 s0 s2 s0 s4 s4 s0 s4 s2 s3 s2 s1 s2 s0 s2 s3 s2 s1 s1 s4 s4 s0 s1 s1 s4 s0 s3 s3 s0 What will be the state after reading the following input: ihadgcffihficcbadaeg?
s0
20
6eb7828f-331c-4090-a14e-e9f0b5615803
d9dfd8de-d75b-461c-8f4d-6804e5779d40
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s2", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"b":{"s0":"s2","s1":"s4","s2":"s0","s3":"s1","s4":"s0"},"c":{"s0":"s1","s1":"s1","s2":"s2","s3":"s2","s4":"s1"},"d":{"s0":"s4","s1":"s4","s2":"s0","s3":"s0","s4":"s1"},"e":{"s0":"s1","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"f":{"s0":"s4","s1":"s1","s2":"s4","s3":"s3","s4":"s0"},"g":{"s0":"s2","s1":"s0","s2":"s0","s3":"s2","s4":"s3"},"h":{"s0":"s3","s1":"s0","s2":"s4","s3":"s1","s4":"s3"},"i":{"s0":"s2","s1":"s0","s2":"s2","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h i s0 s4 s2 s1 s4 s1 s4 s2 s3 s2 s1 s3 s4 s1 s4 s3 s1 s0 s0 s0 s2 s4 s0 s2 s0 s4 s4 s0 s4 s2 s3 s2 s1 s2 s0 s2 s3 s2 s1 s1 s4 s4 s0 s1 s1 s4 s0 s3 s3 s0 What will be the state after reading the following input: ihadgcffihficcbadaega?
s4
21
2b46afbc-b6b1-46fa-b4f6-8a20c966352e
d9dfd8de-d75b-461c-8f4d-6804e5779d40
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s2", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"b":{"s0":"s2","s1":"s4","s2":"s0","s3":"s1","s4":"s0"},"c":{"s0":"s1","s1":"s1","s2":"s2","s3":"s2","s4":"s1"},"d":{"s0":"s4","s1":"s4","s2":"s0","s3":"s0","s4":"s1"},"e":{"s0":"s1","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"f":{"s0":"s4","s1":"s1","s2":"s4","s3":"s3","s4":"s0"},"g":{"s0":"s2","s1":"s0","s2":"s0","s3":"s2","s4":"s3"},"h":{"s0":"s3","s1":"s0","s2":"s4","s3":"s1","s4":"s3"},"i":{"s0":"s2","s1":"s0","s2":"s2","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h i s0 s4 s2 s1 s4 s1 s4 s2 s3 s2 s1 s3 s4 s1 s4 s3 s1 s0 s0 s0 s2 s4 s0 s2 s0 s4 s4 s0 s4 s2 s3 s2 s1 s2 s0 s2 s3 s2 s1 s1 s4 s4 s0 s1 s1 s4 s0 s3 s3 s0 What will be the state after reading the following input: ihadgcffihficcbadaegai?
s0
22
e6488c2c-4728-4dd0-af83-9f5c01f1bbd5
d9dfd8de-d75b-461c-8f4d-6804e5779d40
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s2", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"b":{"s0":"s2","s1":"s4","s2":"s0","s3":"s1","s4":"s0"},"c":{"s0":"s1","s1":"s1","s2":"s2","s3":"s2","s4":"s1"},"d":{"s0":"s4","s1":"s4","s2":"s0","s3":"s0","s4":"s1"},"e":{"s0":"s1","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"f":{"s0":"s4","s1":"s1","s2":"s4","s3":"s3","s4":"s0"},"g":{"s0":"s2","s1":"s0","s2":"s0","s3":"s2","s4":"s3"},"h":{"s0":"s3","s1":"s0","s2":"s4","s3":"s1","s4":"s3"},"i":{"s0":"s2","s1":"s0","s2":"s2","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h i s0 s4 s2 s1 s4 s1 s4 s2 s3 s2 s1 s3 s4 s1 s4 s3 s1 s0 s0 s0 s2 s4 s0 s2 s0 s4 s4 s0 s4 s2 s3 s2 s1 s2 s0 s2 s3 s2 s1 s1 s4 s4 s0 s1 s1 s4 s0 s3 s3 s0 What will be the state after reading the following input: ihadgcffihficcbadaegaib?
s2
23
a3b902c6-45ae-4b5d-8796-c63362fd9d46
d9dfd8de-d75b-461c-8f4d-6804e5779d40
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s2", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"b":{"s0":"s2","s1":"s4","s2":"s0","s3":"s1","s4":"s0"},"c":{"s0":"s1","s1":"s1","s2":"s2","s3":"s2","s4":"s1"},"d":{"s0":"s4","s1":"s4","s2":"s0","s3":"s0","s4":"s1"},"e":{"s0":"s1","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"f":{"s0":"s4","s1":"s1","s2":"s4","s3":"s3","s4":"s0"},"g":{"s0":"s2","s1":"s0","s2":"s0","s3":"s2","s4":"s3"},"h":{"s0":"s3","s1":"s0","s2":"s4","s3":"s1","s4":"s3"},"i":{"s0":"s2","s1":"s0","s2":"s2","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h i s0 s4 s2 s1 s4 s1 s4 s2 s3 s2 s1 s3 s4 s1 s4 s3 s1 s0 s0 s0 s2 s4 s0 s2 s0 s4 s4 s0 s4 s2 s3 s2 s1 s2 s0 s2 s3 s2 s1 s1 s4 s4 s0 s1 s1 s4 s0 s3 s3 s0 What will be the state after reading the following input: ihadgcffihficcbadaegaibb?
s0
24
8e810fb3-2eef-4b3b-91ca-22c616817c21
d9dfd8de-d75b-461c-8f4d-6804e5779d40
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s2", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"b":{"s0":"s2","s1":"s4","s2":"s0","s3":"s1","s4":"s0"},"c":{"s0":"s1","s1":"s1","s2":"s2","s3":"s2","s4":"s1"},"d":{"s0":"s4","s1":"s4","s2":"s0","s3":"s0","s4":"s1"},"e":{"s0":"s1","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"f":{"s0":"s4","s1":"s1","s2":"s4","s3":"s3","s4":"s0"},"g":{"s0":"s2","s1":"s0","s2":"s0","s3":"s2","s4":"s3"},"h":{"s0":"s3","s1":"s0","s2":"s4","s3":"s1","s4":"s3"},"i":{"s0":"s2","s1":"s0","s2":"s2","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h i s0 s4 s2 s1 s4 s1 s4 s2 s3 s2 s1 s3 s4 s1 s4 s3 s1 s0 s0 s0 s2 s4 s0 s2 s0 s4 s4 s0 s4 s2 s3 s2 s1 s2 s0 s2 s3 s2 s1 s1 s4 s4 s0 s1 s1 s4 s0 s3 s3 s0 What will be the state after reading the following input: ihadgcffihficcbadaegaibbd?
s4
25
21270e2a-0b6e-4c72-8234-e959619d2de9
d9dfd8de-d75b-461c-8f4d-6804e5779d40
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s2", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"b":{"s0":"s2","s1":"s4","s2":"s0","s3":"s1","s4":"s0"},"c":{"s0":"s1","s1":"s1","s2":"s2","s3":"s2","s4":"s1"},"d":{"s0":"s4","s1":"s4","s2":"s0","s3":"s0","s4":"s1"},"e":{"s0":"s1","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"f":{"s0":"s4","s1":"s1","s2":"s4","s3":"s3","s4":"s0"},"g":{"s0":"s2","s1":"s0","s2":"s0","s3":"s2","s4":"s3"},"h":{"s0":"s3","s1":"s0","s2":"s4","s3":"s1","s4":"s3"},"i":{"s0":"s2","s1":"s0","s2":"s2","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h i s0 s4 s2 s1 s4 s1 s4 s2 s3 s2 s1 s3 s4 s1 s4 s3 s1 s0 s0 s0 s2 s4 s0 s2 s0 s4 s4 s0 s4 s2 s3 s2 s1 s2 s0 s2 s3 s2 s1 s1 s4 s4 s0 s1 s1 s4 s0 s3 s3 s0 What will be the state after reading the following input: ihadgcffihficcbadaegaibbdi?
s0
26
c573ce02-4d9d-459e-a990-4a4d5447a8b5
d9dfd8de-d75b-461c-8f4d-6804e5779d40
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s2", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"b":{"s0":"s2","s1":"s4","s2":"s0","s3":"s1","s4":"s0"},"c":{"s0":"s1","s1":"s1","s2":"s2","s3":"s2","s4":"s1"},"d":{"s0":"s4","s1":"s4","s2":"s0","s3":"s0","s4":"s1"},"e":{"s0":"s1","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"f":{"s0":"s4","s1":"s1","s2":"s4","s3":"s3","s4":"s0"},"g":{"s0":"s2","s1":"s0","s2":"s0","s3":"s2","s4":"s3"},"h":{"s0":"s3","s1":"s0","s2":"s4","s3":"s1","s4":"s3"},"i":{"s0":"s2","s1":"s0","s2":"s2","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h i s0 s4 s2 s1 s4 s1 s4 s2 s3 s2 s1 s3 s4 s1 s4 s3 s1 s0 s0 s0 s2 s4 s0 s2 s0 s4 s4 s0 s4 s2 s3 s2 s1 s2 s0 s2 s3 s2 s1 s1 s4 s4 s0 s1 s1 s4 s0 s3 s3 s0 What will be the state after reading the following input: ihadgcffihficcbadaegaibbdih?
s3
27
f2d5920d-767a-4a0e-a733-530490655268
d9dfd8de-d75b-461c-8f4d-6804e5779d40
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s2", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"b":{"s0":"s2","s1":"s4","s2":"s0","s3":"s1","s4":"s0"},"c":{"s0":"s1","s1":"s1","s2":"s2","s3":"s2","s4":"s1"},"d":{"s0":"s4","s1":"s4","s2":"s0","s3":"s0","s4":"s1"},"e":{"s0":"s1","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"f":{"s0":"s4","s1":"s1","s2":"s4","s3":"s3","s4":"s0"},"g":{"s0":"s2","s1":"s0","s2":"s0","s3":"s2","s4":"s3"},"h":{"s0":"s3","s1":"s0","s2":"s4","s3":"s1","s4":"s3"},"i":{"s0":"s2","s1":"s0","s2":"s2","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h i s0 s4 s2 s1 s4 s1 s4 s2 s3 s2 s1 s3 s4 s1 s4 s3 s1 s0 s0 s0 s2 s4 s0 s2 s0 s4 s4 s0 s4 s2 s3 s2 s1 s2 s0 s2 s3 s2 s1 s1 s4 s4 s0 s1 s1 s4 s0 s3 s3 s0 What will be the state after reading the following input: ihadgcffihficcbadaegaibbdiha?
s2
28
3d876c64-8321-427e-a1a3-5b738d5654ba
d9dfd8de-d75b-461c-8f4d-6804e5779d40
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s2", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s0"]}]}
3
{"a":{"s0":"s4","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"b":{"s0":"s2","s1":"s4","s2":"s0","s3":"s1","s4":"s0"},"c":{"s0":"s1","s1":"s1","s2":"s2","s3":"s2","s4":"s1"},"d":{"s0":"s4","s1":"s4","s2":"s0","s3":"s0","s4":"s1"},"e":{"s0":"s1","s1":"s3","s2":"s4","s3":"s2","s4":"s4"},"f":{"s0":"s4","s1":"s1","s2":"s4","s3":"s3","s4":"s0"},"g":{"s0":"s2","s1":"s0","s2":"s0","s3":"s2","s4":"s3"},"h":{"s0":"s3","s1":"s0","s2":"s4","s3":"s1","s4":"s3"},"i":{"s0":"s2","s1":"s0","s2":"s2","s3":"s1","s4":"s0"}}
Given the following FSM: a b c d e f g h i s0 s4 s2 s1 s4 s1 s4 s2 s3 s2 s1 s3 s4 s1 s4 s3 s1 s0 s0 s0 s2 s4 s0 s2 s0 s4 s4 s0 s4 s2 s3 s2 s1 s2 s0 s2 s3 s2 s1 s1 s4 s4 s0 s1 s1 s4 s0 s3 s3 s0 What will be the state after reading the following input: ihadgcffihficcbadaegaibbdihai?
s2
29
4fc615ec-a84b-4fad-bba2-fc65d0a51d3e
1306ef46-0afa-45de-9c24-e85f12c8903c
{"states": ["s0", "s1", "s2"], "alphabets": "abcdefghij", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s2"]}]}
3
{"a":{"s0":"s2","s1":"s2","s2":"s2"},"b":{"s0":"s1","s1":"s1","s2":"s0"},"c":{"s0":"s0","s1":"s0","s2":"s0"},"d":{"s0":"s2","s1":"s0","s2":"s1"},"e":{"s0":"s0","s1":"s0","s2":"s2"},"f":{"s0":"s1","s1":"s2","s2":"s2"},"g":{"s0":"s1","s1":"s1","s2":"s0"},"h":{"s0":"s1","s1":"s0","s2":"s0"},"i":{"s0":"s0","s1":"s1","s2":"s0"},"j":{"s0":"s2","s1":"s1","s2":"s2"}}
Given the following FSM: a b c d e f g h i j s0 s2 s1 s0 s2 s0 s1 s1 s1 s0 s2 s1 s2 s1 s0 s0 s0 s2 s1 s0 s1 s1 s2 s2 s0 s0 s1 s2 s2 s0 s0 s0 s2 What will be the state after reading the following input: h?
s1
1
d543177a-3817-4460-be87-06dab9c6cf52
1306ef46-0afa-45de-9c24-e85f12c8903c
{"states": ["s0", "s1", "s2"], "alphabets": "abcdefghij", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s2"]}]}
3
{"a":{"s0":"s2","s1":"s2","s2":"s2"},"b":{"s0":"s1","s1":"s1","s2":"s0"},"c":{"s0":"s0","s1":"s0","s2":"s0"},"d":{"s0":"s2","s1":"s0","s2":"s1"},"e":{"s0":"s0","s1":"s0","s2":"s2"},"f":{"s0":"s1","s1":"s2","s2":"s2"},"g":{"s0":"s1","s1":"s1","s2":"s0"},"h":{"s0":"s1","s1":"s0","s2":"s0"},"i":{"s0":"s0","s1":"s1","s2":"s0"},"j":{"s0":"s2","s1":"s1","s2":"s2"}}
Given the following FSM: a b c d e f g h i j s0 s2 s1 s0 s2 s0 s1 s1 s1 s0 s2 s1 s2 s1 s0 s0 s0 s2 s1 s0 s1 s1 s2 s2 s0 s0 s1 s2 s2 s0 s0 s0 s2 What will be the state after reading the following input: hf?
s2
2
a75b4d18-b388-4e13-b954-e2e7253f4ba4
1306ef46-0afa-45de-9c24-e85f12c8903c
{"states": ["s0", "s1", "s2"], "alphabets": "abcdefghij", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s2"]}]}
3
{"a":{"s0":"s2","s1":"s2","s2":"s2"},"b":{"s0":"s1","s1":"s1","s2":"s0"},"c":{"s0":"s0","s1":"s0","s2":"s0"},"d":{"s0":"s2","s1":"s0","s2":"s1"},"e":{"s0":"s0","s1":"s0","s2":"s2"},"f":{"s0":"s1","s1":"s2","s2":"s2"},"g":{"s0":"s1","s1":"s1","s2":"s0"},"h":{"s0":"s1","s1":"s0","s2":"s0"},"i":{"s0":"s0","s1":"s1","s2":"s0"},"j":{"s0":"s2","s1":"s1","s2":"s2"}}
Given the following FSM: a b c d e f g h i j s0 s2 s1 s0 s2 s0 s1 s1 s1 s0 s2 s1 s2 s1 s0 s0 s0 s2 s1 s0 s1 s1 s2 s2 s0 s0 s1 s2 s2 s0 s0 s0 s2 What will be the state after reading the following input: hfd?
s1
3
67644ea9-7bb4-4563-9621-afe895219b8a
1306ef46-0afa-45de-9c24-e85f12c8903c
{"states": ["s0", "s1", "s2"], "alphabets": "abcdefghij", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s2"]}]}
3
{"a":{"s0":"s2","s1":"s2","s2":"s2"},"b":{"s0":"s1","s1":"s1","s2":"s0"},"c":{"s0":"s0","s1":"s0","s2":"s0"},"d":{"s0":"s2","s1":"s0","s2":"s1"},"e":{"s0":"s0","s1":"s0","s2":"s2"},"f":{"s0":"s1","s1":"s2","s2":"s2"},"g":{"s0":"s1","s1":"s1","s2":"s0"},"h":{"s0":"s1","s1":"s0","s2":"s0"},"i":{"s0":"s0","s1":"s1","s2":"s0"},"j":{"s0":"s2","s1":"s1","s2":"s2"}}
Given the following FSM: a b c d e f g h i j s0 s2 s1 s0 s2 s0 s1 s1 s1 s0 s2 s1 s2 s1 s0 s0 s0 s2 s1 s0 s1 s1 s2 s2 s0 s0 s1 s2 s2 s0 s0 s0 s2 What will be the state after reading the following input: hfdh?
s0
4
b5ebc881-aedb-4db0-a546-6a59726fbcb2
1306ef46-0afa-45de-9c24-e85f12c8903c
{"states": ["s0", "s1", "s2"], "alphabets": "abcdefghij", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s2"]}]}
3
{"a":{"s0":"s2","s1":"s2","s2":"s2"},"b":{"s0":"s1","s1":"s1","s2":"s0"},"c":{"s0":"s0","s1":"s0","s2":"s0"},"d":{"s0":"s2","s1":"s0","s2":"s1"},"e":{"s0":"s0","s1":"s0","s2":"s2"},"f":{"s0":"s1","s1":"s2","s2":"s2"},"g":{"s0":"s1","s1":"s1","s2":"s0"},"h":{"s0":"s1","s1":"s0","s2":"s0"},"i":{"s0":"s0","s1":"s1","s2":"s0"},"j":{"s0":"s2","s1":"s1","s2":"s2"}}
Given the following FSM: a b c d e f g h i j s0 s2 s1 s0 s2 s0 s1 s1 s1 s0 s2 s1 s2 s1 s0 s0 s0 s2 s1 s0 s1 s1 s2 s2 s0 s0 s1 s2 s2 s0 s0 s0 s2 What will be the state after reading the following input: hfdhc?
s0
5
47a7e9ff-bc28-4284-8f80-4a0dc28fb155
1306ef46-0afa-45de-9c24-e85f12c8903c
{"states": ["s0", "s1", "s2"], "alphabets": "abcdefghij", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s2"]}]}
3
{"a":{"s0":"s2","s1":"s2","s2":"s2"},"b":{"s0":"s1","s1":"s1","s2":"s0"},"c":{"s0":"s0","s1":"s0","s2":"s0"},"d":{"s0":"s2","s1":"s0","s2":"s1"},"e":{"s0":"s0","s1":"s0","s2":"s2"},"f":{"s0":"s1","s1":"s2","s2":"s2"},"g":{"s0":"s1","s1":"s1","s2":"s0"},"h":{"s0":"s1","s1":"s0","s2":"s0"},"i":{"s0":"s0","s1":"s1","s2":"s0"},"j":{"s0":"s2","s1":"s1","s2":"s2"}}
Given the following FSM: a b c d e f g h i j s0 s2 s1 s0 s2 s0 s1 s1 s1 s0 s2 s1 s2 s1 s0 s0 s0 s2 s1 s0 s1 s1 s2 s2 s0 s0 s1 s2 s2 s0 s0 s0 s2 What will be the state after reading the following input: hfdhch?
s1
6
a5b2134b-e87b-4947-9032-37082a283845
1306ef46-0afa-45de-9c24-e85f12c8903c
{"states": ["s0", "s1", "s2"], "alphabets": "abcdefghij", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s2"]}]}
3
{"a":{"s0":"s2","s1":"s2","s2":"s2"},"b":{"s0":"s1","s1":"s1","s2":"s0"},"c":{"s0":"s0","s1":"s0","s2":"s0"},"d":{"s0":"s2","s1":"s0","s2":"s1"},"e":{"s0":"s0","s1":"s0","s2":"s2"},"f":{"s0":"s1","s1":"s2","s2":"s2"},"g":{"s0":"s1","s1":"s1","s2":"s0"},"h":{"s0":"s1","s1":"s0","s2":"s0"},"i":{"s0":"s0","s1":"s1","s2":"s0"},"j":{"s0":"s2","s1":"s1","s2":"s2"}}
Given the following FSM: a b c d e f g h i j s0 s2 s1 s0 s2 s0 s1 s1 s1 s0 s2 s1 s2 s1 s0 s0 s0 s2 s1 s0 s1 s1 s2 s2 s0 s0 s1 s2 s2 s0 s0 s0 s2 What will be the state after reading the following input: hfdhchj?
s1
7