query_id
stringlengths
36
36
fsm_id
stringlengths
36
36
fsm_json
stringlengths
160
8.81k
difficulty_level
int64
1
5
transition_matrix
stringlengths
17
1.68k
query
stringlengths
113
964
answer
stringclasses
15 values
a5020343-8e89-4966-bed2-d6097761861e
633c2a9c-1ede-4406-aef2-3575c2293b32
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcd", "accepting_states": ["s5", "s4", "s3", "s0", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s5"]}]}
3
{"a":{"s0":"s7","s1":"s3","s2":"s8","s3":"s0","s4":"s3","s5":"s8","s6":"s6","s7":"s8","s8":"s4"},"b":{"s0":"s0","s1":"s8","s2":"s4","s3":"s5","s4":"s8","s5":"s0","s6":"s6","s7":"s5","s8":"s8"},"c":{"s0":"s1","s1":"s6","s2":"s0","s3":"s7","s4":"s6","s5":"s4","s6":"s8","s7":"s3","s8":"s4"},"d":{"s0":"s4","s1":"s4","s2":"s5","s3":"s2","s4":"s3","s5":"s8","s6":"s5","s7":"s3","s8":"s5"}}
Given the following FSM: a b c d s0 s7 s0 s1 s4 s1 s3 s8 s6 s4 s2 s8 s4 s0 s5 s3 s0 s5 s7 s2 s4 s3 s8 s6 s3 s5 s8 s0 s4 s8 s6 s6 s6 s8 s5 s7 s8 s5 s3 s3 s8 s4 s8 s4 s5 If we are in state s3 and the input is a, what state will we be in next?
s0
97fe1202-7317-4ac6-bf80-87353f1a54f1
a776714f-f616-4a72-b27a-9c7d74d385db
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s10", "s11", "s12"], "alphabets": "abcdef", "accepting_states": ["s7", "s10", "s8", "s12", "s5", "s6", "s9", "s11", "s3", "s0", "s1", "s2", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s12"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s12"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s10"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s10"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s11"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s11"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s11"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s11"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s12"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s12"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s12"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s12"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "f", "toStates": ["s12"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s10", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s10", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s11", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s11", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s11", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s11", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s11", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s12", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s12", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s12", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s12", "symbol": "e", "toStates": ["s11"]}, {"fromState": "s12", "symbol": "f", "toStates": ["s3"]}]}
4
{"a":{"s0":"s1","s1":"s5","s2":"s9","s3":"s8","s4":"s4","s5":"s0","s6":"s11","s7":"s5","s8":"s4","s9":"s5","s10":"s4","s11":"s11","s12":"s6"},"b":{"s0":"s7","s1":"s12","s2":"s11","s3":"s5","s4":"s9","s5":"s6","s6":"s10","s7":"s12","s8":"s8","s9":"s4","s10":"s2","s11":"s6","s12":"s8"},"c":{"s0":"s4","s1":"s10","s2":"s2","s3":"s8","s4":"s2","s5":"s4","s6":"s12","s7":"s9","s8":"s6","s9":"s9","s10":"s1","s11":"s5","s12":"s5"},"d":{"s0":"s0","s1":"s5","s2":"s4","s3":"s5","s4":"s3","s5":"s11","s6":"s2","s7":"s3","s8":"s12","s9":"s2","s10":"s7","s11":"s3","s12":"s7"},"e":{"s0":"s0","s1":"s10","s2":"s1","s3":"s1","s4":"s5","s5":"s11","s6":"s6","s7":"s1","s8":"s6","s9":"s3","s10":"s3","s11":"s0","s12":"s11"},"f":{"s0":"s12","s1":"s8","s2":"s11","s3":"s5","s4":"s5","s5":"s6","s6":"s12","s7":"s7","s8":"s7","s9":"s12","s10":"s1","s11":"s3","s12":"s3"}}
Given the following FSM: a b c d e f s0 s1 s7 s4 s0 s0 s12 s1 s5 s12 s10 s5 s10 s8 s2 s9 s11 s2 s4 s1 s11 s3 s8 s5 s8 s5 s1 s5 s4 s4 s9 s2 s3 s5 s5 s5 s0 s6 s4 s11 s11 s6 s6 s11 s10 s12 s2 s6 s12 s7 s5 s12 s9 s3 s1 s7 s8 s4 s8 s6 s12 s6 s7 s9 s5 s4 s9 s2 s3 s12 s10 s4 s2 s1 s7 s3 s1 s11 s11 s6 s5 s3 s0 s3 s12 s6 s8 s5 s7 s11 s3 If we are in state s0 and the input is d, what state will we be in next?
s0
6adfce40-be36-4c5b-9330-6fa6e6aa26da
d9ddca62-8b40-4249-a560-6f3650f20a8e
{"states": ["s0", "s1", "s2"], "alphabets": "abcdef", "accepting_states": ["s2", "s1", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s0"]}]}
2
{"a":{"s0":"s0","s1":"s1","s2":"s2"},"b":{"s0":"s1","s1":"s2","s2":"s1"},"c":{"s0":"s2","s1":"s0","s2":"s1"},"d":{"s0":"s0","s1":"s0","s2":"s2"},"e":{"s0":"s2","s1":"s2","s2":"s2"},"f":{"s0":"s1","s1":"s2","s2":"s0"}}
Given the following FSM: a b c d e f s0 s0 s1 s2 s0 s2 s1 s1 s1 s2 s0 s0 s2 s2 s2 s2 s1 s1 s2 s2 s0 If we are in state s2 and the input is e, what state will we be in next?
s2
20e11747-13a4-4e4c-af11-340c2b2fd860
85537bc4-02fe-4025-acc5-c386f7f7678d
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s10", "s11", "s12", "s13"], "alphabets": "abcdefghi", "accepting_states": ["s3", "s0", "s12", "s6", "s9", "s8", "s10", "s1", "s11", "s5", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s13"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s13"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s10"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s10"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s10"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s13"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s10"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s13"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s11"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s9"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s11"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s10"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s12"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s12"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s13"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s13"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "i", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s11"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "h", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "i", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "h", "toStates": ["s9"]}, {"fromState": "s8", "symbol": "i", "toStates": ["s12"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s9", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "f", "toStates": ["s10"]}, {"fromState": "s9", "symbol": "g", "toStates": ["s11"]}, {"fromState": "s9", "symbol": "h", "toStates": ["s12"]}, {"fromState": "s9", "symbol": "i", "toStates": ["s6"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s13"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s10", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s10", "symbol": "g", "toStates": ["s10"]}, {"fromState": "s10", "symbol": "h", "toStates": ["s5"]}, {"fromState": "s10", "symbol": "i", "toStates": ["s12"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s11", "symbol": "b", "toStates": ["s12"]}, {"fromState": "s11", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s11", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s11", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s11", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s11", "symbol": "g", "toStates": ["s13"]}, {"fromState": "s11", "symbol": "h", "toStates": ["s9"]}, {"fromState": "s11", "symbol": "i", "toStates": ["s5"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s12", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s12", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s12", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s12", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s12", "symbol": "f", "toStates": ["s13"]}, {"fromState": "s12", "symbol": "g", "toStates": ["s10"]}, {"fromState": "s12", "symbol": "h", "toStates": ["s9"]}, {"fromState": "s12", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s13", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s13", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s13", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s13", "symbol": "e", "toStates": ["s11"]}, {"fromState": "s13", "symbol": "f", "toStates": ["s9"]}, {"fromState": "s13", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s13", "symbol": "h", "toStates": ["s9"]}, {"fromState": "s13", "symbol": "i", "toStates": ["s3"]}]}
5
{"a":{"s0":"s7","s1":"s13","s2":"s7","s3":"s8","s4":"s2","s5":"s9","s6":"s12","s7":"s9","s8":"s8","s9":"s8","s10":"s4","s11":"s7","s12":"s2","s13":"s8"},"b":{"s0":"s2","s1":"s13","s2":"s8","s3":"s6","s4":"s1","s5":"s6","s6":"s8","s7":"s4","s8":"s6","s9":"s4","s10":"s13","s11":"s12","s12":"s10","s13":"s9"},"c":{"s0":"s13","s1":"s0","s2":"s0","s3":"s0","s4":"s0","s5":"s10","s6":"s3","s7":"s6","s8":"s8","s9":"s3","s10":"s7","s11":"s1","s12":"s4","s13":"s2"},"d":{"s0":"s3","s1":"s3","s2":"s9","s3":"s2","s4":"s1","s5":"s12","s6":"s13","s7":"s2","s8":"s8","s9":"s8","s10":"s8","s11":"s4","s12":"s8","s13":"s5"},"e":{"s0":"s13","s1":"s4","s2":"s2","s3":"s3","s4":"s0","s5":"s12","s6":"s7","s7":"s11","s8":"s6","s9":"s5","s10":"s2","s11":"s4","s12":"s4","s13":"s11"},"f":{"s0":"s10","s1":"s1","s2":"s8","s3":"s9","s4":"s11","s5":"s3","s6":"s13","s7":"s5","s8":"s2","s9":"s10","s10":"s6","s11":"s0","s12":"s13","s13":"s9"},"g":{"s0":"s7","s1":"s7","s2":"s11","s3":"s9","s4":"s0","s5":"s4","s6":"s6","s7":"s6","s8":"s6","s9":"s11","s10":"s10","s11":"s13","s12":"s10","s13":"s2"},"h":{"s0":"s10","s1":"s10","s2":"s9","s3":"s13","s4":"s4","s5":"s0","s6":"s5","s7":"s9","s8":"s9","s9":"s12","s10":"s5","s11":"s9","s12":"s9","s13":"s9"},"i":{"s0":"s10","s1":"s13","s2":"s13","s3":"s9","s4":"s0","s5":"s1","s6":"s7","s7":"s6","s8":"s12","s9":"s6","s10":"s12","s11":"s5","s12":"s1","s13":"s3"}}
Given the following FSM: a b c d e f g h i s0 s7 s2 s13 s3 s13 s10 s7 s10 s10 s1 s13 s13 s0 s3 s4 s1 s7 s10 s13 s2 s7 s8 s0 s9 s2 s8 s11 s9 s13 s3 s8 s6 s0 s2 s3 s9 s9 s13 s9 s4 s2 s1 s0 s1 s0 s11 s0 s4 s0 s5 s9 s6 s10 s12 s12 s3 s4 s0 s1 s6 s12 s8 s3 s13 s7 s13 s6 s5 s7 s7 s9 s4 s6 s2 s11 s5 s6 s9 s6 s8 s8 s6 s8 s8 s6 s2 s6 s9 s12 s9 s8 s4 s3 s8 s5 s10 s11 s12 s6 s10 s4 s13 s7 s8 s2 s6 s10 s5 s12 s11 s7 s12 s1 s4 s4 s0 s13 s9 s5 s12 s2 s10 s4 s8 s4 s13 s10 s9 s1 s13 s8 s9 s2 s5 s11 s9 s2 s9 s3 If we are in state s7 and the input is b, what state will we be in next?
s4
3d857536-bdd2-44d2-ba64-2a518e45e2d8
fb349996-cf34-481a-962b-e36da0cfdfed
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9"], "alphabets": "abc", "accepting_states": ["s9", "s7", "s1", "s6", "s2", "s8"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s1"]}]}
3
{"a":{"s0":"s0","s1":"s4","s2":"s4","s3":"s1","s4":"s7","s5":"s2","s6":"s6","s7":"s9","s8":"s8","s9":"s0"},"b":{"s0":"s6","s1":"s4","s2":"s7","s3":"s7","s4":"s3","s5":"s1","s6":"s9","s7":"s9","s8":"s1","s9":"s7"},"c":{"s0":"s9","s1":"s4","s2":"s5","s3":"s9","s4":"s3","s5":"s8","s6":"s1","s7":"s2","s8":"s2","s9":"s1"}}
Given the following FSM: a b c s0 s0 s6 s9 s1 s4 s4 s4 s2 s4 s7 s5 s3 s1 s7 s9 s4 s7 s3 s3 s5 s2 s1 s8 s6 s6 s9 s1 s7 s9 s9 s2 s8 s8 s1 s2 s9 s0 s7 s1 If we are in state s4 and the input is a, what state will we be in next?
s7
00c94a9c-5159-4240-b5b3-a8acb93fa451
bac15c35-d83b-4ff3-963b-c6fce66e63ae
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s10"], "alphabets": "abcd", "accepting_states": ["s2", "s4", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s10"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s1"]}]}
4
{"a":{"s0":"s2","s1":"s3","s2":"s2","s3":"s1","s4":"s5","s5":"s1","s6":"s8","s7":"s10","s8":"s3","s9":"s4","s10":"s8"},"b":{"s0":"s0","s1":"s9","s2":"s0","s3":"s1","s4":"s5","s5":"s6","s6":"s4","s7":"s0","s8":"s3","s9":"s1","s10":"s4"},"c":{"s0":"s5","s1":"s10","s2":"s2","s3":"s7","s4":"s6","s5":"s3","s6":"s4","s7":"s3","s8":"s6","s9":"s8","s10":"s7"},"d":{"s0":"s3","s1":"s2","s2":"s1","s3":"s4","s4":"s2","s5":"s0","s6":"s9","s7":"s7","s8":"s1","s9":"s2","s10":"s1"}}
Given the following FSM: a b c d s0 s2 s0 s5 s3 s1 s3 s9 s10 s2 s2 s2 s0 s2 s1 s3 s1 s1 s7 s4 s4 s5 s5 s6 s2 s5 s1 s6 s3 s0 s6 s8 s4 s4 s9 s7 s10 s0 s3 s7 s8 s3 s3 s6 s1 s9 s4 s1 s8 s2 s10 s8 s4 s7 s1 If we are in state s10 and the input is b, what state will we be in next?
s4
208e8f08-304a-4cb0-b633-235f1704733a
3266c28b-18e8-428c-8f45-c6280bbc5c12
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s10", "s11", "s12"], "alphabets": "abcdefgh", "accepting_states": ["s11", "s10", "s1", "s7", "s3", "s5", "s12", "s9", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s10"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s10"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s10"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s10"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s11"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s12"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s12"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s12"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s10"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s12"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s12"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s12"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s12"]}, {"fromState": "s7", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s10"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s9"]}, {"fromState": "s8", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "g", "toStates": ["s9"]}, {"fromState": "s9", "symbol": "h", "toStates": ["s9"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s10", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s10", "symbol": "f", "toStates": ["s11"]}, {"fromState": "s10", "symbol": "g", "toStates": ["s9"]}, {"fromState": "s10", "symbol": "h", "toStates": ["s11"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s11", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s11", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s11", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s11", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s11", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s11", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s11", "symbol": "h", "toStates": ["s8"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "b", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s12", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s12", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s12", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s12", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s12", "symbol": "h", "toStates": ["s3"]}]}
5
{"a":{"s0":"s8","s1":"s2","s2":"s11","s3":"s0","s4":"s5","s5":"s11","s6":"s3","s7":"s0","s8":"s4","s9":"s5","s10":"s4","s11":"s5","s12":"s12"},"b":{"s0":"s0","s1":"s6","s2":"s3","s3":"s4","s4":"s3","s5":"s5","s6":"s2","s7":"s9","s8":"s2","s9":"s8","s10":"s8","s11":"s3","s12":"s12"},"c":{"s0":"s8","s1":"s10","s2":"s0","s3":"s1","s4":"s3","s5":"s2","s6":"s12","s7":"s2","s8":"s4","s9":"s2","s10":"s3","s11":"s5","s12":"s6"},"d":{"s0":"s10","s1":"s11","s2":"s4","s3":"s0","s4":"s8","s5":"s10","s6":"s2","s7":"s3","s8":"s0","s9":"s3","s10":"s5","s11":"s1","s12":"s9"},"e":{"s0":"s3","s1":"s2","s2":"s4","s3":"s12","s4":"s12","s5":"s0","s6":"s3","s7":"s9","s8":"s10","s9":"s5","s10":"s6","s11":"s7","s12":"s3"},"f":{"s0":"s10","s1":"s2","s2":"s1","s3":"s6","s4":"s3","s5":"s1","s6":"s12","s7":"s12","s8":"s1","s9":"s5","s10":"s11","s11":"s3","s12":"s1"},"g":{"s0":"s10","s1":"s1","s2":"s2","s3":"s8","s4":"s4","s5":"s6","s6":"s0","s7":"s12","s8":"s9","s9":"s9","s10":"s9","s11":"s3","s12":"s6"},"h":{"s0":"s3","s1":"s1","s2":"s8","s3":"s12","s4":"s8","s5":"s3","s6":"s3","s7":"s3","s8":"s7","s9":"s9","s10":"s11","s11":"s8","s12":"s3"}}
Given the following FSM: a b c d e f g h s0 s8 s0 s8 s10 s3 s10 s10 s3 s1 s2 s6 s10 s11 s2 s2 s1 s1 s2 s11 s3 s0 s4 s4 s1 s2 s8 s3 s0 s4 s1 s0 s12 s6 s8 s12 s4 s5 s3 s3 s8 s12 s3 s4 s8 s5 s11 s5 s2 s10 s0 s1 s6 s3 s6 s3 s2 s12 s2 s3 s12 s0 s3 s7 s0 s9 s2 s3 s9 s12 s12 s3 s8 s4 s2 s4 s0 s10 s1 s9 s7 s9 s5 s8 s2 s3 s5 s5 s9 s9 s10 s4 s8 s3 s5 s6 s11 s9 s11 s11 s5 s3 s5 s1 s7 s3 s3 s8 s12 s12 s12 s6 s9 s3 s1 s6 s3 If we are in state s4 and the input is d, what state will we be in next?
s8
c697f0d1-1b1f-4bf6-9ea1-e2f3db5c6f36
4c049dde-9a9f-4fb5-9e5d-72c81c9d8c40
{"states": ["s0"], "alphabets": "abcdefghi", "accepting_states": ["s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s0"]}]}
3
{"a":{"s0":"s0"},"b":{"s0":"s0"},"c":{"s0":"s0"},"d":{"s0":"s0"},"e":{"s0":"s0"},"f":{"s0":"s0"},"g":{"s0":"s0"},"h":{"s0":"s0"},"i":{"s0":"s0"}}
Given the following FSM: a b c d e f g h i s0 s0 s0 s0 s0 s0 s0 s0 s0 s0 If we are in state s0 and the input is g, what state will we be in next?
s0
f8310bfb-e7fd-49b6-a1d9-c59757bcb405
de771eb2-1b24-480f-b29a-0333ac36a4a9
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcdefghij", "accepting_states": ["s7", "s4", "s1", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "j", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "j", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "i", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "j", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "i", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "j", "toStates": ["s7"]}]}
4
{"a":{"s0":"s5","s1":"s3","s2":"s5","s3":"s6","s4":"s6","s5":"s7","s6":"s4","s7":"s7"},"b":{"s0":"s7","s1":"s2","s2":"s7","s3":"s1","s4":"s0","s5":"s7","s6":"s1","s7":"s7"},"c":{"s0":"s4","s1":"s6","s2":"s6","s3":"s4","s4":"s3","s5":"s4","s6":"s3","s7":"s5"},"d":{"s0":"s4","s1":"s3","s2":"s0","s3":"s1","s4":"s6","s5":"s7","s6":"s6","s7":"s3"},"e":{"s0":"s7","s1":"s6","s2":"s7","s3":"s7","s4":"s6","s5":"s7","s6":"s1","s7":"s6"},"f":{"s0":"s4","s1":"s7","s2":"s5","s3":"s0","s4":"s4","s5":"s4","s6":"s0","s7":"s0"},"g":{"s0":"s1","s1":"s7","s2":"s7","s3":"s4","s4":"s0","s5":"s1","s6":"s0","s7":"s1"},"h":{"s0":"s5","s1":"s7","s2":"s5","s3":"s1","s4":"s6","s5":"s3","s6":"s2","s7":"s6"},"i":{"s0":"s2","s1":"s3","s2":"s4","s3":"s5","s4":"s3","s5":"s0","s6":"s7","s7":"s4"},"j":{"s0":"s1","s1":"s0","s2":"s1","s3":"s6","s4":"s1","s5":"s4","s6":"s7","s7":"s7"}}
Given the following FSM: a b c d e f g h i j s0 s5 s7 s4 s4 s7 s4 s1 s5 s2 s1 s1 s3 s2 s6 s3 s6 s7 s7 s7 s3 s0 s2 s5 s7 s6 s0 s7 s5 s7 s5 s4 s1 s3 s6 s1 s4 s1 s7 s0 s4 s1 s5 s6 s4 s6 s0 s3 s6 s6 s4 s0 s6 s3 s1 s5 s7 s7 s4 s7 s7 s4 s1 s3 s0 s4 s6 s4 s1 s3 s6 s1 s0 s0 s2 s7 s7 s7 s7 s7 s5 s3 s6 s0 s1 s6 s4 s7 If we are in state s3 and the input is i, what state will we be in next?
s5
61d7b836-4c01-4777-9803-e9c2f483739c
2655dd02-a3e4-4dfb-aef9-5700a2c0196e
{"states": ["s0"], "alphabets": "abc", "accepting_states": ["s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}]}
1
{"a":{"s0":"s0"},"b":{"s0":"s0"},"c":{"s0":"s0"}}
Given the following FSM: a b c s0 s0 s0 s0 If we are in state s0 and the input is c, what state will we be in next?
s0
34ec1203-d6c7-4130-9d7a-1ba28b2cd3cb
716c2163-1c7b-4001-ab23-e79685ab2924
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9"], "alphabets": "abcdef", "accepting_states": ["s2", "s4", "s8", "s1", "s7", "s3", "s6", "s9"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s9"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "f", "toStates": ["s0"]}]}
4
{"a":{"s0":"s4","s1":"s7","s2":"s3","s3":"s3","s4":"s5","s5":"s1","s6":"s7","s7":"s7","s8":"s2","s9":"s0"},"b":{"s0":"s7","s1":"s9","s2":"s2","s3":"s4","s4":"s6","s5":"s1","s6":"s3","s7":"s4","s8":"s3","s9":"s2"},"c":{"s0":"s7","s1":"s4","s2":"s3","s3":"s0","s4":"s1","s5":"s4","s6":"s4","s7":"s5","s8":"s5","s9":"s3"},"d":{"s0":"s6","s1":"s5","s2":"s2","s3":"s5","s4":"s2","s5":"s2","s6":"s7","s7":"s8","s8":"s3","s9":"s3"},"e":{"s0":"s6","s1":"s8","s2":"s5","s3":"s9","s4":"s8","s5":"s4","s6":"s6","s7":"s2","s8":"s0","s9":"s2"},"f":{"s0":"s7","s1":"s9","s2":"s2","s3":"s1","s4":"s2","s5":"s0","s6":"s9","s7":"s0","s8":"s4","s9":"s0"}}
Given the following FSM: a b c d e f s0 s4 s7 s7 s6 s6 s7 s1 s7 s9 s4 s5 s8 s9 s2 s3 s2 s3 s2 s5 s2 s3 s3 s4 s0 s5 s9 s1 s4 s5 s6 s1 s2 s8 s2 s5 s1 s1 s4 s2 s4 s0 s6 s7 s3 s4 s7 s6 s9 s7 s7 s4 s5 s8 s2 s0 s8 s2 s3 s5 s3 s0 s4 s9 s0 s2 s3 s3 s2 s0 If we are in state s3 and the input is c, what state will we be in next?
s0
7f63528a-e8ff-4cde-a89d-f704d2e799a6
57d6caac-de5c-43e9-9c64-89376e294247
{"states": ["s0", "s1"], "alphabets": "abcd", "accepting_states": ["s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}]}
2
{"a":{"s0":"s1","s1":"s0"},"b":{"s0":"s0","s1":"s0"},"c":{"s0":"s1","s1":"s1"},"d":{"s0":"s0","s1":"s0"}}
Given the following FSM: a b c d s0 s1 s0 s1 s0 s1 s0 s0 s1 s0 If we are in state s0 and the input is b, what state will we be in next?
s0
58142cb1-19bf-4b4e-a29c-be768c435399
2e954d4a-3c1a-4a9f-a7c2-69acb8c5c0fd
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s8", "s9", "s10", "s11"], "alphabets": "ab", "accepting_states": ["s10", "s3", "s5", "s4", "s8", "s2", "s0", "s9", "s11", "s1", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s11"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s11", "symbol": "b", "toStates": ["s10"]}]}
4
{"a":{"s0":"s8","s1":"s5","s2":"s3","s3":"s10","s4":"s0","s5":"s1","s6":"s10","s8":"s5","s9":"s6","s10":"s10","s11":"s3"},"b":{"s0":"s2","s1":"s4","s2":"s9","s3":"s6","s4":"s0","s5":"s8","s6":"s5","s8":"s11","s9":"s9","s10":"s2","s11":"s10"}}
Given the following FSM: a b s0 s8 s2 s1 s5 s4 s2 s3 s9 s3 s10 s6 s4 s0 s0 s5 s1 s8 s6 s10 s5 s8 s5 s11 s9 s6 s9 s10 s10 s2 s11 s3 s10 If we are in state s8 and the input is a, what state will we be in next?
s5
5aeb08d6-de38-4411-a8f5-efbd6eef8f6f
3dffc61c-9b27-45ea-8347-1589e6684596
{"states": ["s0", "s1", "s2"], "alphabets": "abcdefg", "accepting_states": ["s1", "s2", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}]}
3
{"a":{"s0":"s1","s1":"s1","s2":"s1"},"b":{"s0":"s1","s1":"s2","s2":"s0"},"c":{"s0":"s1","s1":"s1","s2":"s2"},"d":{"s0":"s0","s1":"s0","s2":"s1"},"e":{"s0":"s0","s1":"s1","s2":"s2"},"f":{"s0":"s1","s1":"s1","s2":"s2"},"g":{"s0":"s0","s1":"s0","s2":"s2"}}
Given the following FSM: a b c d e f g s0 s1 s1 s1 s0 s0 s1 s0 s1 s1 s2 s1 s0 s1 s1 s0 s2 s1 s0 s2 s1 s2 s2 s2 If we are in state s2 and the input is d, what state will we be in next?
s1
4da4798f-2758-4a37-9e80-2823f7bc19d3
67779902-d979-4ef6-894c-f5b8b2cb8fbf
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s10", "s11", "s12", "s13"], "alphabets": "abcde", "accepting_states": ["s11", "s5", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s13"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s11"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s13"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s10"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s11"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s9", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s10", "symbol": "e", "toStates": ["s13"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s11", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s11", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s11", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s11", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s12", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s12", "symbol": "c", "toStates": ["s13"]}, {"fromState": "s12", "symbol": "d", "toStates": ["s10"]}, {"fromState": "s12", "symbol": "e", "toStates": ["s9"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s13", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s13", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s13", "symbol": "e", "toStates": ["s4"]}]}
4
{"a":{"s0":"s4","s1":"s4","s2":"s3","s3":"s11","s4":"s13","s5":"s12","s6":"s7","s7":"s8","s8":"s12","s9":"s9","s10":"s3","s11":"s13","s12":"s3","s13":"s9"},"b":{"s0":"s5","s1":"s5","s2":"s4","s3":"s10","s4":"s10","s5":"s3","s6":"s7","s7":"s9","s8":"s6","s9":"s7","s10":"s2","s11":"s1","s12":"s10","s13":"s3"},"c":{"s0":"s2","s1":"s13","s2":"s5","s3":"s5","s4":"s1","s5":"s6","s6":"s2","s7":"s3","s8":"s3","s9":"s4","s10":"s9","s11":"s5","s12":"s13","s13":"s4"},"d":{"s0":"s3","s1":"s2","s2":"s8","s3":"s13","s4":"s1","s5":"s13","s6":"s7","s7":"s0","s8":"s8","s9":"s9","s10":"s7","s11":"s5","s12":"s10","s13":"s8"},"e":{"s0":"s1","s1":"s0","s2":"s10","s3":"s11","s4":"s4","s5":"s10","s6":"s11","s7":"s2","s8":"s7","s9":"s5","s10":"s13","s11":"s8","s12":"s9","s13":"s4"}}
Given the following FSM: a b c d e s0 s4 s5 s2 s3 s1 s1 s4 s5 s13 s2 s0 s2 s3 s4 s5 s8 s10 s3 s11 s10 s5 s13 s11 s4 s13 s10 s1 s1 s4 s5 s12 s3 s6 s13 s10 s6 s7 s7 s2 s7 s11 s7 s8 s9 s3 s0 s2 s8 s12 s6 s3 s8 s7 s9 s9 s7 s4 s9 s5 s10 s3 s2 s9 s7 s13 s11 s13 s1 s5 s5 s8 s12 s3 s10 s13 s10 s9 s13 s9 s3 s4 s8 s4 If we are in state s11 and the input is c, what state will we be in next?
s5
23a7bb17-8cae-4885-abd6-f759172a8149
0d8ceea0-0b5b-4dd1-a617-ce298b71948b
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s10", "s11"], "alphabets": "abcd", "accepting_states": ["s6", "s1", "s9", "s11", "s3", "s2", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s11"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s11"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s11"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s11"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s11"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s10"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s11", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s11", "symbol": "c", "toStates": ["s11"]}, {"fromState": "s11", "symbol": "d", "toStates": ["s2"]}]}
4
{"a":{"s0":"s4","s1":"s0","s2":"s3","s3":"s10","s4":"s4","s5":"s10","s6":"s1","s7":"s6","s8":"s7","s9":"s7","s10":"s0","s11":"s5"},"b":{"s0":"s1","s1":"s4","s2":"s1","s3":"s11","s4":"s11","s5":"s3","s6":"s0","s7":"s3","s8":"s8","s9":"s1","s10":"s2","s11":"s3"},"c":{"s0":"s7","s1":"s11","s2":"s0","s3":"s11","s4":"s8","s5":"s3","s6":"s11","s7":"s5","s8":"s8","s9":"s1","s10":"s5","s11":"s11"},"d":{"s0":"s4","s1":"s3","s2":"s4","s3":"s9","s4":"s3","s5":"s3","s6":"s9","s7":"s9","s8":"s1","s9":"s0","s10":"s10","s11":"s2"}}
Given the following FSM: a b c d s0 s4 s1 s7 s4 s1 s0 s4 s11 s3 s2 s3 s1 s0 s4 s3 s10 s11 s11 s9 s4 s4 s11 s8 s3 s5 s10 s3 s3 s3 s6 s1 s0 s11 s9 s7 s6 s3 s5 s9 s8 s7 s8 s8 s1 s9 s7 s1 s1 s0 s10 s0 s2 s5 s10 s11 s5 s3 s11 s2 If we are in state s9 and the input is b, what state will we be in next?
s1
b086a9c9-d5e4-46d9-8559-2c305fbfc821
dc251a6c-4040-4674-9a1f-3195e8eb7e2c
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9"], "alphabets": "abc", "accepting_states": ["s9", "s5", "s4", "s7", "s6", "s3", "s0", "s2", "s1", "s8"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s4"]}]}
3
{"a":{"s0":"s8","s1":"s8","s2":"s4","s3":"s7","s4":"s2","s5":"s3","s6":"s6","s7":"s9","s8":"s9","s9":"s8"},"b":{"s0":"s1","s1":"s0","s2":"s7","s3":"s8","s4":"s6","s5":"s5","s6":"s7","s7":"s3","s8":"s0","s9":"s5"},"c":{"s0":"s9","s1":"s3","s2":"s1","s3":"s6","s4":"s6","s5":"s3","s6":"s8","s7":"s3","s8":"s6","s9":"s4"}}
Given the following FSM: a b c s0 s8 s1 s9 s1 s8 s0 s3 s2 s4 s7 s1 s3 s7 s8 s6 s4 s2 s6 s6 s5 s3 s5 s3 s6 s6 s7 s8 s7 s9 s3 s3 s8 s9 s0 s6 s9 s8 s5 s4 If we are in state s3 and the input is c, what state will we be in next?
s6
7f246c75-c815-4e44-95e3-40ca11e11f64
cee388ab-852f-48b9-83e8-24b60fca1970
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9"], "alphabets": "abcdef", "accepting_states": ["s3", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "f", "toStates": ["s1"]}]}
4
{"a":{"s0":"s1","s1":"s0","s2":"s1","s3":"s2","s4":"s8","s5":"s0","s6":"s2","s7":"s0","s8":"s8","s9":"s9"},"b":{"s0":"s0","s1":"s2","s2":"s8","s3":"s4","s4":"s1","s5":"s3","s6":"s9","s7":"s4","s8":"s9","s9":"s4"},"c":{"s0":"s0","s1":"s2","s2":"s4","s3":"s0","s4":"s7","s5":"s4","s6":"s2","s7":"s1","s8":"s9","s9":"s7"},"d":{"s0":"s7","s1":"s1","s2":"s7","s3":"s9","s4":"s4","s5":"s2","s6":"s2","s7":"s4","s8":"s8","s9":"s7"},"e":{"s0":"s8","s1":"s4","s2":"s2","s3":"s7","s4":"s0","s5":"s0","s6":"s9","s7":"s3","s8":"s5","s9":"s1"},"f":{"s0":"s7","s1":"s8","s2":"s7","s3":"s8","s4":"s9","s5":"s8","s6":"s8","s7":"s6","s8":"s7","s9":"s1"}}
Given the following FSM: a b c d e f s0 s1 s0 s0 s7 s8 s7 s1 s0 s2 s2 s1 s4 s8 s2 s1 s8 s4 s7 s2 s7 s3 s2 s4 s0 s9 s7 s8 s4 s8 s1 s7 s4 s0 s9 s5 s0 s3 s4 s2 s0 s8 s6 s2 s9 s2 s2 s9 s8 s7 s0 s4 s1 s4 s3 s6 s8 s8 s9 s9 s8 s5 s7 s9 s9 s4 s7 s7 s1 s1 If we are in state s0 and the input is b, what state will we be in next?
s0
5b488d1f-a134-493f-b322-7a27e4200726
9ab3233d-487e-434d-aec5-39d70e147d5b
{"states": ["s0"], "alphabets": "abcdef", "accepting_states": ["s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}]}
2
{"a":{"s0":"s0"},"b":{"s0":"s0"},"c":{"s0":"s0"},"d":{"s0":"s0"},"e":{"s0":"s0"},"f":{"s0":"s0"}}
Given the following FSM: a b c d e f s0 s0 s0 s0 s0 s0 s0 If we are in state s0 and the input is e, what state will we be in next?
s0
e2532b54-3f4e-4712-ac5d-0bc6bbb7f51f
99c687be-9f5d-4eef-ab21-84ea2e88dc68
{"states": ["s0", "s1"], "alphabets": "abcdefghi", "accepting_states": ["s0", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"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": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}]}
3
{"a":{"s0":"s1","s1":"s1"},"b":{"s0":"s0","s1":"s1"},"c":{"s0":"s0","s1":"s0"},"d":{"s0":"s1","s1":"s0"},"e":{"s0":"s1","s1":"s0"},"f":{"s0":"s0","s1":"s1"},"g":{"s0":"s1","s1":"s0"},"h":{"s0":"s0","s1":"s1"},"i":{"s0":"s0","s1":"s0"}}
Given the following FSM: a b c d e f g h i s0 s1 s0 s0 s1 s1 s0 s1 s0 s0 s1 s1 s1 s0 s0 s0 s1 s0 s1 s0 If we are in state s1 and the input is f, what state will we be in next?
s1
6a54826a-a609-4624-80dd-65c2b8e24f77
29ac50b9-f5aa-47fc-8c17-38bf791039f6
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9"], "alphabets": "abc", "accepting_states": ["s7", "s1", "s2", "s4", "s5", "s6", "s3", "s0", "s8", "s9"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s8"]}]}
3
{"a":{"s0":"s3","s1":"s5","s2":"s3","s3":"s5","s4":"s3","s5":"s7","s6":"s0","s7":"s4","s8":"s1","s9":"s9"},"b":{"s0":"s1","s1":"s3","s2":"s1","s3":"s1","s4":"s6","s5":"s4","s6":"s9","s7":"s0","s8":"s8","s9":"s3"},"c":{"s0":"s6","s1":"s2","s2":"s5","s3":"s8","s4":"s8","s5":"s5","s6":"s4","s7":"s3","s8":"s8","s9":"s8"}}
Given the following FSM: a b c s0 s3 s1 s6 s1 s5 s3 s2 s2 s3 s1 s5 s3 s5 s1 s8 s4 s3 s6 s8 s5 s7 s4 s5 s6 s0 s9 s4 s7 s4 s0 s3 s8 s1 s8 s8 s9 s9 s3 s8 If we are in state s4 and the input is a, what state will we be in next?
s3
fd149d83-550c-480b-a70e-a19512c3ba62
0d34213f-2be3-4f74-ad0a-a04f3842abc7
{"states": ["s0"], "alphabets": "abcdefghi", "accepting_states": ["s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s0"]}]}
3
{"a":{"s0":"s0"},"b":{"s0":"s0"},"c":{"s0":"s0"},"d":{"s0":"s0"},"e":{"s0":"s0"},"f":{"s0":"s0"},"g":{"s0":"s0"},"h":{"s0":"s0"},"i":{"s0":"s0"}}
Given the following FSM: a b c d e f g h i s0 s0 s0 s0 s0 s0 s0 s0 s0 s0 If we are in state s0 and the input is g, what state will we be in next?
s0
dbe3c9d8-4c8e-4fb0-8370-1e5089d7a525
8b669eea-0ee2-4d0c-99d7-3f9402d4603a
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcde", "accepting_states": ["s4", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "e", "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": ["s6"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s3"]}]}
3
{"a":{"s0":"s5","s1":"s2","s2":"s4","s3":"s4","s4":"s4","s5":"s5","s6":"s0"},"b":{"s0":"s0","s1":"s5","s2":"s6","s3":"s0","s4":"s0","s5":"s5","s6":"s1"},"c":{"s0":"s6","s1":"s5","s2":"s2","s3":"s5","s4":"s1","s5":"s0","s6":"s5"},"d":{"s0":"s6","s1":"s2","s2":"s5","s3":"s3","s4":"s6","s5":"s6","s6":"s4"},"e":{"s0":"s2","s1":"s3","s2":"s2","s3":"s1","s4":"s4","s5":"s5","s6":"s3"}}
Given the following FSM: a b c d e s0 s5 s0 s6 s6 s2 s1 s2 s5 s5 s2 s3 s2 s4 s6 s2 s5 s2 s3 s4 s0 s5 s3 s1 s4 s4 s0 s1 s6 s4 s5 s5 s5 s0 s6 s5 s6 s0 s1 s5 s4 s3 If we are in state s6 and the input is d, what state will we be in next?
s4
e80bc4eb-806b-43c1-be3c-44149c860143
fb11d145-b642-4035-a1c0-20e4779d9c59
{"states": ["s0", "s2", "s10"], "alphabets": "ab", "accepting_states": ["s0", "s10", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s2"]}]}
4
{"a":{"s0":"s2","s2":"s0","s10":"s2"},"b":{"s0":"s10","s2":"s0","s10":"s2"}}
Given the following FSM: a b s0 s2 s10 s2 s0 s0 s10 s2 s2 If we are in state s0 and the input is b, what state will we be in next?
s10
68e67c86-c156-4ae0-a6e1-633dd311459a
0ab71d0e-f806-4c9f-b6dd-2d34424a8946
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcdef", "accepting_states": ["s2", "s6", "s5", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s1"]}]}
3
{"a":{"s0":"s3","s1":"s0","s2":"s6","s3":"s4","s4":"s6","s5":"s1","s6":"s4"},"b":{"s0":"s4","s1":"s2","s2":"s5","s3":"s0","s4":"s0","s5":"s2","s6":"s2"},"c":{"s0":"s2","s1":"s1","s2":"s6","s3":"s1","s4":"s6","s5":"s0","s6":"s2"},"d":{"s0":"s1","s1":"s0","s2":"s5","s3":"s5","s4":"s0","s5":"s5","s6":"s5"},"e":{"s0":"s6","s1":"s2","s2":"s3","s3":"s5","s4":"s2","s5":"s3","s6":"s5"},"f":{"s0":"s1","s1":"s4","s2":"s4","s3":"s2","s4":"s3","s5":"s0","s6":"s1"}}
Given the following FSM: a b c d e f s0 s3 s4 s2 s1 s6 s1 s1 s0 s2 s1 s0 s2 s4 s2 s6 s5 s6 s5 s3 s4 s3 s4 s0 s1 s5 s5 s2 s4 s6 s0 s6 s0 s2 s3 s5 s1 s2 s0 s5 s3 s0 s6 s4 s2 s2 s5 s5 s1 If we are in state s4 and the input is f, what state will we be in next?
s3
24550825-5c92-4833-8a35-003c62233041
e6120687-b39b-4f78-b78f-857cb9e69b9b
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcdefg", "accepting_states": ["s0", "s2", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s3"]}]}
3
{"a":{"s0":"s3","s1":"s2","s2":"s0","s3":"s2"},"b":{"s0":"s1","s1":"s2","s2":"s1","s3":"s1"},"c":{"s0":"s2","s1":"s1","s2":"s2","s3":"s3"},"d":{"s0":"s1","s1":"s3","s2":"s0","s3":"s1"},"e":{"s0":"s2","s1":"s0","s2":"s3","s3":"s1"},"f":{"s0":"s2","s1":"s1","s2":"s1","s3":"s1"},"g":{"s0":"s1","s1":"s2","s2":"s0","s3":"s3"}}
Given the following FSM: a b c d e f g s0 s3 s1 s2 s1 s2 s2 s1 s1 s2 s2 s1 s3 s0 s1 s2 s2 s0 s1 s2 s0 s3 s1 s0 s3 s2 s1 s3 s1 s1 s1 s3 If we are in state s3 and the input is d, what state will we be in next?
s1
223d31e6-ad70-47e7-9766-820071bdbbf5
2c8e75a3-e536-4222-a1a8-5b18656fb283
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcdefghi", "accepting_states": ["s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "i", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "i", "toStates": ["s3"]}]}
4
{"a":{"s0":"s2","s1":"s6","s2":"s2","s3":"s0","s4":"s4","s5":"s0","s6":"s0"},"b":{"s0":"s2","s1":"s2","s2":"s4","s3":"s3","s4":"s6","s5":"s2","s6":"s5"},"c":{"s0":"s1","s1":"s6","s2":"s6","s3":"s5","s4":"s2","s5":"s0","s6":"s5"},"d":{"s0":"s6","s1":"s1","s2":"s1","s3":"s3","s4":"s0","s5":"s5","s6":"s5"},"e":{"s0":"s6","s1":"s3","s2":"s1","s3":"s5","s4":"s4","s5":"s4","s6":"s6"},"f":{"s0":"s2","s1":"s6","s2":"s6","s3":"s4","s4":"s6","s5":"s2","s6":"s3"},"g":{"s0":"s4","s1":"s0","s2":"s0","s3":"s0","s4":"s5","s5":"s6","s6":"s0"},"h":{"s0":"s4","s1":"s2","s2":"s3","s3":"s3","s4":"s3","s5":"s3","s6":"s5"},"i":{"s0":"s1","s1":"s1","s2":"s3","s3":"s0","s4":"s0","s5":"s5","s6":"s3"}}
Given the following FSM: a b c d e f g h i s0 s2 s2 s1 s6 s6 s2 s4 s4 s1 s1 s6 s2 s6 s1 s3 s6 s0 s2 s1 s2 s2 s4 s6 s1 s1 s6 s0 s3 s3 s3 s0 s3 s5 s3 s5 s4 s0 s3 s0 s4 s4 s6 s2 s0 s4 s6 s5 s3 s0 s5 s0 s2 s0 s5 s4 s2 s6 s3 s5 s6 s0 s5 s5 s5 s6 s3 s0 s5 s3 If we are in state s6 and the input is f, what state will we be in next?
s3
f7d8b4ce-f825-49b5-bcd4-74798b754243
e9103834-791d-4f5e-a0e8-109f0a4e9f4c
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcdefghi", "accepting_states": ["s6", "s4", "s0", "s2", "s3", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "i", "toStates": ["s4"]}]}
4
{"a":{"s0":"s1","s1":"s6","s2":"s5","s3":"s0","s4":"s1","s5":"s5","s6":"s5"},"b":{"s0":"s6","s1":"s2","s2":"s1","s3":"s4","s4":"s4","s5":"s2","s6":"s3"},"c":{"s0":"s3","s1":"s2","s2":"s4","s3":"s6","s4":"s1","s5":"s5","s6":"s3"},"d":{"s0":"s6","s1":"s3","s2":"s5","s3":"s2","s4":"s1","s5":"s1","s6":"s6"},"e":{"s0":"s2","s1":"s3","s2":"s3","s3":"s5","s4":"s6","s5":"s1","s6":"s3"},"f":{"s0":"s0","s1":"s1","s2":"s1","s3":"s1","s4":"s3","s5":"s0","s6":"s3"},"g":{"s0":"s4","s1":"s1","s2":"s6","s3":"s1","s4":"s0","s5":"s2","s6":"s5"},"h":{"s0":"s4","s1":"s1","s2":"s1","s3":"s6","s4":"s5","s5":"s0","s6":"s5"},"i":{"s0":"s6","s1":"s4","s2":"s2","s3":"s6","s4":"s6","s5":"s3","s6":"s4"}}
Given the following FSM: a b c d e f g h i s0 s1 s6 s3 s6 s2 s0 s4 s4 s6 s1 s6 s2 s2 s3 s3 s1 s1 s1 s4 s2 s5 s1 s4 s5 s3 s1 s6 s1 s2 s3 s0 s4 s6 s2 s5 s1 s1 s6 s6 s4 s1 s4 s1 s1 s6 s3 s0 s5 s6 s5 s5 s2 s5 s1 s1 s0 s2 s0 s3 s6 s5 s3 s3 s6 s3 s3 s5 s5 s4 If we are in state s4 and the input is g, what state will we be in next?
s0
86ccf0f5-bc68-4db4-9de3-b7338177ac92
73ee794b-3122-4f90-a3ce-95ba8d59ea11
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdefg", "accepting_states": ["s8", "s7", "s2", "s6", "s4", "s3", "s5", "s0", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s5"]}]}
4
{"a":{"s0":"s2","s1":"s2","s2":"s6","s3":"s2","s4":"s5","s5":"s8","s6":"s8","s7":"s1","s8":"s8"},"b":{"s0":"s3","s1":"s5","s2":"s2","s3":"s3","s4":"s2","s5":"s1","s6":"s6","s7":"s4","s8":"s1"},"c":{"s0":"s1","s1":"s2","s2":"s7","s3":"s3","s4":"s0","s5":"s2","s6":"s3","s7":"s0","s8":"s0"},"d":{"s0":"s6","s1":"s3","s2":"s0","s3":"s3","s4":"s2","s5":"s8","s6":"s2","s7":"s1","s8":"s6"},"e":{"s0":"s1","s1":"s6","s2":"s1","s3":"s3","s4":"s1","s5":"s3","s6":"s4","s7":"s1","s8":"s2"},"f":{"s0":"s1","s1":"s7","s2":"s5","s3":"s8","s4":"s4","s5":"s7","s6":"s4","s7":"s2","s8":"s0"},"g":{"s0":"s3","s1":"s0","s2":"s0","s3":"s6","s4":"s8","s5":"s6","s6":"s5","s7":"s8","s8":"s5"}}
Given the following FSM: a b c d e f g s0 s2 s3 s1 s6 s1 s1 s3 s1 s2 s5 s2 s3 s6 s7 s0 s2 s6 s2 s7 s0 s1 s5 s0 s3 s2 s3 s3 s3 s3 s8 s6 s4 s5 s2 s0 s2 s1 s4 s8 s5 s8 s1 s2 s8 s3 s7 s6 s6 s8 s6 s3 s2 s4 s4 s5 s7 s1 s4 s0 s1 s1 s2 s8 s8 s8 s1 s0 s6 s2 s0 s5 If we are in state s7 and the input is e, what state will we be in next?
s1
65889068-5442-4c65-98b2-5635bd234ef0
421d739a-59a4-4e5f-b05a-f60a02156d6a
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s5", "s4", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "i", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "i", "toStates": ["s5"]}]}
4
{"a":{"s0":"s5","s1":"s3","s2":"s4","s3":"s6","s4":"s3","s5":"s3","s6":"s6"},"b":{"s0":"s1","s1":"s2","s2":"s3","s3":"s6","s4":"s2","s5":"s3","s6":"s0"},"c":{"s0":"s1","s1":"s0","s2":"s3","s3":"s1","s4":"s2","s5":"s6","s6":"s4"},"d":{"s0":"s6","s1":"s0","s2":"s3","s3":"s2","s4":"s3","s5":"s1","s6":"s1"},"e":{"s0":"s1","s1":"s3","s2":"s3","s3":"s0","s4":"s4","s5":"s5","s6":"s1"},"f":{"s0":"s6","s1":"s5","s2":"s4","s3":"s3","s4":"s1","s5":"s5","s6":"s5"},"g":{"s0":"s3","s1":"s1","s2":"s5","s3":"s3","s4":"s2","s5":"s4","s6":"s2"},"h":{"s0":"s1","s1":"s3","s2":"s3","s3":"s0","s4":"s5","s5":"s5","s6":"s6"},"i":{"s0":"s4","s1":"s2","s2":"s1","s3":"s0","s4":"s2","s5":"s5","s6":"s5"}}
Given the following FSM: a b c d e f g h i s0 s5 s1 s1 s6 s1 s6 s3 s1 s4 s1 s3 s2 s0 s0 s3 s5 s1 s3 s2 s2 s4 s3 s3 s3 s3 s4 s5 s3 s1 s3 s6 s6 s1 s2 s0 s3 s3 s0 s0 s4 s3 s2 s2 s3 s4 s1 s2 s5 s2 s5 s3 s3 s6 s1 s5 s5 s4 s5 s5 s6 s6 s0 s4 s1 s1 s5 s2 s6 s5 If we are in state s1 and the input is g, what state will we be in next?
s1
cb60ec7d-8d1a-4e52-966f-78acc6ea098b
c8089e1a-eeb1-4390-ab7a-581f203ac247
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s10"], "alphabets": "abcdefg", "accepting_states": ["s7", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s10"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s10"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s10"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s9"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s10"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s10"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s10"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s10"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s9", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s10", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s10", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "g", "toStates": ["s1"]}]}
4
{"a":{"s0":"s6","s1":"s9","s2":"s7","s3":"s2","s4":"s1","s5":"s4","s6":"s0","s7":"s5","s8":"s3","s9":"s10","s10":"s2"},"b":{"s0":"s7","s1":"s5","s2":"s8","s3":"s3","s4":"s5","s5":"s6","s6":"s6","s7":"s3","s8":"s7","s9":"s5","s10":"s0"},"c":{"s0":"s10","s1":"s3","s2":"s8","s3":"s3","s4":"s5","s5":"s9","s6":"s8","s7":"s7","s8":"s5","s9":"s4","s10":"s8"},"d":{"s0":"s3","s1":"s7","s2":"s6","s3":"s8","s4":"s3","s5":"s3","s6":"s1","s7":"s5","s8":"s5","s9":"s0","s10":"s4"},"e":{"s0":"s5","s1":"s6","s2":"s2","s3":"s0","s4":"s10","s5":"s4","s6":"s5","s7":"s10","s8":"s4","s9":"s6","s10":"s7"},"f":{"s0":"s10","s1":"s10","s2":"s4","s3":"s10","s4":"s10","s5":"s9","s6":"s10","s7":"s1","s8":"s5","s9":"s8","s10":"s0"},"g":{"s0":"s8","s1":"s9","s2":"s0","s3":"s10","s4":"s8","s5":"s7","s6":"s8","s7":"s4","s8":"s0","s9":"s1","s10":"s1"}}
Given the following FSM: a b c d e f g s0 s6 s7 s10 s3 s5 s10 s8 s1 s9 s5 s3 s7 s6 s10 s9 s2 s7 s8 s8 s6 s2 s4 s0 s3 s2 s3 s3 s8 s0 s10 s10 s4 s1 s5 s5 s3 s10 s10 s8 s5 s4 s6 s9 s3 s4 s9 s7 s6 s0 s6 s8 s1 s5 s10 s8 s7 s5 s3 s7 s5 s10 s1 s4 s8 s3 s7 s5 s5 s4 s5 s0 s9 s10 s5 s4 s0 s6 s8 s1 s10 s2 s0 s8 s4 s7 s0 s1 If we are in state s6 and the input is d, what state will we be in next?
s1
ae820e38-8afd-4793-a8a3-68c4d51786da
80c36a61-749a-40d6-9065-6fdd0be22d31
{"states": ["s0", "s3"], "alphabets": "ab", "accepting_states": ["s0", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}]}
2
{"a":{"s0":"s3","s3":"s3"},"b":{"s0":"s3","s3":"s0"}}
Given the following FSM: a b s0 s3 s3 s3 s3 s0 If we are in state s0 and the input is a, what state will we be in next?
s3
77779c03-dcdd-4a2c-b32d-f8b177a7785b
31b0ec1c-26d2-47b0-b757-522b6a2832e6
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s10", "s11"], "alphabets": "abcdefghi", "accepting_states": ["s7", "s11", "s5", "s4", "s10", "s3", "s9", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s10"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s9"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s10"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s11"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s11"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s11"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s11"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s10"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "i", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "i", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "h", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "i", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s9"]}, {"fromState": "s8", "symbol": "h", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s11"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s9", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "f", "toStates": ["s9"]}, {"fromState": "s9", "symbol": "g", "toStates": ["s11"]}, {"fromState": "s9", "symbol": "h", "toStates": ["s11"]}, {"fromState": "s9", "symbol": "i", "toStates": ["s7"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "e", "toStates": ["s9"]}, {"fromState": "s10", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "g", "toStates": ["s8"]}, {"fromState": "s10", "symbol": "h", "toStates": ["s10"]}, {"fromState": "s10", "symbol": "i", "toStates": ["s11"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s11", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s11", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s11", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s11", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s11", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s11", "symbol": "g", "toStates": ["s8"]}, {"fromState": "s11", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s11", "symbol": "i", "toStates": ["s8"]}]}
5
{"a":{"s0":"s1","s1":"s9","s2":"s3","s3":"s7","s4":"s2","s5":"s1","s6":"s9","s7":"s11","s8":"s9","s9":"s2","s10":"s4","s11":"s5"},"b":{"s0":"s5","s1":"s2","s2":"s0","s3":"s5","s4":"s9","s5":"s10","s6":"s4","s7":"s7","s8":"s10","s9":"s4","s10":"s7","s11":"s3"},"c":{"s0":"s5","s1":"s3","s2":"s7","s3":"s2","s4":"s11","s5":"s10","s6":"s2","s7":"s1","s8":"s8","s9":"s11","s10":"s6","s11":"s4"},"d":{"s0":"s7","s1":"s10","s2":"s1","s3":"s2","s4":"s4","s5":"s3","s6":"s5","s7":"s8","s8":"s9","s9":"s8","s10":"s2","s11":"s1"},"e":{"s0":"s10","s1":"s7","s2":"s2","s3":"s10","s4":"s11","s5":"s1","s6":"s1","s7":"s5","s8":"s6","s9":"s6","s10":"s9","s11":"s1"},"f":{"s0":"s3","s1":"s3","s2":"s6","s3":"s10","s4":"s2","s5":"s8","s6":"s2","s7":"s2","s8":"s7","s9":"s9","s10":"s2","s11":"s0"},"g":{"s0":"s1","s1":"s8","s2":"s8","s3":"s2","s4":"s5","s5":"s0","s6":"s8","s7":"s1","s8":"s9","s9":"s11","s10":"s8","s11":"s8"},"h":{"s0":"s9","s1":"s2","s2":"s11","s3":"s6","s4":"s0","s5":"s2","s6":"s8","s7":"s5","s8":"s8","s9":"s11","s10":"s10","s11":"s6"},"i":{"s0":"s7","s1":"s7","s2":"s8","s3":"s11","s4":"s8","s5":"s8","s6":"s10","s7":"s7","s8":"s1","s9":"s7","s10":"s11","s11":"s8"}}
Given the following FSM: a b c d e f g h i s0 s1 s5 s5 s7 s10 s3 s1 s9 s7 s1 s9 s2 s3 s10 s7 s3 s8 s2 s7 s2 s3 s0 s7 s1 s2 s6 s8 s11 s8 s3 s7 s5 s2 s2 s10 s10 s2 s6 s11 s4 s2 s9 s11 s4 s11 s2 s5 s0 s8 s5 s1 s10 s10 s3 s1 s8 s0 s2 s8 s6 s9 s4 s2 s5 s1 s2 s8 s8 s10 s7 s11 s7 s1 s8 s5 s2 s1 s5 s7 s8 s9 s10 s8 s9 s6 s7 s9 s8 s1 s9 s2 s4 s11 s8 s6 s9 s11 s11 s7 s10 s4 s7 s6 s2 s9 s2 s8 s10 s11 s11 s5 s3 s4 s1 s1 s0 s8 s6 s8 If we are in state s4 and the input is i, what state will we be in next?
s8
3c0bb110-5354-4d55-85a0-214133d41310
9312fae4-8b00-47c0-bd76-b83404d02fd9
{"states": ["s0", "s1", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s10", "s11", "s13"], "alphabets": "ab", "accepting_states": ["s11", "s0", "s1", "s3", "s10", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s13"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s13"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s11", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s13", "symbol": "b", "toStates": ["s7"]}]}
4
{"a":{"s0":"s4","s1":"s5","s3":"s1","s4":"s5","s5":"s8","s6":"s11","s7":"s3","s8":"s5","s9":"s1","s10":"s9","s11":"s4","s13":"s10"},"b":{"s0":"s5","s1":"s10","s3":"s13","s4":"s3","s5":"s8","s6":"s3","s7":"s4","s8":"s0","s9":"s13","s10":"s6","s11":"s0","s13":"s7"}}
Given the following FSM: a b s0 s4 s5 s1 s5 s10 s3 s1 s13 s4 s5 s3 s5 s8 s8 s6 s11 s3 s7 s3 s4 s8 s5 s0 s9 s1 s13 s10 s9 s6 s11 s4 s0 s13 s10 s7 If we are in state s8 and the input is a, what state will we be in next?
s5
6fca1f58-9660-46c3-8cb3-ce82b481c70f
7e2f4e3b-56b1-4ed2-b808-71c78ec20c50
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdefghij", "accepting_states": ["s4", "s8", "s7", "s1", "s2", "s6", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "j", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "i", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "j", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "i", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "j", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "i", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "j", "toStates": ["s5"]}]}
4
{"a":{"s0":"s8","s1":"s0","s2":"s8","s3":"s7","s4":"s4","s5":"s0","s6":"s7","s7":"s3","s8":"s4"},"b":{"s0":"s1","s1":"s7","s2":"s8","s3":"s8","s4":"s0","s5":"s7","s6":"s0","s7":"s0","s8":"s4"},"c":{"s0":"s3","s1":"s2","s2":"s5","s3":"s0","s4":"s5","s5":"s1","s6":"s4","s7":"s1","s8":"s5"},"d":{"s0":"s8","s1":"s2","s2":"s8","s3":"s8","s4":"s5","s5":"s4","s6":"s5","s7":"s7","s8":"s4"},"e":{"s0":"s5","s1":"s7","s2":"s6","s3":"s4","s4":"s7","s5":"s3","s6":"s8","s7":"s4","s8":"s6"},"f":{"s0":"s4","s1":"s8","s2":"s2","s3":"s1","s4":"s6","s5":"s0","s6":"s6","s7":"s7","s8":"s0"},"g":{"s0":"s0","s1":"s8","s2":"s8","s3":"s4","s4":"s3","s5":"s5","s6":"s8","s7":"s1","s8":"s1"},"h":{"s0":"s3","s1":"s6","s2":"s4","s3":"s8","s4":"s0","s5":"s1","s6":"s8","s7":"s0","s8":"s0"},"i":{"s0":"s2","s1":"s0","s2":"s4","s3":"s5","s4":"s0","s5":"s7","s6":"s2","s7":"s4","s8":"s4"},"j":{"s0":"s5","s1":"s5","s2":"s0","s3":"s7","s4":"s2","s5":"s1","s6":"s7","s7":"s0","s8":"s5"}}
Given the following FSM: a b c d e f g h i j s0 s8 s1 s3 s8 s5 s4 s0 s3 s2 s5 s1 s0 s7 s2 s2 s7 s8 s8 s6 s0 s5 s2 s8 s8 s5 s8 s6 s2 s8 s4 s4 s0 s3 s7 s8 s0 s8 s4 s1 s4 s8 s5 s7 s4 s4 s0 s5 s5 s7 s6 s3 s0 s0 s2 s5 s0 s7 s1 s4 s3 s0 s5 s1 s7 s1 s6 s7 s0 s4 s5 s8 s6 s8 s8 s2 s7 s7 s3 s0 s1 s7 s4 s7 s1 s0 s4 s0 s8 s4 s4 s5 s4 s6 s0 s1 s0 s4 s5 If we are in state s1 and the input is b, what state will we be in next?
s7
fb3ef23a-6074-4cb4-bf3d-2dede6f65631
51ab4171-9e5a-407a-97df-88ebfa4f7aa8
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9"], "alphabets": "abc", "accepting_states": ["s1", "s2", "s3", "s4", "s9", "s5", "s7", "s6", "s8"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s0"]}]}
3
{"a":{"s0":"s0","s1":"s7","s2":"s1","s3":"s4","s4":"s8","s5":"s8","s6":"s7","s7":"s5","s8":"s1","s9":"s0"},"b":{"s0":"s3","s1":"s9","s2":"s7","s3":"s6","s4":"s4","s5":"s9","s6":"s7","s7":"s1","s8":"s6","s9":"s2"},"c":{"s0":"s8","s1":"s5","s2":"s3","s3":"s2","s4":"s1","s5":"s8","s6":"s9","s7":"s6","s8":"s5","s9":"s0"}}
Given the following FSM: a b c s0 s0 s3 s8 s1 s7 s9 s5 s2 s1 s7 s3 s3 s4 s6 s2 s4 s8 s4 s1 s5 s8 s9 s8 s6 s7 s7 s9 s7 s5 s1 s6 s8 s1 s6 s5 s9 s0 s2 s0 If we are in state s7 and the input is a, what state will we be in next?
s5
eeb660db-0324-42e9-93cb-260f8c61fa56
689031c4-0a49-492b-bc22-afc722d29f0f
{"states": ["s0", "s1"], "alphabets": "a", "accepting_states": ["s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}]}
2
{"a":{"s0":"s1","s1":"s0"}}
Given the following FSM: a s0 s1 s1 s0 If we are in state s1 and the input is a, what state will we be in next?
s0
863c76b9-1fd6-427a-8504-370cdb326a44
14e11ac2-9929-4175-b9ae-651725ecb066
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s1"]}]}
3
{"a":{"s0":"s1","s1":"s0","s2":"s2","s3":"s4","s4":"s4"},"b":{"s0":"s3","s1":"s1","s2":"s2","s3":"s2","s4":"s4"},"c":{"s0":"s3","s1":"s0","s2":"s3","s3":"s1","s4":"s3"},"d":{"s0":"s3","s1":"s1","s2":"s2","s3":"s2","s4":"s1"},"e":{"s0":"s3","s1":"s2","s2":"s1","s3":"s0","s4":"s0"},"f":{"s0":"s0","s1":"s1","s2":"s0","s3":"s1","s4":"s0"},"g":{"s0":"s2","s1":"s0","s2":"s3","s3":"s2","s4":"s3"},"h":{"s0":"s2","s1":"s3","s2":"s2","s3":"s0","s4":"s1"},"i":{"s0":"s1","s1":"s2","s2":"s3","s3":"s0","s4":"s1"}}
Given the following FSM: a b c d e f g h i s0 s1 s3 s3 s3 s3 s0 s2 s2 s1 s1 s0 s1 s0 s1 s2 s1 s0 s3 s2 s2 s2 s2 s3 s2 s1 s0 s3 s2 s3 s3 s4 s2 s1 s2 s0 s1 s2 s0 s0 s4 s4 s4 s3 s1 s0 s0 s3 s1 s1 If we are in state s4 and the input is h, what state will we be in next?
s1
9f3ef87f-dac7-4e34-aa67-c61fb1de11e3
7cde39ea-1b61-4dd4-a9bd-a1cb01a0a0cd
{"states": ["s0"], "alphabets": "abcdefgh", "accepting_states": ["s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s0"]}]}
2
{"a":{"s0":"s0"},"b":{"s0":"s0"},"c":{"s0":"s0"},"d":{"s0":"s0"},"e":{"s0":"s0"},"f":{"s0":"s0"},"g":{"s0":"s0"},"h":{"s0":"s0"}}
Given the following FSM: a b c d e f g h s0 s0 s0 s0 s0 s0 s0 s0 s0 If we are in state s0 and the input is d, what state will we be in next?
s0
ff780a06-7904-448b-8490-486f2a96f55a
2763dab6-4f4a-4c24-ad7d-1eafc440e114
{"states": ["s0"], "alphabets": "a", "accepting_states": ["s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}]}
4
{"a":{"s0":"s0"}}
Given the following FSM: a s0 s0 If we are in state s0 and the input is a, what state will we be in next?
s0
57ebd6d8-0704-4b1a-9c6a-bd5587aae618
ef218461-bbfe-4abd-aca1-da09c03dc595
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s10"], "alphabets": "abcdefgh", "accepting_states": ["s10", "s1", "s7", "s4", "s6", "s5", "s3", "s2", "s0", "s8", "s9"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s10"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s10"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s10"]}, {"fromState": "s9", "symbol": "e", "toStates": ["s10"]}, {"fromState": "s9", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "g", "toStates": ["s9"]}, {"fromState": "s9", "symbol": "h", "toStates": ["s5"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s10", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s10", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s10", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "h", "toStates": ["s4"]}]}
4
{"a":{"s0":"s10","s1":"s7","s2":"s3","s3":"s2","s4":"s9","s5":"s4","s6":"s5","s7":"s3","s8":"s6","s9":"s6","s10":"s5"},"b":{"s0":"s3","s1":"s9","s2":"s8","s3":"s5","s4":"s8","s5":"s4","s6":"s7","s7":"s4","s8":"s4","s9":"s2","s10":"s1"},"c":{"s0":"s1","s1":"s5","s2":"s2","s3":"s9","s4":"s1","s5":"s6","s6":"s6","s7":"s5","s8":"s8","s9":"s4","s10":"s2"},"d":{"s0":"s7","s1":"s7","s2":"s6","s3":"s4","s4":"s4","s5":"s4","s6":"s0","s7":"s5","s8":"s5","s9":"s10","s10":"s6"},"e":{"s0":"s0","s1":"s3","s2":"s3","s3":"s7","s4":"s0","s5":"s8","s6":"s5","s7":"s7","s8":"s3","s9":"s10","s10":"s3"},"f":{"s0":"s3","s1":"s8","s2":"s4","s3":"s6","s4":"s7","s5":"s10","s6":"s6","s7":"s7","s8":"s6","s9":"s2","s10":"s5"},"g":{"s0":"s10","s1":"s8","s2":"s6","s3":"s2","s4":"s8","s5":"s4","s6":"s7","s7":"s8","s8":"s0","s9":"s9","s10":"s0"},"h":{"s0":"s7","s1":"s4","s2":"s5","s3":"s6","s4":"s0","s5":"s3","s6":"s6","s7":"s7","s8":"s1","s9":"s5","s10":"s4"}}
Given the following FSM: a b c d e f g h s0 s10 s3 s1 s7 s0 s3 s10 s7 s1 s7 s9 s5 s7 s3 s8 s8 s4 s2 s3 s8 s2 s6 s3 s4 s6 s5 s3 s2 s5 s9 s4 s7 s6 s2 s6 s4 s9 s8 s1 s4 s0 s7 s8 s0 s5 s4 s4 s6 s4 s8 s10 s4 s3 s6 s5 s7 s6 s0 s5 s6 s7 s6 s7 s3 s4 s5 s5 s7 s7 s8 s7 s8 s6 s4 s8 s5 s3 s6 s0 s1 s9 s6 s2 s4 s10 s10 s2 s9 s5 s10 s5 s1 s2 s6 s3 s5 s0 s4 If we are in state s10 and the input is b, what state will we be in next?
s1
c49f2dbb-e562-4eaa-a775-561c0a0fa0b3
00338972-359f-4bc6-8cf2-b417eacede1e
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"], "alphabets": "abcdef", "accepting_states": ["s7", "s3", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s6"]}]}
4
{"a":{"s0":"s0","s1":"s4","s2":"s2","s3":"s7","s4":"s6","s5":"s8","s6":"s5","s7":"s4","s8":"s7"},"b":{"s0":"s0","s1":"s4","s2":"s7","s3":"s5","s4":"s1","s5":"s0","s6":"s5","s7":"s5","s8":"s0"},"c":{"s0":"s3","s1":"s5","s2":"s3","s3":"s4","s4":"s5","s5":"s8","s6":"s0","s7":"s2","s8":"s0"},"d":{"s0":"s6","s1":"s7","s2":"s5","s3":"s1","s4":"s7","s5":"s8","s6":"s5","s7":"s6","s8":"s1"},"e":{"s0":"s8","s1":"s6","s2":"s0","s3":"s6","s4":"s8","s5":"s4","s6":"s2","s7":"s4","s8":"s1"},"f":{"s0":"s8","s1":"s8","s2":"s3","s3":"s8","s4":"s5","s5":"s7","s6":"s1","s7":"s4","s8":"s6"}}
Given the following FSM: a b c d e f s0 s0 s0 s3 s6 s8 s8 s1 s4 s4 s5 s7 s6 s8 s2 s2 s7 s3 s5 s0 s3 s3 s7 s5 s4 s1 s6 s8 s4 s6 s1 s5 s7 s8 s5 s5 s8 s0 s8 s8 s4 s7 s6 s5 s5 s0 s5 s2 s1 s7 s4 s5 s2 s6 s4 s4 s8 s7 s0 s0 s1 s1 s6 If we are in state s0 and the input is e, what state will we be in next?
s8
a62d53c3-5e73-4684-9cff-2886d8101602
36c1f20b-80e9-41d1-8d64-beda94c3cd50
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefghij", "accepting_states": ["s4", "s2", "s1", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "j", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "j", "toStates": ["s2"]}]}
4
{"a":{"s0":"s1","s1":"s3","s2":"s0","s3":"s3","s4":"s0"},"b":{"s0":"s0","s1":"s3","s2":"s0","s3":"s1","s4":"s2"},"c":{"s0":"s4","s1":"s4","s2":"s3","s3":"s0","s4":"s1"},"d":{"s0":"s0","s1":"s4","s2":"s1","s3":"s0","s4":"s3"},"e":{"s0":"s0","s1":"s3","s2":"s1","s3":"s3","s4":"s4"},"f":{"s0":"s2","s1":"s1","s2":"s4","s3":"s4","s4":"s3"},"g":{"s0":"s0","s1":"s3","s2":"s4","s3":"s0","s4":"s1"},"h":{"s0":"s0","s1":"s4","s2":"s1","s3":"s2","s4":"s1"},"i":{"s0":"s3","s1":"s2","s2":"s1","s3":"s0","s4":"s2"},"j":{"s0":"s1","s1":"s2","s2":"s0","s3":"s0","s4":"s2"}}
Given the following FSM: a b c d e f g h i j s0 s1 s0 s4 s0 s0 s2 s0 s0 s3 s1 s1 s3 s3 s4 s4 s3 s1 s3 s4 s2 s2 s2 s0 s0 s3 s1 s1 s4 s4 s1 s1 s0 s3 s3 s1 s0 s0 s3 s4 s0 s2 s0 s0 s4 s0 s2 s1 s3 s4 s3 s1 s1 s2 s2 If we are in state s1 and the input is j, what state will we be in next?
s2
0f427088-d8c7-4769-8e6a-6ec28b2a06f8
3b53b829-b79a-4e90-9374-a3b737285a47
{"states": ["s0"], "alphabets": "abcdefgh", "accepting_states": ["s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s0"]}]}
2
{"a":{"s0":"s0"},"b":{"s0":"s0"},"c":{"s0":"s0"},"d":{"s0":"s0"},"e":{"s0":"s0"},"f":{"s0":"s0"},"g":{"s0":"s0"},"h":{"s0":"s0"}}
Given the following FSM: a b c d e f g h s0 s0 s0 s0 s0 s0 s0 s0 s0 If we are in state s0 and the input is b, what state will we be in next?
s0
8b8d2f5c-858a-4ab8-97df-9c9d43b16cbd
c10f6a26-9d49-4c0d-b944-154a4746d068
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s10", "s11"], "alphabets": "abcdef", "accepting_states": ["s1", "s11", "s9"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s10"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s9"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s10"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s10"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s10"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s11"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s10"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s10"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s11"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s10", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s11", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s11", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s11", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s11", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s11", "symbol": "f", "toStates": ["s0"]}]}
4
{"a":{"s0":"s4","s1":"s8","s2":"s5","s3":"s9","s4":"s10","s5":"s5","s6":"s4","s7":"s3","s8":"s3","s9":"s4","s10":"s5","s11":"s9"},"b":{"s0":"s8","s1":"s5","s2":"s7","s3":"s1","s4":"s8","s5":"s4","s6":"s4","s7":"s6","s8":"s6","s9":"s11","s10":"s8","s11":"s7"},"c":{"s0":"s3","s1":"s4","s2":"s2","s3":"s7","s4":"s8","s5":"s5","s6":"s9","s7":"s11","s8":"s10","s9":"s2","s10":"s3","s11":"s5"},"d":{"s0":"s10","s1":"s4","s2":"s9","s3":"s3","s4":"s1","s5":"s9","s6":"s5","s7":"s10","s8":"s1","s9":"s5","s10":"s9","s11":"s3"},"e":{"s0":"s5","s1":"s3","s2":"s9","s3":"s3","s4":"s9","s5":"s10","s6":"s10","s7":"s3","s8":"s10","s9":"s7","s10":"s2","s11":"s4"},"f":{"s0":"s3","s1":"s7","s2":"s5","s3":"s9","s4":"s10","s5":"s5","s6":"s4","s7":"s0","s8":"s6","s9":"s4","s10":"s7","s11":"s0"}}
Given the following FSM: a b c d e f s0 s4 s8 s3 s10 s5 s3 s1 s8 s5 s4 s4 s3 s7 s2 s5 s7 s2 s9 s9 s5 s3 s9 s1 s7 s3 s3 s9 s4 s10 s8 s8 s1 s9 s10 s5 s5 s4 s5 s9 s10 s5 s6 s4 s4 s9 s5 s10 s4 s7 s3 s6 s11 s10 s3 s0 s8 s3 s6 s10 s1 s10 s6 s9 s4 s11 s2 s5 s7 s4 s10 s5 s8 s3 s9 s2 s7 s11 s9 s7 s5 s3 s4 s0 If we are in state s7 and the input is f, what state will we be in next?
s0
39b87302-790a-4206-8016-3d5bbda755b1
f8e1fe1e-42b2-4e4c-a959-5205a04508ab
{"states": ["s0"], "alphabets": "abcd", "accepting_states": ["s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}]}
2
{"a":{"s0":"s0"},"b":{"s0":"s0"},"c":{"s0":"s0"},"d":{"s0":"s0"}}
Given the following FSM: a b c d s0 s0 s0 s0 s0 If we are in state s0 and the input is d, what state will we be in next?
s0
f02dc4fb-30bd-4a24-b2de-475aba9a37db
c1f65d9d-13c5-4914-a232-a7f3626d10ed
{"states": ["s0"], "alphabets": "ab", "accepting_states": ["s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}]}
1
{"a":{"s0":"s0"},"b":{"s0":"s0"}}
Given the following FSM: a b s0 s0 s0 If we are in state s0 and the input is a, what state will we be in next?
s0
25bc0d4a-bf96-44a2-a32a-bec1d2116c91
2a895358-8b51-4145-bbdf-0a15a3ca8679
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcde", "accepting_states": ["s6", "s4", "s2", "s5", "s1", "s0", "s3", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s7"]}]}
3
{"a":{"s0":"s7","s1":"s1","s2":"s7","s3":"s6","s4":"s2","s5":"s1","s6":"s4","s7":"s2"},"b":{"s0":"s1","s1":"s4","s2":"s4","s3":"s4","s4":"s0","s5":"s2","s6":"s2","s7":"s0"},"c":{"s0":"s0","s1":"s2","s2":"s1","s3":"s0","s4":"s5","s5":"s4","s6":"s0","s7":"s5"},"d":{"s0":"s4","s1":"s3","s2":"s4","s3":"s2","s4":"s0","s5":"s2","s6":"s2","s7":"s6"},"e":{"s0":"s3","s1":"s7","s2":"s1","s3":"s1","s4":"s7","s5":"s5","s6":"s1","s7":"s7"}}
Given the following FSM: a b c d e s0 s7 s1 s0 s4 s3 s1 s1 s4 s2 s3 s7 s2 s7 s4 s1 s4 s1 s3 s6 s4 s0 s2 s1 s4 s2 s0 s5 s0 s7 s5 s1 s2 s4 s2 s5 s6 s4 s2 s0 s2 s1 s7 s2 s0 s5 s6 s7 If we are in state s7 and the input is c, what state will we be in next?
s5
9ec263b7-44d4-4b99-b823-fcaeae16efbb
c9cb0c89-fe34-4a41-bf4c-4361a272ae6d
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abc", "accepting_states": ["s2", "s1", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}]}
2
{"a":{"s0":"s2","s1":"s1","s2":"s0","s3":"s0"},"b":{"s0":"s2","s1":"s2","s2":"s2","s3":"s0"},"c":{"s0":"s1","s1":"s3","s2":"s3","s3":"s2"}}
Given the following FSM: a b c s0 s2 s2 s1 s1 s1 s2 s3 s2 s0 s2 s3 s3 s0 s0 s2 If we are in state s1 and the input is b, what state will we be in next?
s2
4a9a7fa1-6a77-43f1-9171-58bc4d4a1935
b6470a71-9c05-46de-9103-c40fe3b7ed92
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s10", "s11", "s12", "s13"], "alphabets": "abcdefghij", "accepting_states": ["s3", "s9", "s6", "s8", "s1", "s5", "s4", "s7", "s0", "s11"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s12"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s13"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s11"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s12"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s13"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s13"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s13"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s12"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s12"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s12"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s10"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s12"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s10"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s13"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "j", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s13"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "i", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "j", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s12"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "i", "toStates": ["s13"]}, {"fromState": "s6", "symbol": "j", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "i", "toStates": ["s13"]}, {"fromState": "s7", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s10"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s13"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s9"]}, {"fromState": "s8", "symbol": "h", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "i", "toStates": ["s11"]}, {"fromState": "s8", "symbol": "j", "toStates": ["s10"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s13"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "f", "toStates": ["s12"]}, {"fromState": "s9", "symbol": "g", "toStates": ["s13"]}, {"fromState": "s9", "symbol": "h", "toStates": ["s9"]}, {"fromState": "s9", "symbol": "i", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "j", "toStates": ["s4"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s12"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s10", "symbol": "f", "toStates": ["s11"]}, {"fromState": "s10", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s10", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "j", "toStates": ["s7"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s11", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s11", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s11", "symbol": "d", "toStates": ["s10"]}, {"fromState": "s11", "symbol": "e", "toStates": ["s12"]}, {"fromState": "s11", "symbol": "f", "toStates": ["s12"]}, {"fromState": "s11", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s11", "symbol": "h", "toStates": ["s12"]}, {"fromState": "s11", "symbol": "i", "toStates": ["s10"]}, {"fromState": "s11", "symbol": "j", "toStates": ["s11"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s12", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s12", "symbol": "c", "toStates": ["s11"]}, {"fromState": "s12", "symbol": "d", "toStates": ["s10"]}, {"fromState": "s12", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s12", "symbol": "f", "toStates": ["s11"]}, {"fromState": "s12", "symbol": "g", "toStates": ["s11"]}, {"fromState": "s12", "symbol": "h", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "i", "toStates": ["s13"]}, {"fromState": "s12", "symbol": "j", "toStates": ["s5"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s13", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s13", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s13", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s13", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s13", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s13", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s13", "symbol": "j", "toStates": ["s6"]}]}
5
{"a":{"s0":"s6","s1":"s1","s2":"s10","s3":"s11","s4":"s6","s5":"s0","s6":"s12","s7":"s10","s8":"s9","s9":"s12","s10":"s1","s11":"s7","s12":"s9","s13":"s11"},"b":{"s0":"s5","s1":"s0","s2":"s1","s3":"s9","s4":"s7","s5":"s4","s6":"s0","s7":"s0","s8":"s10","s9":"s13","s10":"s12","s11":"s0","s12":"s6","s13":"s6"},"c":{"s0":"s12","s1":"s0","s2":"s12","s3":"s13","s4":"s10","s5":"s1","s6":"s8","s7":"s0","s8":"s1","s9":"s6","s10":"s6","s11":"s3","s12":"s11","s13":"s2"},"d":{"s0":"s13","s1":"s13","s2":"s8","s3":"s8","s4":"s3","s5":"s8","s6":"s12","s7":"s8","s8":"s10","s9":"s3","s10":"s0","s11":"s10","s12":"s10","s13":"s4"},"e":{"s0":"s11","s1":"s1","s2":"s10","s3":"s1","s4":"s7","s5":"s5","s6":"s9","s7":"s5","s8":"s13","s9":"s4","s10":"s6","s11":"s12","s12":"s3","s13":"s8"},"f":{"s0":"s8","s1":"s13","s2":"s8","s3":"s0","s4":"s9","s5":"s7","s6":"s8","s7":"s5","s8":"s3","s9":"s12","s10":"s11","s11":"s12","s12":"s11","s13":"s4"},"g":{"s0":"s1","s1":"s13","s2":"s8","s3":"s0","s4":"s13","s5":"s13","s6":"s1","s7":"s6","s8":"s9","s9":"s13","s10":"s3","s11":"s1","s12":"s11","s13":"s1"},"h":{"s0":"s7","s1":"s1","s2":"s5","s3":"s12","s4":"s2","s5":"s2","s6":"s5","s7":"s3","s8":"s8","s9":"s9","s10":"s2","s11":"s12","s12":"s12","s13":"s2"},"i":{"s0":"s3","s1":"s12","s2":"s6","s3":"s3","s4":"s4","s5":"s9","s6":"s13","s7":"s13","s8":"s11","s9":"s7","s10":"s0","s11":"s10","s12":"s13","s13":"s2"},"j":{"s0":"s12","s1":"s12","s2":"s4","s3":"s2","s4":"s0","s5":"s8","s6":"s8","s7":"s2","s8":"s10","s9":"s4","s10":"s7","s11":"s11","s12":"s5","s13":"s6"}}
Given the following FSM: a b c d e f g h i j s0 s6 s5 s12 s13 s11 s8 s1 s7 s3 s12 s1 s1 s0 s0 s13 s1 s13 s13 s1 s12 s12 s2 s10 s1 s12 s8 s10 s8 s8 s5 s6 s4 s3 s11 s9 s13 s8 s1 s0 s0 s12 s3 s2 s4 s6 s7 s10 s3 s7 s9 s13 s2 s4 s0 s5 s0 s4 s1 s8 s5 s7 s13 s2 s9 s8 s6 s12 s0 s8 s12 s9 s8 s1 s5 s13 s8 s7 s10 s0 s0 s8 s5 s5 s6 s3 s13 s2 s8 s9 s10 s1 s10 s13 s3 s9 s8 s11 s10 s9 s12 s13 s6 s3 s4 s12 s13 s9 s7 s4 s10 s1 s12 s6 s0 s6 s11 s3 s2 s0 s7 s11 s7 s0 s3 s10 s12 s12 s1 s12 s10 s11 s12 s9 s6 s11 s10 s3 s11 s11 s12 s13 s5 s13 s11 s6 s2 s4 s8 s4 s1 s2 s2 s6 If we are in state s1 and the input is d, what state will we be in next?
s13
f00486bf-7d1e-4448-a28a-f23a38232afe
5e8e52e8-ce15-4677-8bcb-12d686fb74fc
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s10", "s11", "s12", "s13", "s14"], "alphabets": "abcde", "accepting_states": ["s5", "s11", "s9", "s10", "s6", "s1", "s3", "s14", "s2", "s0", "s4", "s12"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s14"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s14"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s13"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s13"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s10"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s14"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s11"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s14"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s10"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "e", "toStates": ["s12"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s11"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s14"]}, {"fromState": "s10", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s11", "symbol": "b", "toStates": ["s12"]}, {"fromState": "s11", "symbol": "c", "toStates": ["s13"]}, {"fromState": "s11", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s11", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s14"]}, {"fromState": "s12", "symbol": "b", "toStates": ["s14"]}, {"fromState": "s12", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s12", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s12", "symbol": "e", "toStates": ["s10"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s13", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s13", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s13", "symbol": "d", "toStates": ["s12"]}, {"fromState": "s13", "symbol": "e", "toStates": ["s11"]}, {"fromState": "s14", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s14", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s14", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s14", "symbol": "d", "toStates": ["s10"]}, {"fromState": "s14", "symbol": "e", "toStates": ["s3"]}]}
5
{"a":{"s0":"s6","s1":"s1","s2":"s3","s3":"s13","s4":"s12","s5":"s9","s6":"s6","s7":"s6","s8":"s1","s9":"s14","s10":"s13","s11":"s2","s12":"s14","s13":"s5","s14":"s7"},"b":{"s0":"s7","s1":"s4","s2":"s14","s3":"s2","s4":"s3","s5":"s0","s6":"s6","s7":"s3","s8":"s7","s9":"s2","s10":"s0","s11":"s12","s12":"s14","s13":"s5","s14":"s10"},"c":{"s0":"s14","s1":"s7","s2":"s4","s3":"s8","s4":"s3","s5":"s13","s6":"s4","s7":"s9","s8":"s8","s9":"s10","s10":"s11","s11":"s13","s12":"s3","s13":"s5","s14":"s4"},"d":{"s0":"s3","s1":"s0","s2":"s4","s3":"s6","s4":"s8","s5":"s0","s6":"s0","s7":"s4","s8":"s6","s9":"s4","s10":"s14","s11":"s7","s12":"s6","s13":"s12","s14":"s10"},"e":{"s0":"s7","s1":"s6","s2":"s4","s3":"s13","s4":"s6","s5":"s10","s6":"s1","s7":"s14","s8":"s11","s9":"s12","s10":"s0","s11":"s6","s12":"s10","s13":"s11","s14":"s3"}}
Given the following FSM: a b c d e s0 s6 s7 s14 s3 s7 s1 s1 s4 s7 s0 s6 s2 s3 s14 s4 s4 s4 s3 s13 s2 s8 s6 s13 s4 s12 s3 s3 s8 s6 s5 s9 s0 s13 s0 s10 s6 s6 s6 s4 s0 s1 s7 s6 s3 s9 s4 s14 s8 s1 s7 s8 s6 s11 s9 s14 s2 s10 s4 s12 s10 s13 s0 s11 s14 s0 s11 s2 s12 s13 s7 s6 s12 s14 s14 s3 s6 s10 s13 s5 s5 s5 s12 s11 s14 s7 s10 s4 s10 s3 If we are in state s10 and the input is a, what state will we be in next?
s13
6e15f28e-a89b-4584-86a1-2db10ac71ce7
7da05ea8-75c1-48c9-9f96-d0705df46bd9
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s10", "s11"], "alphabets": "abcdefghi", "accepting_states": ["s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s9"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s11"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s10"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s11"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s9"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s11"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s10"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s11"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s11"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s11"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "i", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s11"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "h", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "i", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s9"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s11"]}, {"fromState": "s8", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "i", "toStates": ["s11"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s9", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s11"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s10", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s10", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s10", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "i", "toStates": ["s6"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s11", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s11", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s11", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s11", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s11", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s11", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s11", "symbol": "h", "toStates": ["s11"]}, {"fromState": "s11", "symbol": "i", "toStates": ["s8"]}]}
5
{"a":{"s0":"s6","s1":"s6","s2":"s0","s3":"s11","s4":"s7","s5":"s3","s6":"s7","s7":"s6","s8":"s4","s9":"s2","s10":"s11","s11":"s1"},"b":{"s0":"s1","s1":"s6","s2":"s2","s3":"s5","s4":"s3","s5":"s3","s6":"s8","s7":"s11","s8":"s7","s9":"s7","s10":"s6","s11":"s9"},"c":{"s0":"s6","s1":"s2","s2":"s11","s3":"s4","s4":"s3","s5":"s8","s6":"s7","s7":"s1","s8":"s0","s9":"s6","s10":"s11","s11":"s5"},"d":{"s0":"s3","s1":"s1","s2":"s4","s3":"s5","s4":"s9","s5":"s2","s6":"s2","s7":"s0","s8":"s2","s9":"s8","s10":"s2","s11":"s6"},"e":{"s0":"s0","s1":"s3","s2":"s9","s3":"s11","s4":"s6","s5":"s11","s6":"s0","s7":"s2","s8":"s9","s9":"s4","s10":"s6","s11":"s6"},"f":{"s0":"s9","s1":"s4","s2":"s11","s3":"s9","s4":"s2","s5":"s6","s6":"s1","s7":"s7","s8":"s1","s9":"s1","s10":"s3","s11":"s6"},"g":{"s0":"s3","s1":"s6","s2":"s10","s3":"s4","s4":"s0","s5":"s3","s6":"s11","s7":"s2","s8":"s11","s9":"s3","s10":"s5","s11":"s6"},"h":{"s0":"s0","s1":"s10","s2":"s8","s3":"s9","s4":"s2","s5":"s5","s6":"s0","s7":"s9","s8":"s4","s9":"s1","s10":"s0","s11":"s11"},"i":{"s0":"s11","s1":"s3","s2":"s6","s3":"s1","s4":"s5","s5":"s2","s6":"s7","s7":"s4","s8":"s11","s9":"s1","s10":"s6","s11":"s8"}}
Given the following FSM: a b c d e f g h i s0 s6 s1 s6 s3 s0 s9 s3 s0 s11 s1 s6 s6 s2 s1 s3 s4 s6 s10 s3 s2 s0 s2 s11 s4 s9 s11 s10 s8 s6 s3 s11 s5 s4 s5 s11 s9 s4 s9 s1 s4 s7 s3 s3 s9 s6 s2 s0 s2 s5 s5 s3 s3 s8 s2 s11 s6 s3 s5 s2 s6 s7 s8 s7 s2 s0 s1 s11 s0 s7 s7 s6 s11 s1 s0 s2 s7 s2 s9 s4 s8 s4 s7 s0 s2 s9 s1 s11 s4 s11 s9 s2 s7 s6 s8 s4 s1 s3 s1 s1 s10 s11 s6 s11 s2 s6 s3 s5 s0 s6 s11 s1 s9 s5 s6 s6 s6 s6 s11 s8 If we are in state s2 and the input is i, what state will we be in next?
s6
868d1acd-c21e-42e3-808d-e813542e8381
0ce5101a-258d-43c4-8c0a-6826cd51008a
{"states": ["s0", "s1", "s2", "s3", "s4", "s5"], "alphabets": "abcdefghi", "accepting_states": ["s4", "s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "i", "toStates": ["s1"]}]}
4
{"a":{"s0":"s0","s1":"s5","s2":"s2","s3":"s3","s4":"s4","s5":"s4"},"b":{"s0":"s4","s1":"s0","s2":"s0","s3":"s5","s4":"s1","s5":"s1"},"c":{"s0":"s4","s1":"s3","s2":"s5","s3":"s4","s4":"s3","s5":"s4"},"d":{"s0":"s0","s1":"s0","s2":"s0","s3":"s4","s4":"s2","s5":"s4"},"e":{"s0":"s5","s1":"s2","s2":"s1","s3":"s2","s4":"s5","s5":"s5"},"f":{"s0":"s3","s1":"s1","s2":"s2","s3":"s3","s4":"s3","s5":"s5"},"g":{"s0":"s3","s1":"s4","s2":"s4","s3":"s5","s4":"s3","s5":"s2"},"h":{"s0":"s3","s1":"s0","s2":"s0","s3":"s5","s4":"s4","s5":"s4"},"i":{"s0":"s2","s1":"s5","s2":"s2","s3":"s1","s4":"s5","s5":"s1"}}
Given the following FSM: a b c d e f g h i s0 s0 s4 s4 s0 s5 s3 s3 s3 s2 s1 s5 s0 s3 s0 s2 s1 s4 s0 s5 s2 s2 s0 s5 s0 s1 s2 s4 s0 s2 s3 s3 s5 s4 s4 s2 s3 s5 s5 s1 s4 s4 s1 s3 s2 s5 s3 s3 s4 s5 s5 s4 s1 s4 s4 s5 s5 s2 s4 s1 If we are in state s5 and the input is g, what state will we be in next?
s2
16dc247c-0773-4959-bd0b-dff17d66c680
93393889-3b62-436d-9d5f-77dac87cc2f1
{"states": ["s0"], "alphabets": "abc", "accepting_states": ["s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}]}
1
{"a":{"s0":"s0"},"b":{"s0":"s0"},"c":{"s0":"s0"}}
Given the following FSM: a b c s0 s0 s0 s0 If we are in state s0 and the input is a, what state will we be in next?
s0
69c8732b-b2ad-459a-b802-be311097ae17
5c71f246-f599-464a-b15c-f09b9d25204f
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcdefghi", "accepting_states": ["s0", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s0"]}]}
3
{"a":{"s0":"s1","s1":"s2","s2":"s1","s3":"s1"},"b":{"s0":"s1","s1":"s3","s2":"s1","s3":"s3"},"c":{"s0":"s3","s1":"s3","s2":"s2","s3":"s1"},"d":{"s0":"s3","s1":"s0","s2":"s3","s3":"s1"},"e":{"s0":"s2","s1":"s0","s2":"s3","s3":"s2"},"f":{"s0":"s2","s1":"s1","s2":"s3","s3":"s0"},"g":{"s0":"s3","s1":"s3","s2":"s3","s3":"s0"},"h":{"s0":"s0","s1":"s0","s2":"s1","s3":"s3"},"i":{"s0":"s3","s1":"s2","s2":"s3","s3":"s0"}}
Given the following FSM: a b c d e f g h i s0 s1 s1 s3 s3 s2 s2 s3 s0 s3 s1 s2 s3 s3 s0 s0 s1 s3 s0 s2 s2 s1 s1 s2 s3 s3 s3 s3 s1 s3 s3 s1 s3 s1 s1 s2 s0 s0 s3 s0 If we are in state s3 and the input is f, what state will we be in next?
s0
85cac2f5-afc1-407b-b4bf-c3014ed5bd74
0079e59d-9d45-42f6-9764-a990368c855a
{"states": ["s0", "s1", "s6", "s10"], "alphabets": "a", "accepting_states": ["s6", "s10", "s0", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s1"]}]}
3
{"a":{"s0":"s6","s1":"s6","s6":"s10","s10":"s1"}}
Given the following FSM: a s0 s6 s1 s6 s6 s10 s10 s1 If we are in state s6 and the input is a, what state will we be in next?
s10
1cfbe253-0dde-4083-9d2c-8bce6f1e7ed6
0a443ec8-8b28-4152-b3fd-6d4cfe7b257b
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s8", "s9", "s10", "s11"], "alphabets": "abc", "accepting_states": ["s1", "s9", "s5", "s2", "s0", "s8", "s11", "s3", "s4", "s10", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s11"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s11", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s11", "symbol": "c", "toStates": ["s5"]}]}
4
{"a":{"s0":"s1","s1":"s1","s2":"s11","s3":"s6","s4":"s11","s5":"s1","s6":"s10","s8":"s5","s9":"s9","s10":"s6","s11":"s6"},"b":{"s0":"s9","s1":"s9","s2":"s5","s3":"s5","s4":"s0","s5":"s4","s6":"s2","s8":"s3","s9":"s4","s10":"s11","s11":"s2"},"c":{"s0":"s4","s1":"s0","s2":"s6","s3":"s4","s4":"s8","s5":"s3","s6":"s6","s8":"s0","s9":"s0","s10":"s8","s11":"s5"}}
Given the following FSM: a b c s0 s1 s9 s4 s1 s1 s9 s0 s2 s11 s5 s6 s3 s6 s5 s4 s4 s11 s0 s8 s5 s1 s4 s3 s6 s10 s2 s6 s8 s5 s3 s0 s9 s9 s4 s0 s10 s6 s11 s8 s11 s6 s2 s5 If we are in state s1 and the input is c, what state will we be in next?
s0
3a964ad2-102d-4a60-bad5-5bcbf8d7e20f
876685ae-d484-4286-82e2-ce88f74145c9
{"states": ["s0"], "alphabets": "abc", "accepting_states": ["s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}]}
1
{"a":{"s0":"s0"},"b":{"s0":"s0"},"c":{"s0":"s0"}}
Given the following FSM: a b c s0 s0 s0 s0 If we are in state s0 and the input is c, what state will we be in next?
s0
bd7b75e0-e25f-433e-8a70-665f5df03cd5
a0377d1f-eb3b-4303-badc-7817fd9b125c
{"states": ["s0", "s1"], "alphabets": "abcdefgh", "accepting_states": ["s1", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}]}
3
{"a":{"s0":"s1","s1":"s1"},"b":{"s0":"s0","s1":"s0"},"c":{"s0":"s1","s1":"s0"},"d":{"s0":"s0","s1":"s1"},"e":{"s0":"s1","s1":"s0"},"f":{"s0":"s0","s1":"s0"},"g":{"s0":"s1","s1":"s0"},"h":{"s0":"s1","s1":"s0"}}
Given the following FSM: a b c d e f g h s0 s1 s0 s1 s0 s1 s0 s1 s1 s1 s1 s0 s0 s1 s0 s0 s0 s0 If we are in state s0 and the input is g, what state will we be in next?
s1
57764e85-767d-4e39-b053-5562a730c077
4f2f1938-8ddc-412f-9e48-38a9a950de52
{"states": ["s0", "s1", "s2"], "alphabets": "abcdef", "accepting_states": ["s2", "s1", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}]}
2
{"a":{"s0":"s0","s1":"s1","s2":"s1"},"b":{"s0":"s1","s1":"s0","s2":"s2"},"c":{"s0":"s2","s1":"s1","s2":"s2"},"d":{"s0":"s0","s1":"s0","s2":"s0"},"e":{"s0":"s1","s1":"s0","s2":"s1"},"f":{"s0":"s0","s1":"s1","s2":"s2"}}
Given the following FSM: a b c d e f s0 s0 s1 s2 s0 s1 s0 s1 s1 s0 s1 s0 s0 s1 s2 s1 s2 s2 s0 s1 s2 If we are in state s2 and the input is e, what state will we be in next?
s1
b10fd0bd-b5b9-4506-9b16-d1464da9a82d
e4ce7d50-8ed1-465b-a971-1514c68d7d6d
{"states": ["s0", "s1", "s2", "s3", "s4", "s5"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s4", "s0", "s5", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "i", "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": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "i", "toStates": ["s0"]}]}
4
{"a":{"s0":"s3","s1":"s5","s2":"s2","s3":"s4","s4":"s5","s5":"s4"},"b":{"s0":"s4","s1":"s5","s2":"s2","s3":"s0","s4":"s2","s5":"s3"},"c":{"s0":"s2","s1":"s3","s2":"s5","s3":"s1","s4":"s1","s5":"s2"},"d":{"s0":"s2","s1":"s3","s2":"s5","s3":"s4","s4":"s4","s5":"s4"},"e":{"s0":"s5","s1":"s3","s2":"s1","s3":"s5","s4":"s2","s5":"s1"},"f":{"s0":"s0","s1":"s2","s2":"s4","s3":"s3","s4":"s2","s5":"s1"},"g":{"s0":"s3","s1":"s1","s2":"s2","s3":"s3","s4":"s2","s5":"s5"},"h":{"s0":"s4","s1":"s0","s2":"s3","s3":"s3","s4":"s4","s5":"s0"},"i":{"s0":"s5","s1":"s3","s2":"s3","s3":"s5","s4":"s0","s5":"s0"}}
Given the following FSM: a b c d e f g h i s0 s3 s4 s2 s2 s5 s0 s3 s4 s5 s1 s5 s5 s3 s3 s3 s2 s1 s0 s3 s2 s2 s2 s5 s5 s1 s4 s2 s3 s3 s3 s4 s0 s1 s4 s5 s3 s3 s3 s5 s4 s5 s2 s1 s4 s2 s2 s2 s4 s0 s5 s4 s3 s2 s4 s1 s1 s5 s0 s0 If we are in state s5 and the input is g, what state will we be in next?
s5
6bac65e8-36b0-4d8f-9c76-3c83a4190ef8
bcc5a45f-5070-4ee0-b507-751c5217c8a5
{"states": ["s0", "s1", "s2"], "alphabets": "abcdefgh", "accepting_states": ["s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}]}
3
{"a":{"s0":"s1","s1":"s2","s2":"s2"},"b":{"s0":"s1","s1":"s0","s2":"s2"},"c":{"s0":"s2","s1":"s0","s2":"s2"},"d":{"s0":"s2","s1":"s1","s2":"s1"},"e":{"s0":"s1","s1":"s2","s2":"s2"},"f":{"s0":"s0","s1":"s1","s2":"s0"},"g":{"s0":"s1","s1":"s2","s2":"s1"},"h":{"s0":"s2","s1":"s2","s2":"s1"}}
Given the following FSM: a b c d e f g h s0 s1 s1 s2 s2 s1 s0 s1 s2 s1 s2 s0 s0 s1 s2 s1 s2 s2 s2 s2 s2 s2 s1 s2 s0 s1 s1 If we are in state s2 and the input is h, what state will we be in next?
s1
04180b18-e792-44d4-b741-af70edabf24a
4b202eb0-aab6-438c-9b4b-63f5e9a827e7
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s10", "s11"], "alphabets": "abcd", "accepting_states": ["s9", "s7", "s5", "s0", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s11"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s11"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s11", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s11", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s11", "symbol": "d", "toStates": ["s2"]}]}
4
{"a":{"s0":"s1","s1":"s6","s2":"s9","s3":"s8","s4":"s4","s5":"s8","s6":"s5","s7":"s0","s8":"s3","s9":"s4","s10":"s3","s11":"s6"},"b":{"s0":"s11","s1":"s8","s2":"s0","s3":"s8","s4":"s10","s5":"s7","s6":"s2","s7":"s9","s8":"s2","s9":"s1","s10":"s11","s11":"s6"},"c":{"s0":"s2","s1":"s0","s2":"s9","s3":"s8","s4":"s9","s5":"s6","s6":"s6","s7":"s7","s8":"s3","s9":"s1","s10":"s7","s11":"s3"},"d":{"s0":"s5","s1":"s2","s2":"s10","s3":"s8","s4":"s1","s5":"s7","s6":"s5","s7":"s8","s8":"s1","s9":"s9","s10":"s2","s11":"s2"}}
Given the following FSM: a b c d s0 s1 s11 s2 s5 s1 s6 s8 s0 s2 s2 s9 s0 s9 s10 s3 s8 s8 s8 s8 s4 s4 s10 s9 s1 s5 s8 s7 s6 s7 s6 s5 s2 s6 s5 s7 s0 s9 s7 s8 s8 s3 s2 s3 s1 s9 s4 s1 s1 s9 s10 s3 s11 s7 s2 s11 s6 s6 s3 s2 If we are in state s7 and the input is d, what state will we be in next?
s8
fa530926-968e-485f-a9ce-ad00efc3a60c
6e3f3259-d35e-45df-b32e-7419b7795890
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s10", "s11"], "alphabets": "abcdefg", "accepting_states": ["s10", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s10"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s11"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s11"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s10"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s10", "symbol": "e", "toStates": ["s10"]}, {"fromState": "s10", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s11", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s11", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s11", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s11", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s11", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s11", "symbol": "g", "toStates": ["s5"]}]}
4
{"a":{"s0":"s10","s1":"s5","s2":"s1","s3":"s9","s4":"s10","s5":"s1","s6":"s11","s7":"s4","s8":"s5","s9":"s2","s10":"s4","s11":"s6"},"b":{"s0":"s3","s1":"s2","s2":"s5","s3":"s9","s4":"s4","s5":"s9","s6":"s3","s7":"s10","s8":"s11","s9":"s10","s10":"s1","s11":"s6"},"c":{"s0":"s7","s1":"s3","s2":"s11","s3":"s5","s4":"s5","s5":"s6","s6":"s2","s7":"s5","s8":"s3","s9":"s2","s10":"s8","s11":"s1"},"d":{"s0":"s8","s1":"s9","s2":"s2","s3":"s1","s4":"s5","s5":"s5","s6":"s3","s7":"s4","s8":"s6","s9":"s7","s10":"s3","s11":"s6"},"e":{"s0":"s0","s1":"s1","s2":"s2","s3":"s7","s4":"s9","s5":"s1","s6":"s7","s7":"s10","s8":"s6","s9":"s5","s10":"s10","s11":"s6"},"f":{"s0":"s4","s1":"s8","s2":"s0","s3":"s7","s4":"s7","s5":"s9","s6":"s9","s7":"s1","s8":"s3","s9":"s7","s10":"s2","s11":"s2"},"g":{"s0":"s10","s1":"s6","s2":"s10","s3":"s1","s4":"s6","s5":"s1","s6":"s10","s7":"s7","s8":"s10","s9":"s4","s10":"s3","s11":"s5"}}
Given the following FSM: a b c d e f g s0 s10 s3 s7 s8 s0 s4 s10 s1 s5 s2 s3 s9 s1 s8 s6 s2 s1 s5 s11 s2 s2 s0 s10 s3 s9 s9 s5 s1 s7 s7 s1 s4 s10 s4 s5 s5 s9 s7 s6 s5 s1 s9 s6 s5 s1 s9 s1 s6 s11 s3 s2 s3 s7 s9 s10 s7 s4 s10 s5 s4 s10 s1 s7 s8 s5 s11 s3 s6 s6 s3 s10 s9 s2 s10 s2 s7 s5 s7 s4 s10 s4 s1 s8 s3 s10 s2 s3 s11 s6 s6 s1 s6 s6 s2 s5 If we are in state s10 and the input is f, what state will we be in next?
s2
360b74e4-183a-41be-a2e9-f0037eaea767
fcdae0b8-e974-4c54-b799-a1f368a6baa9
{"states": ["s0", "s1", "s2"], "alphabets": "abcd", "accepting_states": ["s0", "s1", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}]}
2
{"a":{"s0":"s1","s1":"s1","s2":"s0"},"b":{"s0":"s2","s1":"s0","s2":"s2"},"c":{"s0":"s1","s1":"s0","s2":"s2"},"d":{"s0":"s1","s1":"s1","s2":"s1"}}
Given the following FSM: a b c d s0 s1 s2 s1 s1 s1 s1 s0 s0 s1 s2 s0 s2 s2 s1 If we are in state s0 and the input is d, what state will we be in next?
s1
1bac3ada-f758-4ab6-859b-616b6b125974
c55a856c-8a60-45dd-b650-b49bc0bfdd8a
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcde", "accepting_states": ["s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s0"]}]}
3
{"a":{"s0":"s5","s1":"s5","s2":"s0","s3":"s5","s4":"s1","s5":"s6","s6":"s5"},"b":{"s0":"s4","s1":"s2","s2":"s4","s3":"s2","s4":"s6","s5":"s1","s6":"s6"},"c":{"s0":"s6","s1":"s3","s2":"s5","s3":"s6","s4":"s0","s5":"s2","s6":"s1"},"d":{"s0":"s6","s1":"s4","s2":"s1","s3":"s3","s4":"s0","s5":"s3","s6":"s3"},"e":{"s0":"s6","s1":"s4","s2":"s6","s3":"s5","s4":"s0","s5":"s4","s6":"s0"}}
Given the following FSM: a b c d e s0 s5 s4 s6 s6 s6 s1 s5 s2 s3 s4 s4 s2 s0 s4 s5 s1 s6 s3 s5 s2 s6 s3 s5 s4 s1 s6 s0 s0 s0 s5 s6 s1 s2 s3 s4 s6 s5 s6 s1 s3 s0 If we are in state s0 and the input is d, what state will we be in next?
s6
dd3b0c89-9af7-4bc5-be96-1b0295c22958
aafc94d7-6e8a-49e7-bb26-b18313e1afec
{"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s8"], "alphabets": "abc", "accepting_states": ["s1", "s8", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s1"]}]}
3
{"a":{"s0":"s3","s1":"s5","s2":"s8","s3":"s5","s5":"s2","s6":"s2","s7":"s2","s8":"s2"},"b":{"s0":"s8","s1":"s7","s2":"s0","s3":"s5","s5":"s0","s6":"s2","s7":"s6","s8":"s7"},"c":{"s0":"s5","s1":"s6","s2":"s5","s3":"s1","s5":"s5","s6":"s3","s7":"s7","s8":"s1"}}
Given the following FSM: a b c s0 s3 s8 s5 s1 s5 s7 s6 s2 s8 s0 s5 s3 s5 s5 s1 s5 s2 s0 s5 s6 s2 s2 s3 s7 s2 s6 s7 s8 s2 s7 s1 If we are in state s7 and the input is c, what state will we be in next?
s7
3e987170-24d5-4a77-b23b-cabf9d69f676
6353972d-1c84-4af1-afbc-a946263df8df
{"states": ["s0"], "alphabets": "abcdefgh", "accepting_states": ["s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s0"]}]}
2
{"a":{"s0":"s0"},"b":{"s0":"s0"},"c":{"s0":"s0"},"d":{"s0":"s0"},"e":{"s0":"s0"},"f":{"s0":"s0"},"g":{"s0":"s0"},"h":{"s0":"s0"}}
Given the following FSM: a b c d e f g h s0 s0 s0 s0 s0 s0 s0 s0 s0 If we are in state s0 and the input is d, what state will we be in next?
s0
c110f46f-2a1d-4c7c-bb52-1569cc0fabeb
04a9aad6-1da5-43b4-84a5-9f382114af36
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcde", "accepting_states": ["s0", "s3", "s4", "s2", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s0"]}]}
3
{"a":{"s0":"s2","s1":"s1","s2":"s0","s3":"s0","s4":"s0","s5":"s3","s6":"s0"},"b":{"s0":"s0","s1":"s4","s2":"s1","s3":"s2","s4":"s5","s5":"s2","s6":"s0"},"c":{"s0":"s0","s1":"s2","s2":"s1","s3":"s3","s4":"s6","s5":"s3","s6":"s1"},"d":{"s0":"s5","s1":"s5","s2":"s1","s3":"s6","s4":"s1","s5":"s4","s6":"s5"},"e":{"s0":"s3","s1":"s1","s2":"s1","s3":"s6","s4":"s6","s5":"s1","s6":"s0"}}
Given the following FSM: a b c d e s0 s2 s0 s0 s5 s3 s1 s1 s4 s2 s5 s1 s2 s0 s1 s1 s1 s1 s3 s0 s2 s3 s6 s6 s4 s0 s5 s6 s1 s6 s5 s3 s2 s3 s4 s1 s6 s0 s0 s1 s5 s0 If we are in state s0 and the input is d, what state will we be in next?
s5
7e1cbd50-4a59-489b-b4bc-dc397d056b85
1cd33a40-db7c-4c93-8bdf-e0ee962db232
{"states": ["s0", "s1", "s2", "s4", "s5", "s6", "s7", "s8", "s9", "s10"], "alphabets": "abc", "accepting_states": ["s6", "s4", "s9"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s7"]}]}
4
{"a":{"s0":"s4","s1":"s1","s2":"s5","s4":"s2","s5":"s6","s6":"s10","s7":"s1","s8":"s8","s9":"s4","s10":"s9"},"b":{"s0":"s7","s1":"s2","s2":"s4","s4":"s6","s5":"s5","s6":"s7","s7":"s5","s8":"s4","s9":"s8","s10":"s1"},"c":{"s0":"s5","s1":"s0","s2":"s8","s4":"s1","s5":"s6","s6":"s6","s7":"s4","s8":"s0","s9":"s6","s10":"s7"}}
Given the following FSM: a b c s0 s4 s7 s5 s1 s1 s2 s0 s2 s5 s4 s8 s4 s2 s6 s1 s5 s6 s5 s6 s6 s10 s7 s6 s7 s1 s5 s4 s8 s8 s4 s0 s9 s4 s8 s6 s10 s9 s1 s7 If we are in state s4 and the input is a, what state will we be in next?
s2
96773e8a-3d00-41a4-92f8-19e43e002d2b
8aafc215-d4b6-49b2-8491-14492d04d1d9
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abc", "accepting_states": ["s4", "s0", "s1", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}]}
2
{"a":{"s0":"s1","s1":"s0","s2":"s3","s3":"s1","s4":"s0"},"b":{"s0":"s3","s1":"s3","s2":"s4","s3":"s1","s4":"s3"},"c":{"s0":"s2","s1":"s3","s2":"s1","s3":"s4","s4":"s4"}}
Given the following FSM: a b c s0 s1 s3 s2 s1 s0 s3 s3 s2 s3 s4 s1 s3 s1 s1 s4 s4 s0 s3 s4 If we are in state s2 and the input is b, what state will we be in next?
s4
17649412-48ee-44be-a279-9ad9ee08e5e6
2726d76a-045b-46f1-9d14-31a3b53a440c
{"states": ["s0", "s1", "s2", "s3", "s4", "s6", "s7", "s8"], "alphabets": "ab", "accepting_states": ["s1", "s4", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s2"]}]}
3
{"a":{"s0":"s0","s1":"s4","s2":"s7","s3":"s2","s4":"s0","s6":"s1","s7":"s3","s8":"s3"},"b":{"s0":"s2","s1":"s4","s2":"s0","s3":"s8","s4":"s7","s6":"s6","s7":"s6","s8":"s2"}}
Given the following FSM: a b s0 s0 s2 s1 s4 s4 s2 s7 s0 s3 s2 s8 s4 s0 s7 s6 s1 s6 s7 s3 s6 s8 s3 s2 If we are in state s3 and the input is b, what state will we be in next?
s8
c87658ff-2b73-4cda-a704-a99aa6b3e19d
134ae2a8-c95b-4b20-9fa2-d547571a92dc
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcde", "accepting_states": ["s1", "s2", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s0"]}]}
2
{"a":{"s0":"s2","s1":"s3","s2":"s0","s3":"s0"},"b":{"s0":"s3","s1":"s1","s2":"s3","s3":"s1"},"c":{"s0":"s1","s1":"s3","s2":"s0","s3":"s3"},"d":{"s0":"s2","s1":"s1","s2":"s1","s3":"s0"},"e":{"s0":"s2","s1":"s0","s2":"s2","s3":"s0"}}
Given the following FSM: a b c d e s0 s2 s3 s1 s2 s2 s1 s3 s1 s3 s1 s0 s2 s0 s3 s0 s1 s2 s3 s0 s1 s3 s0 s0 If we are in state s3 and the input is b, what state will we be in next?
s1
cac2206e-0fe9-4ea6-8dc0-e4ff8a6bce3e
a1bf9964-8660-4dae-8edd-f94721068314
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcdefghi", "accepting_states": ["s3", "s0", "s2", "s4", "s1", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "i", "toStates": ["s5"]}]}
4
{"a":{"s0":"s1","s1":"s5","s2":"s4","s3":"s2","s4":"s1","s5":"s1","s6":"s1"},"b":{"s0":"s6","s1":"s3","s2":"s4","s3":"s5","s4":"s0","s5":"s1","s6":"s4"},"c":{"s0":"s5","s1":"s1","s2":"s6","s3":"s3","s4":"s1","s5":"s5","s6":"s0"},"d":{"s0":"s6","s1":"s0","s2":"s0","s3":"s6","s4":"s1","s5":"s3","s6":"s2"},"e":{"s0":"s3","s1":"s5","s2":"s5","s3":"s3","s4":"s0","s5":"s2","s6":"s4"},"f":{"s0":"s5","s1":"s2","s2":"s0","s3":"s1","s4":"s5","s5":"s6","s6":"s5"},"g":{"s0":"s5","s1":"s0","s2":"s2","s3":"s2","s4":"s6","s5":"s3","s6":"s4"},"h":{"s0":"s2","s1":"s5","s2":"s1","s3":"s1","s4":"s4","s5":"s2","s6":"s2"},"i":{"s0":"s4","s1":"s2","s2":"s5","s3":"s3","s4":"s2","s5":"s1","s6":"s5"}}
Given the following FSM: a b c d e f g h i s0 s1 s6 s5 s6 s3 s5 s5 s2 s4 s1 s5 s3 s1 s0 s5 s2 s0 s5 s2 s2 s4 s4 s6 s0 s5 s0 s2 s1 s5 s3 s2 s5 s3 s6 s3 s1 s2 s1 s3 s4 s1 s0 s1 s1 s0 s5 s6 s4 s2 s5 s1 s1 s5 s3 s2 s6 s3 s2 s1 s6 s1 s4 s0 s2 s4 s5 s4 s2 s5 If we are in state s2 and the input is g, what state will we be in next?
s2
9c39ce5c-bdcd-472f-83ce-ab601e17e3ca
1bb148f0-d6ca-4470-b128-9b2ec2afb2cc
{"states": ["s0"], "alphabets": "a", "accepting_states": ["s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}]}
1
{"a":{"s0":"s0"}}
Given the following FSM: a s0 s0 If we are in state s0 and the input is a, what state will we be in next?
s0
3a94f7ae-655a-406f-b607-d55f0aa217b4
4580f197-092e-4554-8f75-66fe5c08b32e
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcdefgh", "accepting_states": ["s2", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s3"]}]}
3
{"a":{"s0":"s1","s1":"s2","s2":"s3","s3":"s2"},"b":{"s0":"s0","s1":"s2","s2":"s3","s3":"s2"},"c":{"s0":"s3","s1":"s2","s2":"s0","s3":"s0"},"d":{"s0":"s3","s1":"s0","s2":"s2","s3":"s3"},"e":{"s0":"s0","s1":"s3","s2":"s2","s3":"s0"},"f":{"s0":"s0","s1":"s2","s2":"s3","s3":"s3"},"g":{"s0":"s0","s1":"s2","s2":"s2","s3":"s3"},"h":{"s0":"s3","s1":"s2","s2":"s0","s3":"s3"}}
Given the following FSM: a b c d e f g h s0 s1 s0 s3 s3 s0 s0 s0 s3 s1 s2 s2 s2 s0 s3 s2 s2 s2 s2 s3 s3 s0 s2 s2 s3 s2 s0 s3 s2 s2 s0 s3 s0 s3 s3 s3 If we are in state s3 and the input is a, what state will we be in next?
s2
e96bb18c-5a6d-42d5-8971-16f3b2c9aaac
7464097c-d895-48a3-80c3-2665f765edd7
{"states": ["s0", "s1"], "alphabets": "abcdefgh", "accepting_states": ["s1", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}]}
3
{"a":{"s0":"s1","s1":"s1"},"b":{"s0":"s1","s1":"s0"},"c":{"s0":"s0","s1":"s1"},"d":{"s0":"s1","s1":"s1"},"e":{"s0":"s1","s1":"s1"},"f":{"s0":"s0","s1":"s1"},"g":{"s0":"s1","s1":"s1"},"h":{"s0":"s0","s1":"s1"}}
Given the following FSM: a b c d e f g h s0 s1 s1 s0 s1 s1 s0 s1 s0 s1 s1 s0 s1 s1 s1 s1 s1 s1 If we are in state s1 and the input is f, what state will we be in next?
s1
eac4f19a-38a1-45c8-88cb-f9306470f7bf
f23945f4-6540-40be-b3c6-07a47cd5a7a1
{"states": ["s0", "s1", "s2"], "alphabets": "abc", "accepting_states": ["s2", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}]}
2
{"a":{"s0":"s0","s1":"s1","s2":"s1"},"b":{"s0":"s1","s1":"s0","s2":"s2"},"c":{"s0":"s2","s1":"s1","s2":"s2"}}
Given the following FSM: a b c s0 s0 s1 s2 s1 s1 s0 s1 s2 s1 s2 s2 If we are in state s0 and the input is c, what state will we be in next?
s2
13b2e20e-d24a-4697-8160-492d5c4ac479
6f79a909-5fca-4434-8f02-3516ab7a206c
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9"], "alphabets": "abcd", "accepting_states": ["s6", "s0", "s1", "s4", "s8", "s2", "s9", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s6"]}]}
3
{"a":{"s0":"s3","s1":"s6","s2":"s9","s3":"s0","s4":"s0","s5":"s0","s6":"s7","s7":"s2","s8":"s1","s9":"s9"},"b":{"s0":"s8","s1":"s6","s2":"s3","s3":"s6","s4":"s5","s5":"s4","s6":"s3","s7":"s5","s8":"s1","s9":"s6"},"c":{"s0":"s8","s1":"s1","s2":"s5","s3":"s1","s4":"s3","s5":"s0","s6":"s3","s7":"s1","s8":"s4","s9":"s6"},"d":{"s0":"s6","s1":"s9","s2":"s0","s3":"s3","s4":"s3","s5":"s5","s6":"s9","s7":"s0","s8":"s8","s9":"s6"}}
Given the following FSM: a b c d s0 s3 s8 s8 s6 s1 s6 s6 s1 s9 s2 s9 s3 s5 s0 s3 s0 s6 s1 s3 s4 s0 s5 s3 s3 s5 s0 s4 s0 s5 s6 s7 s3 s3 s9 s7 s2 s5 s1 s0 s8 s1 s1 s4 s8 s9 s9 s6 s6 s6 If we are in state s3 and the input is a, what state will we be in next?
s0
7b0e0d3e-263f-4725-8a3a-2a61dea9ec28
9d8b6d44-6a9a-4cad-9a1e-4dd9561b9281
{"states": ["s0", "s3", "s12"], "alphabets": "a", "accepting_states": ["s0", "s3", "s12"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s3"]}]}
4
{"a":{"s0":"s3","s3":"s12","s12":"s3"}}
Given the following FSM: a s0 s3 s3 s12 s12 s3 If we are in state s0 and the input is a, what state will we be in next?
s3
9170b1fe-3211-43c1-9059-73859fe7e583
88d9b8a2-1bb1-46bb-8ddf-e6729b11da5d
{"states": ["s0", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abc", "accepting_states": ["s2", "s7", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}]}
3
{"a":{"s0":"s6","s2":"s7","s3":"s2","s4":"s7","s5":"s2","s6":"s6","s7":"s3"},"b":{"s0":"s5","s2":"s4","s3":"s4","s4":"s2","s5":"s7","s6":"s7","s7":"s5"},"c":{"s0":"s3","s2":"s7","s3":"s2","s4":"s2","s5":"s4","s6":"s6","s7":"s2"}}
Given the following FSM: a b c s0 s6 s5 s3 s2 s7 s4 s7 s3 s2 s4 s2 s4 s7 s2 s2 s5 s2 s7 s4 s6 s6 s7 s6 s7 s3 s5 s2 If we are in state s4 and the input is b, what state will we be in next?
s2
26a00c3f-b549-40a7-9451-1c7848beb24b
3f310383-f253-4882-942e-a75926e92bb6
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9"], "alphabets": "abcde", "accepting_states": ["s8"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s9", "symbol": "e", "toStates": ["s9"]}]}
4
{"a":{"s0":"s9","s1":"s7","s2":"s3","s3":"s4","s4":"s6","s5":"s4","s6":"s4","s7":"s4","s8":"s5","s9":"s7"},"b":{"s0":"s9","s1":"s4","s2":"s2","s3":"s0","s4":"s9","s5":"s7","s6":"s5","s7":"s8","s8":"s2","s9":"s0"},"c":{"s0":"s3","s1":"s9","s2":"s0","s3":"s7","s4":"s7","s5":"s6","s6":"s1","s7":"s8","s8":"s7","s9":"s9"},"d":{"s0":"s6","s1":"s0","s2":"s7","s3":"s2","s4":"s9","s5":"s2","s6":"s4","s7":"s0","s8":"s6","s9":"s9"},"e":{"s0":"s4","s1":"s1","s2":"s1","s3":"s4","s4":"s8","s5":"s5","s6":"s8","s7":"s0","s8":"s5","s9":"s9"}}
Given the following FSM: a b c d e s0 s9 s9 s3 s6 s4 s1 s7 s4 s9 s0 s1 s2 s3 s2 s0 s7 s1 s3 s4 s0 s7 s2 s4 s4 s6 s9 s7 s9 s8 s5 s4 s7 s6 s2 s5 s6 s4 s5 s1 s4 s8 s7 s4 s8 s8 s0 s0 s8 s5 s2 s7 s6 s5 s9 s7 s0 s9 s9 s9 If we are in state s3 and the input is c, what state will we be in next?
s7
506c9ffb-02eb-42ab-8cae-4bbf84de1269
06134d29-cfb1-401f-90f4-1cb4094ffd53
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7"], "alphabets": "abcdefg", "accepting_states": ["s6", "s3", "s7", "s5", "s4", "s1", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s1"]}]}
4
{"a":{"s0":"s1","s1":"s4","s2":"s1","s3":"s3","s4":"s5","s5":"s6","s6":"s0","s7":"s0"},"b":{"s0":"s6","s1":"s5","s2":"s0","s3":"s0","s4":"s2","s5":"s7","s6":"s5","s7":"s2"},"c":{"s0":"s5","s1":"s4","s2":"s6","s3":"s7","s4":"s6","s5":"s1","s6":"s4","s7":"s3"},"d":{"s0":"s1","s1":"s6","s2":"s5","s3":"s0","s4":"s2","s5":"s0","s6":"s3","s7":"s0"},"e":{"s0":"s1","s1":"s3","s2":"s6","s3":"s1","s4":"s4","s5":"s6","s6":"s1","s7":"s6"},"f":{"s0":"s6","s1":"s3","s2":"s1","s3":"s5","s4":"s4","s5":"s2","s6":"s5","s7":"s7"},"g":{"s0":"s1","s1":"s3","s2":"s1","s3":"s0","s4":"s7","s5":"s0","s6":"s4","s7":"s1"}}
Given the following FSM: a b c d e f g s0 s1 s6 s5 s1 s1 s6 s1 s1 s4 s5 s4 s6 s3 s3 s3 s2 s1 s0 s6 s5 s6 s1 s1 s3 s3 s0 s7 s0 s1 s5 s0 s4 s5 s2 s6 s2 s4 s4 s7 s5 s6 s7 s1 s0 s6 s2 s0 s6 s0 s5 s4 s3 s1 s5 s4 s7 s0 s2 s3 s0 s6 s7 s1 If we are in state s3 and the input is f, what state will we be in next?
s5
cd37e3df-21ce-4df9-9f8e-62420619fb01
ea185ea4-b6a8-4587-b81e-abcc45570342
{"states": ["s0", "s1", "s4", "s5", "s7"], "alphabets": "abc", "accepting_states": ["s1", "s0", "s5", "s4", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s5"]}]}
3
{"a":{"s0":"s7","s1":"s5","s4":"s5","s5":"s4","s7":"s1"},"b":{"s0":"s1","s1":"s5","s4":"s0","s5":"s5","s7":"s0"},"c":{"s0":"s7","s1":"s4","s4":"s4","s5":"s7","s7":"s5"}}
Given the following FSM: a b c s0 s7 s1 s7 s1 s5 s5 s4 s4 s5 s0 s4 s5 s4 s5 s7 s7 s1 s0 s5 If we are in state s4 and the input is b, what state will we be in next?
s0
7725cecf-c904-4a3f-8b71-19b0b687f018
2fad5865-55fc-4773-b090-a51654f55b19
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9"], "alphabets": "abcdefgh", "accepting_states": ["s9", "s0", "s7", "s5", "s2", "s8", "s6", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "h", "toStates": ["s4"]}]}
4
{"a":{"s0":"s1","s1":"s1","s2":"s4","s3":"s0","s4":"s5","s5":"s1","s6":"s3","s7":"s2","s8":"s1","s9":"s6"},"b":{"s0":"s2","s1":"s1","s2":"s5","s3":"s8","s4":"s4","s5":"s5","s6":"s6","s7":"s1","s8":"s2","s9":"s5"},"c":{"s0":"s9","s1":"s1","s2":"s4","s3":"s8","s4":"s2","s5":"s5","s6":"s5","s7":"s2","s8":"s0","s9":"s0"},"d":{"s0":"s5","s1":"s2","s2":"s0","s3":"s7","s4":"s0","s5":"s4","s6":"s4","s7":"s0","s8":"s6","s9":"s6"},"e":{"s0":"s2","s1":"s8","s2":"s7","s3":"s2","s4":"s4","s5":"s6","s6":"s9","s7":"s3","s8":"s5","s9":"s2"},"f":{"s0":"s8","s1":"s7","s2":"s0","s3":"s5","s4":"s1","s5":"s9","s6":"s3","s7":"s4","s8":"s8","s9":"s4"},"g":{"s0":"s4","s1":"s5","s2":"s3","s3":"s3","s4":"s8","s5":"s9","s6":"s8","s7":"s1","s8":"s0","s9":"s2"},"h":{"s0":"s5","s1":"s7","s2":"s3","s3":"s8","s4":"s3","s5":"s6","s6":"s5","s7":"s7","s8":"s6","s9":"s4"}}
Given the following FSM: a b c d e f g h s0 s1 s2 s9 s5 s2 s8 s4 s5 s1 s1 s1 s1 s2 s8 s7 s5 s7 s2 s4 s5 s4 s0 s7 s0 s3 s3 s3 s0 s8 s8 s7 s2 s5 s3 s8 s4 s5 s4 s2 s0 s4 s1 s8 s3 s5 s1 s5 s5 s4 s6 s9 s9 s6 s6 s3 s6 s5 s4 s9 s3 s8 s5 s7 s2 s1 s2 s0 s3 s4 s1 s7 s8 s1 s2 s0 s6 s5 s8 s0 s6 s9 s6 s5 s0 s6 s2 s4 s2 s4 If we are in state s7 and the input is g, what state will we be in next?
s1
84adcd99-0261-475c-a259-eb86484db131
daaf0458-fa1e-4837-878d-b3ca4ce1e938
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s10", "s11", "s12"], "alphabets": "abcdefghij", "accepting_states": ["s7", "s2", "s9", "s11", "s1", "s12", "s10"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s10"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s10"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s10"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s11"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s10"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s11"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s12"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s7"]}, {"fromState": "s3", "symbol": "j", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s12"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s10"]}, {"fromState": "s4", "symbol": "j", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s10"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "j", "toStates": ["s10"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s12"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s12"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "i", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s11"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "h", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "i", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "j", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "e", "toStates": ["s11"]}, {"fromState": "s9", "symbol": "f", "toStates": ["s12"]}, {"fromState": "s9", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "i", "toStates": ["s8"]}, {"fromState": "s9", "symbol": "j", "toStates": ["s10"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s11"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "e", "toStates": ["s10"]}, {"fromState": "s10", "symbol": "f", "toStates": ["s11"]}, {"fromState": "s10", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s10", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "i", "toStates": ["s12"]}, {"fromState": "s10", "symbol": "j", "toStates": ["s0"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s11", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s11", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s11", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s11", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s11", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s11", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s11", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s11", "symbol": "i", "toStates": ["s7"]}, {"fromState": "s11", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s12", "symbol": "b", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "c", "toStates": ["s11"]}, {"fromState": "s12", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s12", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s12", "symbol": "f", "toStates": ["s10"]}, {"fromState": "s12", "symbol": "g", "toStates": ["s8"]}, {"fromState": "s12", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s12", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s12", "symbol": "j", "toStates": ["s7"]}]}
5
{"a":{"s0":"s9","s1":"s9","s2":"s8","s3":"s5","s4":"s11","s5":"s12","s6":"s6","s7":"s1","s8":"s10","s9":"s0","s10":"s1","s11":"s4","s12":"s5"},"b":{"s0":"s6","s1":"s4","s2":"s7","s3":"s8","s4":"s0","s5":"s8","s6":"s8","s7":"s9","s8":"s1","s9":"s5","s10":"s11","s11":"s4","s12":"s12"},"c":{"s0":"s10","s1":"s6","s2":"s3","s3":"s2","s4":"s2","s5":"s6","s6":"s9","s7":"s4","s8":"s0","s9":"s9","s10":"s1","s11":"s4","s12":"s11"},"d":{"s0":"s0","s1":"s2","s2":"s10","s3":"s4","s4":"s9","s5":"s8","s6":"s9","s7":"s12","s8":"s3","s9":"s0","s10":"s0","s11":"s3","s12":"s7"},"e":{"s0":"s6","s1":"s7","s2":"s0","s3":"s10","s4":"s5","s5":"s5","s6":"s4","s7":"s1","s8":"s11","s9":"s11","s10":"s10","s11":"s6","s12":"s4"},"f":{"s0":"s7","s1":"s10","s2":"s0","s3":"s7","s4":"s7","s5":"s2","s6":"s12","s7":"s7","s8":"s2","s9":"s12","s10":"s11","s11":"s2","s12":"s10"},"g":{"s0":"s8","s1":"s10","s2":"s5","s3":"s11","s4":"s6","s5":"s10","s6":"s4","s7":"s4","s8":"s0","s9":"s2","s10":"s4","s11":"s3","s12":"s8"},"h":{"s0":"s5","s1":"s9","s2":"s2","s3":"s12","s4":"s12","s5":"s7","s6":"s0","s7":"s1","s8":"s5","s9":"s3","s10":"s2","s11":"s2","s12":"s6"},"i":{"s0":"s6","s1":"s11","s2":"s7","s3":"s7","s4":"s10","s5":"s3","s6":"s3","s7":"s6","s8":"s4","s9":"s8","s10":"s12","s11":"s7","s12":"s3"},"j":{"s0":"s4","s1":"s0","s2":"s0","s3":"s4","s4":"s9","s5":"s10","s6":"s1","s7":"s1","s8":"s6","s9":"s10","s10":"s0","s11":"s1","s12":"s7"}}
Given the following FSM: a b c d e f g h i j s0 s9 s6 s10 s0 s6 s7 s8 s5 s6 s4 s1 s9 s4 s6 s2 s7 s10 s10 s9 s11 s0 s2 s8 s7 s3 s10 s0 s0 s5 s2 s7 s0 s3 s5 s8 s2 s4 s10 s7 s11 s12 s7 s4 s4 s11 s0 s2 s9 s5 s7 s6 s12 s10 s9 s5 s12 s8 s6 s8 s5 s2 s10 s7 s3 s10 s6 s6 s8 s9 s9 s4 s12 s4 s0 s3 s1 s7 s1 s9 s4 s12 s1 s7 s4 s1 s6 s1 s8 s10 s1 s0 s3 s11 s2 s0 s5 s4 s6 s9 s0 s5 s9 s0 s11 s12 s2 s3 s8 s10 s10 s1 s11 s1 s0 s10 s11 s4 s2 s12 s0 s11 s4 s4 s4 s3 s6 s2 s3 s2 s7 s1 s12 s5 s12 s11 s7 s4 s10 s8 s6 s3 s7 If we are in state s6 and the input is i, what state will we be in next?
s3
eb40c302-ec02-4fe6-85c7-03ebf21252b2
d0a8a2e2-40de-4591-9f89-51e576901e41
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcdefg", "accepting_states": ["s5", "s3", "s6", "s1", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s1"]}]}
3
{"a":{"s0":"s4","s1":"s1","s2":"s2","s3":"s3","s4":"s1","s5":"s3","s6":"s1"},"b":{"s0":"s5","s1":"s0","s2":"s5","s3":"s4","s4":"s2","s5":"s0","s6":"s1"},"c":{"s0":"s1","s1":"s4","s2":"s5","s3":"s6","s4":"s4","s5":"s0","s6":"s1"},"d":{"s0":"s1","s1":"s3","s2":"s2","s3":"s6","s4":"s5","s5":"s6","s6":"s6"},"e":{"s0":"s0","s1":"s6","s2":"s5","s3":"s4","s4":"s3","s5":"s2","s6":"s4"},"f":{"s0":"s3","s1":"s6","s2":"s0","s3":"s6","s4":"s1","s5":"s0","s6":"s6"},"g":{"s0":"s3","s1":"s2","s2":"s0","s3":"s1","s4":"s3","s5":"s0","s6":"s1"}}
Given the following FSM: a b c d e f g s0 s4 s5 s1 s1 s0 s3 s3 s1 s1 s0 s4 s3 s6 s6 s2 s2 s2 s5 s5 s2 s5 s0 s0 s3 s3 s4 s6 s6 s4 s6 s1 s4 s1 s2 s4 s5 s3 s1 s3 s5 s3 s0 s0 s6 s2 s0 s0 s6 s1 s1 s1 s6 s4 s6 s1 If we are in state s4 and the input is g, what state will we be in next?
s3
5d08a674-d6ce-4f0a-b158-b6d1e42525da
5abf71a8-f4e6-45da-bc8c-e741d4a7f89a
{"states": ["s0", "s1", "s2", "s3"], "alphabets": "abcdefghi", "accepting_states": ["s1", "s3", "s2", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s1"]}]}
3
{"a":{"s0":"s3","s1":"s0","s2":"s2","s3":"s0"},"b":{"s0":"s3","s1":"s2","s2":"s2","s3":"s2"},"c":{"s0":"s2","s1":"s2","s2":"s0","s3":"s2"},"d":{"s0":"s2","s1":"s1","s2":"s2","s3":"s2"},"e":{"s0":"s3","s1":"s0","s2":"s0","s3":"s1"},"f":{"s0":"s0","s1":"s2","s2":"s3","s3":"s0"},"g":{"s0":"s2","s1":"s2","s2":"s0","s3":"s1"},"h":{"s0":"s2","s1":"s1","s2":"s3","s3":"s1"},"i":{"s0":"s3","s1":"s0","s2":"s3","s3":"s1"}}
Given the following FSM: a b c d e f g h i s0 s3 s3 s2 s2 s3 s0 s2 s2 s3 s1 s0 s2 s2 s1 s0 s2 s2 s1 s0 s2 s2 s2 s0 s2 s0 s3 s0 s3 s3 s3 s0 s2 s2 s2 s1 s0 s1 s1 s1 If we are in state s3 and the input is a, what state will we be in next?
s0
a8b717a1-2501-41ef-8b92-95163bfa7bd9
bf0b2f8a-81b9-4c1d-aa55-d935bbbe5960
{"states": ["s0", "s1", "s2", "s3", "s4", "s5"], "alphabets": "abcdefgh", "accepting_states": ["s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s0"]}]}
3
{"a":{"s0":"s1","s1":"s5","s2":"s3","s3":"s1","s4":"s4","s5":"s1"},"b":{"s0":"s1","s1":"s2","s2":"s0","s3":"s3","s4":"s0","s5":"s1"},"c":{"s0":"s4","s1":"s0","s2":"s1","s3":"s4","s4":"s5","s5":"s3"},"d":{"s0":"s0","s1":"s2","s2":"s0","s3":"s1","s4":"s1","s5":"s0"},"e":{"s0":"s3","s1":"s4","s2":"s2","s3":"s1","s4":"s1","s5":"s4"},"f":{"s0":"s5","s1":"s1","s2":"s3","s3":"s0","s4":"s1","s5":"s0"},"g":{"s0":"s0","s1":"s3","s2":"s0","s3":"s4","s4":"s1","s5":"s3"},"h":{"s0":"s0","s1":"s5","s2":"s2","s3":"s5","s4":"s0","s5":"s0"}}
Given the following FSM: a b c d e f g h s0 s1 s1 s4 s0 s3 s5 s0 s0 s1 s5 s2 s0 s2 s4 s1 s3 s5 s2 s3 s0 s1 s0 s2 s3 s0 s2 s3 s1 s3 s4 s1 s1 s0 s4 s5 s4 s4 s0 s5 s1 s1 s1 s1 s0 s5 s1 s1 s3 s0 s4 s0 s3 s0 If we are in state s5 and the input is g, what state will we be in next?
s3
d1006904-a326-462d-a3e2-59df07c72710
3fe49ed8-d0b4-42e2-82ce-42c4dd060ec7
{"states": ["s0", "s1", "s2", "s3", "s4"], "alphabets": "abcdefghi", "accepting_states": ["s0", "s2", "s3", "s4", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s3"]}]}
3
{"a":{"s0":"s1","s1":"s3","s2":"s1","s3":"s0","s4":"s2"},"b":{"s0":"s2","s1":"s1","s2":"s3","s3":"s1","s4":"s2"},"c":{"s0":"s0","s1":"s4","s2":"s1","s3":"s0","s4":"s1"},"d":{"s0":"s0","s1":"s3","s2":"s2","s3":"s2","s4":"s4"},"e":{"s0":"s3","s1":"s1","s2":"s0","s3":"s2","s4":"s1"},"f":{"s0":"s3","s1":"s1","s2":"s4","s3":"s0","s4":"s2"},"g":{"s0":"s3","s1":"s0","s2":"s3","s3":"s4","s4":"s4"},"h":{"s0":"s1","s1":"s1","s2":"s0","s3":"s4","s4":"s0"},"i":{"s0":"s0","s1":"s2","s2":"s4","s3":"s4","s4":"s3"}}
Given the following FSM: a b c d e f g h i s0 s1 s2 s0 s0 s3 s3 s3 s1 s0 s1 s3 s1 s4 s3 s1 s1 s0 s1 s2 s2 s1 s3 s1 s2 s0 s4 s3 s0 s4 s3 s0 s1 s0 s2 s2 s0 s4 s4 s4 s4 s2 s2 s1 s4 s1 s2 s4 s0 s3 If we are in state s1 and the input is e, what state will we be in next?
s1
f7af40fa-d55b-4dfc-8e9e-ecf848e19f34
fa07696f-f4d3-47aa-894a-5dfa013c1306
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9"], "alphabets": "abcdefghij", "accepting_states": ["s5", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s9"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "j", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s8"]}, {"fromState": "s4", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "j", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "j", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s7", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "i", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "j", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s8", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "i", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "g", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "j", "toStates": ["s0"]}]}
5
{"a":{"s0":"s0","s1":"s3","s2":"s6","s3":"s1","s4":"s5","s5":"s6","s6":"s0","s7":"s6","s8":"s8","s9":"s1"},"b":{"s0":"s8","s1":"s3","s2":"s6","s3":"s4","s4":"s5","s5":"s4","s6":"s2","s7":"s8","s8":"s0","s9":"s7"},"c":{"s0":"s1","s1":"s9","s2":"s4","s3":"s1","s4":"s7","s5":"s1","s6":"s9","s7":"s9","s8":"s5","s9":"s6"},"d":{"s0":"s1","s1":"s8","s2":"s1","s3":"s9","s4":"s0","s5":"s7","s6":"s0","s7":"s8","s8":"s6","s9":"s0"},"e":{"s0":"s9","s1":"s9","s2":"s1","s3":"s8","s4":"s0","s5":"s6","s6":"s0","s7":"s1","s8":"s2","s9":"s7"},"f":{"s0":"s3","s1":"s8","s2":"s3","s3":"s0","s4":"s9","s5":"s0","s6":"s8","s7":"s8","s8":"s7","s9":"s0"},"g":{"s0":"s2","s1":"s7","s2":"s0","s3":"s0","s4":"s4","s5":"s0","s6":"s5","s7":"s2","s8":"s2","s9":"s7"},"h":{"s0":"s5","s1":"s9","s2":"s4","s3":"s6","s4":"s7","s5":"s5","s6":"s2","s7":"s7","s8":"s4","s9":"s6"},"i":{"s0":"s2","s1":"s3","s2":"s2","s3":"s9","s4":"s8","s5":"s1","s6":"s3","s7":"s8","s8":"s5","s9":"s3"},"j":{"s0":"s6","s1":"s7","s2":"s3","s3":"s9","s4":"s1","s5":"s8","s6":"s6","s7":"s8","s8":"s2","s9":"s0"}}
Given the following FSM: a b c d e f g h i j s0 s0 s8 s1 s1 s9 s3 s2 s5 s2 s6 s1 s3 s3 s9 s8 s9 s8 s7 s9 s3 s7 s2 s6 s6 s4 s1 s1 s3 s0 s4 s2 s3 s3 s1 s4 s1 s9 s8 s0 s0 s6 s9 s9 s4 s5 s5 s7 s0 s0 s9 s4 s7 s8 s1 s5 s6 s4 s1 s7 s6 s0 s0 s5 s1 s8 s6 s0 s2 s9 s0 s0 s8 s5 s2 s3 s6 s7 s6 s8 s9 s8 s1 s8 s2 s7 s8 s8 s8 s8 s0 s5 s6 s2 s7 s2 s4 s5 s2 s9 s1 s7 s6 s0 s7 s0 s7 s6 s3 s0 If we are in state s3 and the input is c, what state will we be in next?
s1
01c46e7c-5044-49ae-9c9e-aa1e58939d72
d5232e52-2eb0-403c-b3a8-12fc038c7e79
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s10", "s11"], "alphabets": "abcdefghij", "accepting_states": ["s3", "s1", "s7", "s0", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s11"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s9"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s9"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s11"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s8"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s11"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s11"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s10"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s11"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s8"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s10"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "j", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s10"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "j", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s11"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s11"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s11"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "i", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "j", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "h", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "i", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "j", "toStates": ["s10"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "g", "toStates": ["s11"]}, {"fromState": "s8", "symbol": "h", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "i", "toStates": ["s4"]}, {"fromState": "s8", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s9", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "f", "toStates": ["s9"]}, {"fromState": "s9", "symbol": "g", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "h", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s10", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s10", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s10", "symbol": "g", "toStates": ["s5"]}, {"fromState": "s10", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s10", "symbol": "i", "toStates": ["s6"]}, {"fromState": "s10", "symbol": "j", "toStates": ["s8"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s11", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s11", "symbol": "c", "toStates": ["s8"]}, {"fromState": "s11", "symbol": "d", "toStates": ["s10"]}, {"fromState": "s11", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s11", "symbol": "f", "toStates": ["s11"]}, {"fromState": "s11", "symbol": "g", "toStates": ["s11"]}, {"fromState": "s11", "symbol": "h", "toStates": ["s7"]}, {"fromState": "s11", "symbol": "i", "toStates": ["s5"]}, {"fromState": "s11", "symbol": "j", "toStates": ["s7"]}]}
5
{"a":{"s0":"s1","s1":"s7","s2":"s4","s3":"s8","s4":"s4","s5":"s2","s6":"s1","s7":"s7","s8":"s11","s9":"s1","s10":"s7","s11":"s10"},"b":{"s0":"s9","s1":"s2","s2":"s11","s3":"s10","s4":"s7","s5":"s0","s6":"s2","s7":"s10","s8":"s10","s9":"s5","s10":"s5","s11":"s6"},"c":{"s0":"s11","s1":"s6","s2":"s10","s3":"s11","s4":"s10","s5":"s3","s6":"s7","s7":"s10","s8":"s6","s9":"s0","s10":"s5","s11":"s8"},"d":{"s0":"s2","s1":"s4","s2":"s9","s3":"s10","s4":"s6","s5":"s2","s6":"s11","s7":"s3","s8":"s1","s9":"s8","s10":"s5","s11":"s10"},"e":{"s0":"s9","s1":"s8","s2":"s5","s3":"s4","s4":"s3","s5":"s6","s6":"s11","s7":"s10","s8":"s2","s9":"s0","s10":"s0","s11":"s0"},"f":{"s0":"s9","s1":"s2","s2":"s8","s3":"s2","s4":"s4","s5":"s6","s6":"s9","s7":"s10","s8":"s8","s9":"s9","s10":"s6","s11":"s11"},"g":{"s0":"s5","s1":"s0","s2":"s7","s3":"s10","s4":"s7","s5":"s10","s6":"s11","s7":"s4","s8":"s11","s9":"s6","s10":"s5","s11":"s11"},"h":{"s0":"s7","s1":"s4","s2":"s6","s3":"s8","s4":"s2","s5":"s3","s6":"s2","s7":"s5","s8":"s5","s9":"s2","s10":"s4","s11":"s7"},"i":{"s0":"s11","s1":"s7","s2":"s8","s3":"s6","s4":"s9","s5":"s1","s6":"s7","s7":"s10","s8":"s4","s9":"s1","s10":"s6","s11":"s5"},"j":{"s0":"s5","s1":"s11","s2":"s9","s3":"s1","s4":"s9","s5":"s3","s6":"s7","s7":"s10","s8":"s2","s9":"s1","s10":"s8","s11":"s7"}}
Given the following FSM: a b c d e f g h i j s0 s1 s9 s11 s2 s9 s9 s5 s7 s11 s5 s1 s7 s2 s6 s4 s8 s2 s0 s4 s7 s11 s2 s4 s11 s10 s9 s5 s8 s7 s6 s8 s9 s3 s8 s10 s11 s10 s4 s2 s10 s8 s6 s1 s4 s4 s7 s10 s6 s3 s4 s7 s2 s9 s9 s5 s2 s0 s3 s2 s6 s6 s10 s3 s1 s3 s6 s1 s2 s7 s11 s11 s9 s11 s2 s7 s7 s7 s7 s10 s10 s3 s10 s10 s4 s5 s10 s10 s8 s11 s10 s6 s1 s2 s8 s11 s5 s4 s2 s9 s1 s5 s0 s8 s0 s9 s6 s2 s1 s1 s10 s7 s5 s5 s5 s0 s6 s5 s4 s6 s8 s11 s10 s6 s8 s10 s0 s11 s11 s7 s5 s7 If we are in state s3 and the input is j, what state will we be in next?
s1
b731d559-ee50-4a1c-b8d7-0daaf7e8edef
2a1cc3cc-95f7-4d75-abf7-8a81db975c59
{"states": ["s0", "s1"], "alphabets": "abcdefghij", "accepting_states": ["s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s1"]}]}
3
{"a":{"s0":"s0","s1":"s1"},"b":{"s0":"s1","s1":"s0"},"c":{"s0":"s1","s1":"s0"},"d":{"s0":"s1","s1":"s0"},"e":{"s0":"s0","s1":"s1"},"f":{"s0":"s0","s1":"s1"},"g":{"s0":"s1","s1":"s0"},"h":{"s0":"s1","s1":"s1"},"i":{"s0":"s1","s1":"s1"},"j":{"s0":"s1","s1":"s1"}}
Given the following FSM: a b c d e f g h i j s0 s0 s1 s1 s1 s0 s0 s1 s1 s1 s1 s1 s1 s0 s0 s0 s1 s1 s0 s1 s1 s1 If we are in state s0 and the input is f, what state will we be in next?
s0
9805a590-54f8-42c1-92e1-8a86125b7f86
8a6d287f-eaa4-4a3e-9611-df3a6a95121b
{"states": ["s0", "s1", "s2"], "alphabets": "abcdefgh", "accepting_states": ["s0", "s1", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s2"]}]}
3
{"a":{"s0":"s1","s1":"s1","s2":"s2"},"b":{"s0":"s2","s1":"s2","s2":"s1"},"c":{"s0":"s2","s1":"s2","s2":"s1"},"d":{"s0":"s0","s1":"s2","s2":"s0"},"e":{"s0":"s0","s1":"s1","s2":"s0"},"f":{"s0":"s1","s1":"s2","s2":"s2"},"g":{"s0":"s2","s1":"s0","s2":"s1"},"h":{"s0":"s1","s1":"s0","s2":"s2"}}
Given the following FSM: a b c d e f g h s0 s1 s2 s2 s0 s0 s1 s2 s1 s1 s1 s2 s2 s2 s1 s2 s0 s0 s2 s2 s1 s1 s0 s0 s2 s1 s2 If we are in state s1 and the input is d, what state will we be in next?
s2
c519a30b-f538-4497-bbca-1683ab13fc8a
9c816114-4f2e-43c1-9ed8-521d63d3e62e
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s10"], "alphabets": "abcdef", "accepting_states": ["s5", "s9", "s8", "s3", "s2", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s7"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s7", "symbol": "d", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "e", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "f", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s10"]}, {"fromState": "s9", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s9", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s9", "symbol": "f", "toStates": ["s7"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s10", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s10", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s10", "symbol": "f", "toStates": ["s6"]}]}
4
{"a":{"s0":"s2","s1":"s1","s2":"s1","s3":"s1","s4":"s10","s5":"s8","s6":"s1","s7":"s1","s8":"s8","s9":"s9","s10":"s5"},"b":{"s0":"s6","s1":"s0","s2":"s5","s3":"s3","s4":"s0","s5":"s5","s6":"s6","s7":"s10","s8":"s7","s9":"s6","s10":"s5"},"c":{"s0":"s5","s1":"s6","s2":"s2","s3":"s9","s4":"s3","s5":"s7","s6":"s0","s7":"s0","s8":"s0","s9":"s10","s10":"s1"},"d":{"s0":"s5","s1":"s1","s2":"s8","s3":"s4","s4":"s9","s5":"s5","s6":"s8","s7":"s9","s8":"s0","s9":"s5","s10":"s2"},"e":{"s0":"s3","s1":"s5","s2":"s0","s3":"s2","s4":"s6","s5":"s1","s6":"s1","s7":"s7","s8":"s3","s9":"s2","s10":"s1"},"f":{"s0":"s3","s1":"s7","s2":"s2","s3":"s6","s4":"s3","s5":"s8","s6":"s6","s7":"s8","s8":"s3","s9":"s7","s10":"s6"}}
Given the following FSM: a b c d e f s0 s2 s6 s5 s5 s3 s3 s1 s1 s0 s6 s1 s5 s7 s2 s1 s5 s2 s8 s0 s2 s3 s1 s3 s9 s4 s2 s6 s4 s10 s0 s3 s9 s6 s3 s5 s8 s5 s7 s5 s1 s8 s6 s1 s6 s0 s8 s1 s6 s7 s1 s10 s0 s9 s7 s8 s8 s8 s7 s0 s0 s3 s3 s9 s9 s6 s10 s5 s2 s7 s10 s5 s5 s1 s2 s1 s6 If we are in state s6 and the input is d, what state will we be in next?
s8
94b787dc-14e8-4ec3-ab2d-9a37121b6f9b
14bd22b0-aab8-4635-9761-f0cd85f449a0
{"states": ["s0", "s2", "s4", "s5", "s6", "s8"], "alphabets": "ab", "accepting_states": ["s4", "s5", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s8"]}]}
3
{"a":{"s0":"s4","s2":"s0","s4":"s5","s5":"s6","s6":"s8","s8":"s0"},"b":{"s0":"s8","s2":"s6","s4":"s2","s5":"s0","s6":"s5","s8":"s8"}}
Given the following FSM: a b s0 s4 s8 s2 s0 s6 s4 s5 s2 s5 s6 s0 s6 s8 s5 s8 s0 s8 If we are in state s6 and the input is b, what state will we be in next?
s5
a74202b0-ea48-40f9-b279-17d27dee9987
1b0c7b93-2e2c-47c9-ae88-3fd5068458a8
{"states": ["s0", "s1", "s2", "s3", "s4", "s5"], "alphabets": "abcde", "accepting_states": ["s1", "s5", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s1"]}]}
3
{"a":{"s0":"s4","s1":"s0","s2":"s5","s3":"s0","s4":"s2","s5":"s5"},"b":{"s0":"s0","s1":"s2","s2":"s0","s3":"s4","s4":"s4","s5":"s1"},"c":{"s0":"s3","s1":"s2","s2":"s3","s3":"s1","s4":"s4","s5":"s2"},"d":{"s0":"s0","s1":"s2","s2":"s2","s3":"s2","s4":"s2","s5":"s0"},"e":{"s0":"s3","s1":"s2","s2":"s4","s3":"s5","s4":"s5","s5":"s1"}}
Given the following FSM: a b c d e s0 s4 s0 s3 s0 s3 s1 s0 s2 s2 s2 s2 s2 s5 s0 s3 s2 s4 s3 s0 s4 s1 s2 s5 s4 s2 s4 s4 s2 s5 s5 s5 s1 s2 s0 s1 If we are in state s3 and the input is a, what state will we be in next?
s0
ecec7e79-c51d-47ba-a28d-5f2eabd33209
06ccb4a3-35b5-4d81-9780-082bb44345e5
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s9"], "alphabets": "abc", "accepting_states": ["s7", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "c", "toStates": ["s9"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "c", "toStates": ["s1"]}]}
3
{"a":{"s0":"s5","s1":"s7","s2":"s5","s3":"s5","s4":"s3","s5":"s9","s6":"s3","s7":"s3","s9":"s6"},"b":{"s0":"s5","s1":"s9","s2":"s4","s3":"s2","s4":"s9","s5":"s2","s6":"s7","s7":"s7","s9":"s6"},"c":{"s0":"s3","s1":"s1","s2":"s5","s3":"s5","s4":"s6","s5":"s3","s6":"s9","s7":"s9","s9":"s1"}}
Given the following FSM: a b c s0 s5 s5 s3 s1 s7 s9 s1 s2 s5 s4 s5 s3 s5 s2 s5 s4 s3 s9 s6 s5 s9 s2 s3 s6 s3 s7 s9 s7 s3 s7 s9 s9 s6 s6 s1 If we are in state s3 and the input is c, what state will we be in next?
s5
0317f8f8-4126-4478-9814-292ff4b14d5c
29436bac-cf37-4524-833a-76a2fbd77f0f
{"states": ["s0", "s6", "s8", "s9"], "alphabets": "a", "accepting_states": ["s8"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s8"]}]}
3
{"a":{"s0":"s6","s6":"s9","s8":"s0","s9":"s8"}}
Given the following FSM: a s0 s6 s6 s9 s8 s0 s9 s8 If we are in state s9 and the input is a, what state will we be in next?
s8
0081a0e0-492b-4551-b503-c2b7ba5e476f
bd7ac489-7da8-4f35-b643-a5c21714e46b
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6"], "alphabets": "abcdefghi", "accepting_states": ["s0", "s5", "s2", "s3", "s1", "s6", "s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s4"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s3", "symbol": "c", "toStates": ["s1"]}, {"fromState": "s3", "symbol": "d", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "f", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "g", "toStates": ["s4"]}, {"fromState": "s3", "symbol": "h", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "e", "toStates": ["s4"]}, {"fromState": "s4", "symbol": "f", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "g", "toStates": ["s2"]}, {"fromState": "s4", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s4", "symbol": "i", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "c", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s5", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "h", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "i", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "c", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "d", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "e", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "f", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "g", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "h", "toStates": ["s3"]}, {"fromState": "s6", "symbol": "i", "toStates": ["s6"]}]}
4
{"a":{"s0":"s4","s1":"s6","s2":"s4","s3":"s1","s4":"s1","s5":"s2","s6":"s6"},"b":{"s0":"s0","s1":"s5","s2":"s1","s3":"s2","s4":"s6","s5":"s0","s6":"s2"},"c":{"s0":"s0","s1":"s1","s2":"s4","s3":"s1","s4":"s6","s5":"s6","s6":"s5"},"d":{"s0":"s2","s1":"s0","s2":"s5","s3":"s5","s4":"s2","s5":"s0","s6":"s3"},"e":{"s0":"s1","s1":"s0","s2":"s1","s3":"s0","s4":"s4","s5":"s3","s6":"s3"},"f":{"s0":"s6","s1":"s4","s2":"s4","s3":"s5","s4":"s6","s5":"s1","s6":"s3"},"g":{"s0":"s1","s1":"s2","s2":"s4","s3":"s4","s4":"s2","s5":"s3","s6":"s3"},"h":{"s0":"s1","s1":"s4","s2":"s6","s3":"s6","s4":"s3","s5":"s5","s6":"s3"},"i":{"s0":"s3","s1":"s5","s2":"s4","s3":"s0","s4":"s4","s5":"s3","s6":"s6"}}
Given the following FSM: a b c d e f g h i s0 s4 s0 s0 s2 s1 s6 s1 s1 s3 s1 s6 s5 s1 s0 s0 s4 s2 s4 s5 s2 s4 s1 s4 s5 s1 s4 s4 s6 s4 s3 s1 s2 s1 s5 s0 s5 s4 s6 s0 s4 s1 s6 s6 s2 s4 s6 s2 s3 s4 s5 s2 s0 s6 s0 s3 s1 s3 s5 s3 s6 s6 s2 s5 s3 s3 s3 s3 s3 s6 If we are in state s1 and the input is g, what state will we be in next?
s2