query_id
stringlengths 36
36
| fsm_id
stringclasses 640
values | fsm_json
stringclasses 584
values | difficulty_level
int64 1
4
| transition_matrix
stringclasses 581
values | query
stringlengths 412
1.46k
| answer
stringclasses 15
values | substring_index
int64 1
20
| number_of_states
int64 1
10
| number_of_alphabets
int64 1
8
| state_alpha_combo
stringclasses 80
values | example_query_id
stringclasses 160
values | example_fsm_id
stringclasses 160
values | input_alphabet
stringlengths 1
20
| simulated_solution
stringclasses 15
values | solution_verbose
stringlengths 77
381
| query_zero_shot
stringlengths 161
624
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s10"], "alphabets": "a", "accepting_states": ["s5", "s0", "s2", "s7", "s1", "s3", "s4", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s5","s1":"s4","s2":"s10","s3":"s0","s4":"s6","s5":"s1","s6":"s8","s7":"s3","s8":"s2","s10":"s7"}} | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
Final state: s4
Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ? | s5 | 1 | 10 | 1 | 10_1 | a53d906f-32f6-4f70-bab1-7b18441a8052 | 6e201a1d-4674-4081-b630-c1f8f969c411 | a | s5 | Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5 | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ? |
338d36c7-6cfb-447c-8048-569021c45206 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s10"], "alphabets": "a", "accepting_states": ["s5", "s0", "s2", "s7", "s1", "s3", "s4", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s5","s1":"s4","s2":"s10","s3":"s0","s4":"s6","s5":"s1","s6":"s8","s7":"s3","s8":"s2","s10":"s7"}} | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
Final state: s4
Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a a a a a ? | s0 | 20 | 10 | 1 | 10_1 | a53d906f-32f6-4f70-bab1-7b18441a8052 | 6e201a1d-4674-4081-b630-c1f8f969c411 | aaaaaaaaaaaaaaaaaaaa | s0 | Transitions (current_state, input, next_state):
(s0, 'a', s5)
(s5, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s6)
(s6, 'a', s8)
(s8, 'a', s2)
(s2, 'a', s10)
(s10, 'a', s7)
(s7, 'a', s3)
(s3, 'a', s0)
(s0, 'a', s5)
(s5, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s6)
(s6, 'a', s8)
(s8, 'a', s2)
(s2, 'a', s10)
(s10, 'a', s7)
(s7, 'a', s3)
(s3, 'a', s0)
Final state: s0 | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a a a a a ? |
6efc12f1-338a-4f86-9288-6ee9f3fb1d41 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s10"], "alphabets": "a", "accepting_states": ["s5", "s0", "s2", "s7", "s1", "s3", "s4", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s5","s1":"s4","s2":"s10","s3":"s0","s4":"s6","s5":"s1","s6":"s8","s7":"s3","s8":"s2","s10":"s7"}} | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
Final state: s4
Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a a a ? | s7 | 18 | 10 | 1 | 10_1 | a53d906f-32f6-4f70-bab1-7b18441a8052 | 6e201a1d-4674-4081-b630-c1f8f969c411 | aaaaaaaaaaaaaaaaaa | s7 | Transitions (current_state, input, next_state):
(s0, 'a', s5)
(s5, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s6)
(s6, 'a', s8)
(s8, 'a', s2)
(s2, 'a', s10)
(s10, 'a', s7)
(s7, 'a', s3)
(s3, 'a', s0)
(s0, 'a', s5)
(s5, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s6)
(s6, 'a', s8)
(s8, 'a', s2)
(s2, 'a', s10)
(s10, 'a', s7)
Final state: s7 | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a a a ? |
5c0946d4-3913-4b83-ac00-467f846976c7 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s10"], "alphabets": "a", "accepting_states": ["s5", "s0", "s2", "s7", "s1", "s3", "s4", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s5","s1":"s4","s2":"s10","s3":"s0","s4":"s6","s5":"s1","s6":"s8","s7":"s3","s8":"s2","s10":"s7"}} | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
Final state: s4
Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a a ? | s10 | 17 | 10 | 1 | 10_1 | a53d906f-32f6-4f70-bab1-7b18441a8052 | 6e201a1d-4674-4081-b630-c1f8f969c411 | aaaaaaaaaaaaaaaaa | s10 | Transitions (current_state, input, next_state):
(s0, 'a', s5)
(s5, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s6)
(s6, 'a', s8)
(s8, 'a', s2)
(s2, 'a', s10)
(s10, 'a', s7)
(s7, 'a', s3)
(s3, 'a', s0)
(s0, 'a', s5)
(s5, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s6)
(s6, 'a', s8)
(s8, 'a', s2)
(s2, 'a', s10)
Final state: s10 | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a a ? |
b2eb6616-7f67-4308-8bc7-6f7b4bf2af70 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s10"], "alphabets": "a", "accepting_states": ["s5", "s0", "s2", "s7", "s1", "s3", "s4", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s5","s1":"s4","s2":"s10","s3":"s0","s4":"s6","s5":"s1","s6":"s8","s7":"s3","s8":"s2","s10":"s7"}} | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
Final state: s4
Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a ? | s2 | 16 | 10 | 1 | 10_1 | a53d906f-32f6-4f70-bab1-7b18441a8052 | 6e201a1d-4674-4081-b630-c1f8f969c411 | aaaaaaaaaaaaaaaa | s2 | Transitions (current_state, input, next_state):
(s0, 'a', s5)
(s5, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s6)
(s6, 'a', s8)
(s8, 'a', s2)
(s2, 'a', s10)
(s10, 'a', s7)
(s7, 'a', s3)
(s3, 'a', s0)
(s0, 'a', s5)
(s5, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s6)
(s6, 'a', s8)
(s8, 'a', s2)
Final state: s2 | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a ? |
872d0ea1-6c07-4ee8-8244-1dca695870bc | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s10"], "alphabets": "a", "accepting_states": ["s5", "s0", "s2", "s7", "s1", "s3", "s4", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s5","s1":"s4","s2":"s10","s3":"s0","s4":"s6","s5":"s1","s6":"s8","s7":"s3","s8":"s2","s10":"s7"}} | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
Final state: s4
Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a ? | s8 | 15 | 10 | 1 | 10_1 | a53d906f-32f6-4f70-bab1-7b18441a8052 | 6e201a1d-4674-4081-b630-c1f8f969c411 | aaaaaaaaaaaaaaa | s8 | Transitions (current_state, input, next_state):
(s0, 'a', s5)
(s5, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s6)
(s6, 'a', s8)
(s8, 'a', s2)
(s2, 'a', s10)
(s10, 'a', s7)
(s7, 'a', s3)
(s3, 'a', s0)
(s0, 'a', s5)
(s5, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s6)
(s6, 'a', s8)
Final state: s8 | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a ? |
6c071298-3b88-4f20-b0e0-3c3e0cc4bd99 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s10"], "alphabets": "a", "accepting_states": ["s5", "s0", "s2", "s7", "s1", "s3", "s4", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s5","s1":"s4","s2":"s10","s3":"s0","s4":"s6","s5":"s1","s6":"s8","s7":"s3","s8":"s2","s10":"s7"}} | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
Final state: s4
Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a a a a a a a a a a a ? | s6 | 14 | 10 | 1 | 10_1 | a53d906f-32f6-4f70-bab1-7b18441a8052 | 6e201a1d-4674-4081-b630-c1f8f969c411 | aaaaaaaaaaaaaa | s6 | Transitions (current_state, input, next_state):
(s0, 'a', s5)
(s5, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s6)
(s6, 'a', s8)
(s8, 'a', s2)
(s2, 'a', s10)
(s10, 'a', s7)
(s7, 'a', s3)
(s3, 'a', s0)
(s0, 'a', s5)
(s5, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s6)
Final state: s6 | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a a a a a a a a a a a ? |
eeb0e761-15f3-449f-94e4-fabbc60c0cff | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s10"], "alphabets": "a", "accepting_states": ["s5", "s0", "s2", "s7", "s1", "s3", "s4", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s5","s1":"s4","s2":"s10","s3":"s0","s4":"s6","s5":"s1","s6":"s8","s7":"s3","s8":"s2","s10":"s7"}} | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
Final state: s4
Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a a a a a a a a a a ? | s4 | 13 | 10 | 1 | 10_1 | a53d906f-32f6-4f70-bab1-7b18441a8052 | 6e201a1d-4674-4081-b630-c1f8f969c411 | aaaaaaaaaaaaa | s4 | Transitions (current_state, input, next_state):
(s0, 'a', s5)
(s5, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s6)
(s6, 'a', s8)
(s8, 'a', s2)
(s2, 'a', s10)
(s10, 'a', s7)
(s7, 'a', s3)
(s3, 'a', s0)
(s0, 'a', s5)
(s5, 'a', s1)
(s1, 'a', s4)
Final state: s4 | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a a a a a a a a a a ? |
9a27d0d5-d6df-4569-a4aa-b275348fe69a | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s10"], "alphabets": "a", "accepting_states": ["s5", "s0", "s2", "s7", "s1", "s3", "s4", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s5","s1":"s4","s2":"s10","s3":"s0","s4":"s6","s5":"s1","s6":"s8","s7":"s3","s8":"s2","s10":"s7"}} | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
Final state: s4
Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a a a a a a a a a ? | s1 | 12 | 10 | 1 | 10_1 | a53d906f-32f6-4f70-bab1-7b18441a8052 | 6e201a1d-4674-4081-b630-c1f8f969c411 | aaaaaaaaaaaa | s1 | Transitions (current_state, input, next_state):
(s0, 'a', s5)
(s5, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s6)
(s6, 'a', s8)
(s8, 'a', s2)
(s2, 'a', s10)
(s10, 'a', s7)
(s7, 'a', s3)
(s3, 'a', s0)
(s0, 'a', s5)
(s5, 'a', s1)
Final state: s1 | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a a a a a a a a a ? |
2bf2aff6-caa4-434b-9907-079c4c04fc8d | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s10"], "alphabets": "a", "accepting_states": ["s5", "s0", "s2", "s7", "s1", "s3", "s4", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s5","s1":"s4","s2":"s10","s3":"s0","s4":"s6","s5":"s1","s6":"s8","s7":"s3","s8":"s2","s10":"s7"}} | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
Final state: s4
Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a a a a a a a a ? | s5 | 11 | 10 | 1 | 10_1 | a53d906f-32f6-4f70-bab1-7b18441a8052 | 6e201a1d-4674-4081-b630-c1f8f969c411 | aaaaaaaaaaa | s5 | Transitions (current_state, input, next_state):
(s0, 'a', s5)
(s5, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s6)
(s6, 'a', s8)
(s8, 'a', s2)
(s2, 'a', s10)
(s10, 'a', s7)
(s7, 'a', s3)
(s3, 'a', s0)
(s0, 'a', s5)
Final state: s5 | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a a a a a a a a ? |
716efc91-6377-44c9-815f-3de0ee4b5dad | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s10"], "alphabets": "a", "accepting_states": ["s5", "s0", "s2", "s7", "s1", "s3", "s4", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s5","s1":"s4","s2":"s10","s3":"s0","s4":"s6","s5":"s1","s6":"s8","s7":"s3","s8":"s2","s10":"s7"}} | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
Final state: s4
Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a a a a ? | s3 | 19 | 10 | 1 | 10_1 | a53d906f-32f6-4f70-bab1-7b18441a8052 | 6e201a1d-4674-4081-b630-c1f8f969c411 | aaaaaaaaaaaaaaaaaaa | s3 | Transitions (current_state, input, next_state):
(s0, 'a', s5)
(s5, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s6)
(s6, 'a', s8)
(s8, 'a', s2)
(s2, 'a', s10)
(s10, 'a', s7)
(s7, 'a', s3)
(s3, 'a', s0)
(s0, 'a', s5)
(s5, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s6)
(s6, 'a', s8)
(s8, 'a', s2)
(s2, 'a', s10)
(s10, 'a', s7)
(s7, 'a', s3)
Final state: s3 | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a a a a ? |
44897bd7-0026-4cef-af31-bc7017bcaa67 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s10"], "alphabets": "a", "accepting_states": ["s5", "s0", "s2", "s7", "s1", "s3", "s4", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s5","s1":"s4","s2":"s10","s3":"s0","s4":"s6","s5":"s1","s6":"s8","s7":"s3","s8":"s2","s10":"s7"}} | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
Final state: s4
Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a a a a a a ? | s3 | 9 | 10 | 1 | 10_1 | a53d906f-32f6-4f70-bab1-7b18441a8052 | 6e201a1d-4674-4081-b630-c1f8f969c411 | aaaaaaaaa | s3 | Transitions (current_state, input, next_state):
(s0, 'a', s5)
(s5, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s6)
(s6, 'a', s8)
(s8, 'a', s2)
(s2, 'a', s10)
(s10, 'a', s7)
(s7, 'a', s3)
Final state: s3 | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a a a a a a ? |
56ed2a78-def2-4e32-8713-ce612ef8bf62 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s10"], "alphabets": "a", "accepting_states": ["s5", "s0", "s2", "s7", "s1", "s3", "s4", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s5","s1":"s4","s2":"s10","s3":"s0","s4":"s6","s5":"s1","s6":"s8","s7":"s3","s8":"s2","s10":"s7"}} | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
Final state: s4
Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a a a a a a a ? | s0 | 10 | 10 | 1 | 10_1 | a53d906f-32f6-4f70-bab1-7b18441a8052 | 6e201a1d-4674-4081-b630-c1f8f969c411 | aaaaaaaaaa | s0 | Transitions (current_state, input, next_state):
(s0, 'a', s5)
(s5, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s6)
(s6, 'a', s8)
(s8, 'a', s2)
(s2, 'a', s10)
(s10, 'a', s7)
(s7, 'a', s3)
(s3, 'a', s0)
Final state: s0 | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a a a a a a a ? |
152f2477-d309-4bcc-b92c-7559eaf61617 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s10"], "alphabets": "a", "accepting_states": ["s5", "s0", "s2", "s7", "s1", "s3", "s4", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s5","s1":"s4","s2":"s10","s3":"s0","s4":"s6","s5":"s1","s6":"s8","s7":"s3","s8":"s2","s10":"s7"}} | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
Final state: s4
Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a ? | s4 | 3 | 10 | 1 | 10_1 | a53d906f-32f6-4f70-bab1-7b18441a8052 | 6e201a1d-4674-4081-b630-c1f8f969c411 | aaa | s4 | Transitions (current_state, input, next_state):
(s0, 'a', s5)
(s5, 'a', s1)
(s1, 'a', s4)
Final state: s4 | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a ? |
56f82594-0ba7-479b-8fe5-4a9dc9eb7f5d | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s10"], "alphabets": "a", "accepting_states": ["s5", "s0", "s2", "s7", "s1", "s3", "s4", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s5","s1":"s4","s2":"s10","s3":"s0","s4":"s6","s5":"s1","s6":"s8","s7":"s3","s8":"s2","s10":"s7"}} | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
Final state: s4
Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a ? | s6 | 4 | 10 | 1 | 10_1 | a53d906f-32f6-4f70-bab1-7b18441a8052 | 6e201a1d-4674-4081-b630-c1f8f969c411 | aaaa | s6 | Transitions (current_state, input, next_state):
(s0, 'a', s5)
(s5, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s6)
Final state: s6 | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a ? |
e906c654-2591-4820-9544-f0dae49aa044 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s10"], "alphabets": "a", "accepting_states": ["s5", "s0", "s2", "s7", "s1", "s3", "s4", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s5","s1":"s4","s2":"s10","s3":"s0","s4":"s6","s5":"s1","s6":"s8","s7":"s3","s8":"s2","s10":"s7"}} | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
Final state: s4
Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a ? | s1 | 2 | 10 | 1 | 10_1 | a53d906f-32f6-4f70-bab1-7b18441a8052 | 6e201a1d-4674-4081-b630-c1f8f969c411 | aa | s1 | Transitions (current_state, input, next_state):
(s0, 'a', s5)
(s5, 'a', s1)
Final state: s1 | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a ? |
6c759f0d-4190-4601-a7b1-8f10463005b2 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s10"], "alphabets": "a", "accepting_states": ["s5", "s0", "s2", "s7", "s1", "s3", "s4", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s5","s1":"s4","s2":"s10","s3":"s0","s4":"s6","s5":"s1","s6":"s8","s7":"s3","s8":"s2","s10":"s7"}} | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
Final state: s4
Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a a a ? | s2 | 6 | 10 | 1 | 10_1 | a53d906f-32f6-4f70-bab1-7b18441a8052 | 6e201a1d-4674-4081-b630-c1f8f969c411 | aaaaaa | s2 | Transitions (current_state, input, next_state):
(s0, 'a', s5)
(s5, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s6)
(s6, 'a', s8)
(s8, 'a', s2)
Final state: s2 | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a a a ? |
f32f2013-161f-479c-993a-b406f329c037 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s10"], "alphabets": "a", "accepting_states": ["s5", "s0", "s2", "s7", "s1", "s3", "s4", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s5","s1":"s4","s2":"s10","s3":"s0","s4":"s6","s5":"s1","s6":"s8","s7":"s3","s8":"s2","s10":"s7"}} | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
Final state: s4
Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a a a a ? | s10 | 7 | 10 | 1 | 10_1 | a53d906f-32f6-4f70-bab1-7b18441a8052 | 6e201a1d-4674-4081-b630-c1f8f969c411 | aaaaaaa | s10 | Transitions (current_state, input, next_state):
(s0, 'a', s5)
(s5, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s6)
(s6, 'a', s8)
(s8, 'a', s2)
(s2, 'a', s10)
Final state: s10 | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a a a a ? |
ef14f1c4-dfb7-4c37-ada0-54f406cea2b7 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s10"], "alphabets": "a", "accepting_states": ["s5", "s0", "s2", "s7", "s1", "s3", "s4", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s5","s1":"s4","s2":"s10","s3":"s0","s4":"s6","s5":"s1","s6":"s8","s7":"s3","s8":"s2","s10":"s7"}} | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
Final state: s4
Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a a a a a ? | s7 | 8 | 10 | 1 | 10_1 | a53d906f-32f6-4f70-bab1-7b18441a8052 | 6e201a1d-4674-4081-b630-c1f8f969c411 | aaaaaaaa | s7 | Transitions (current_state, input, next_state):
(s0, 'a', s5)
(s5, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s6)
(s6, 'a', s8)
(s8, 'a', s2)
(s2, 'a', s10)
(s10, 'a', s7)
Final state: s7 | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a a a a a ? |
9eec5c82-dcc4-4cf8-a4f2-de9aa3c63a25 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | {"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s10"], "alphabets": "a", "accepting_states": ["s5", "s0", "s2", "s7", "s1", "s3", "s4", "s6"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s7"]}]} | 3 | {"a":{"s0":"s5","s1":"s4","s2":"s10","s3":"s0","s4":"s6","s5":"s1","s6":"s8","s7":"s3","s8":"s2","s10":"s7"}} | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
Final state: s4
Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a a ? | s8 | 5 | 10 | 1 | 10_1 | a53d906f-32f6-4f70-bab1-7b18441a8052 | 6e201a1d-4674-4081-b630-c1f8f969c411 | aaaaa | s8 | Transitions (current_state, input, next_state):
(s0, 'a', s5)
(s5, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s6)
(s6, 'a', s8)
Final state: s8 | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a a a a a ? |
a53d906f-32f6-4f70-bab1-7b18441a8052 | 6e201a1d-4674-4081-b630-c1f8f969c411 | {"states": ["s0", "s1", "s2", "s4", "s5", "s6", "s7", "s9", "s10", "s12"], "alphabets": "a", "accepting_states": ["s4", "s10", "s1", "s7", "s0", "s9", "s6", "s12", "s2", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s1","s1":"s4","s2":"s9","s4":"s10","s5":"s2","s6":"s5","s7":"s1","s9":"s7","s10":"s12","s12":"s6"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a ? | s4 | 2 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aa | s4 | Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
Final state: s4 | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a ? |
388b308e-dc13-4e18-8dad-f0c850a49119 | 6e201a1d-4674-4081-b630-c1f8f969c411 | {"states": ["s0", "s1", "s2", "s4", "s5", "s6", "s7", "s9", "s10", "s12"], "alphabets": "a", "accepting_states": ["s4", "s10", "s1", "s7", "s0", "s9", "s6", "s12", "s2", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s1","s1":"s4","s2":"s9","s4":"s10","s5":"s2","s6":"s5","s7":"s1","s9":"s7","s10":"s12","s12":"s6"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a a a a a ? | s9 | 8 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaa | s9 | Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s10)
(s10, 'a', s12)
(s12, 'a', s6)
(s6, 'a', s5)
(s5, 'a', s2)
(s2, 'a', s9)
Final state: s9 | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a a a a a ? |
323cff3b-cbf7-433b-96d4-5105f7b47678 | 6e201a1d-4674-4081-b630-c1f8f969c411 | {"states": ["s0", "s1", "s2", "s4", "s5", "s6", "s7", "s9", "s10", "s12"], "alphabets": "a", "accepting_states": ["s4", "s10", "s1", "s7", "s0", "s9", "s6", "s12", "s2", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s1","s1":"s4","s2":"s9","s4":"s10","s5":"s2","s6":"s5","s7":"s1","s9":"s7","s10":"s12","s12":"s6"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a ? | s10 | 3 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaa | s10 | Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s10)
Final state: s10 | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a ? |
27d881ad-d9b6-4d27-bb66-2c6b2f96337e | 6e201a1d-4674-4081-b630-c1f8f969c411 | {"states": ["s0", "s1", "s2", "s4", "s5", "s6", "s7", "s9", "s10", "s12"], "alphabets": "a", "accepting_states": ["s4", "s10", "s1", "s7", "s0", "s9", "s6", "s12", "s2", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s1","s1":"s4","s2":"s9","s4":"s10","s5":"s2","s6":"s5","s7":"s1","s9":"s7","s10":"s12","s12":"s6"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a ? | s12 | 4 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaa | s12 | Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s10)
(s10, 'a', s12)
Final state: s12 | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a ? |
9963a079-fba4-49bb-b683-0d799c4f024a | 6e201a1d-4674-4081-b630-c1f8f969c411 | {"states": ["s0", "s1", "s2", "s4", "s5", "s6", "s7", "s9", "s10", "s12"], "alphabets": "a", "accepting_states": ["s4", "s10", "s1", "s7", "s0", "s9", "s6", "s12", "s2", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s1","s1":"s4","s2":"s9","s4":"s10","s5":"s2","s6":"s5","s7":"s1","s9":"s7","s10":"s12","s12":"s6"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a a ? | s6 | 5 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaa | s6 | Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s10)
(s10, 'a', s12)
(s12, 'a', s6)
Final state: s6 | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a a ? |
c78ad836-7fa3-4a7d-abc4-e05d1a8352d7 | 6e201a1d-4674-4081-b630-c1f8f969c411 | {"states": ["s0", "s1", "s2", "s4", "s5", "s6", "s7", "s9", "s10", "s12"], "alphabets": "a", "accepting_states": ["s4", "s10", "s1", "s7", "s0", "s9", "s6", "s12", "s2", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s1","s1":"s4","s2":"s9","s4":"s10","s5":"s2","s6":"s5","s7":"s1","s9":"s7","s10":"s12","s12":"s6"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a a a ? | s5 | 6 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaa | s5 | Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s10)
(s10, 'a', s12)
(s12, 'a', s6)
(s6, 'a', s5)
Final state: s5 | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a a a ? |
90054d65-c650-4a23-99bd-8db620d291b6 | 6e201a1d-4674-4081-b630-c1f8f969c411 | {"states": ["s0", "s1", "s2", "s4", "s5", "s6", "s7", "s9", "s10", "s12"], "alphabets": "a", "accepting_states": ["s4", "s10", "s1", "s7", "s0", "s9", "s6", "s12", "s2", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s1","s1":"s4","s2":"s9","s4":"s10","s5":"s2","s6":"s5","s7":"s1","s9":"s7","s10":"s12","s12":"s6"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a a a a ? | s2 | 7 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaa | s2 | Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s10)
(s10, 'a', s12)
(s12, 'a', s6)
(s6, 'a', s5)
(s5, 'a', s2)
Final state: s2 | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a a a a ? |
c9edf362-6da9-4592-ab35-778e8ecb9ad1 | 6e201a1d-4674-4081-b630-c1f8f969c411 | {"states": ["s0", "s1", "s2", "s4", "s5", "s6", "s7", "s9", "s10", "s12"], "alphabets": "a", "accepting_states": ["s4", "s10", "s1", "s7", "s0", "s9", "s6", "s12", "s2", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s1","s1":"s4","s2":"s9","s4":"s10","s5":"s2","s6":"s5","s7":"s1","s9":"s7","s10":"s12","s12":"s6"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a a a a a a ? | s7 | 9 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaaa | s7 | Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s10)
(s10, 'a', s12)
(s12, 'a', s6)
(s6, 'a', s5)
(s5, 'a', s2)
(s2, 'a', s9)
(s9, 'a', s7)
Final state: s7 | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a a a a a a ? |
c53c3309-2f1b-485e-bf75-f696af9b8b98 | 6e201a1d-4674-4081-b630-c1f8f969c411 | {"states": ["s0", "s1", "s2", "s4", "s5", "s6", "s7", "s9", "s10", "s12"], "alphabets": "a", "accepting_states": ["s4", "s10", "s1", "s7", "s0", "s9", "s6", "s12", "s2", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s1","s1":"s4","s2":"s9","s4":"s10","s5":"s2","s6":"s5","s7":"s1","s9":"s7","s10":"s12","s12":"s6"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a a a ? | s12 | 13 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaaaaaaa | s12 | Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s10)
(s10, 'a', s12)
(s12, 'a', s6)
(s6, 'a', s5)
(s5, 'a', s2)
(s2, 'a', s9)
(s9, 'a', s7)
(s7, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s10)
(s10, 'a', s12)
Final state: s12 | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a a a ? |
31b14dd4-8456-4ecb-bc6c-03571a002d9e | 6e201a1d-4674-4081-b630-c1f8f969c411 | {"states": ["s0", "s1", "s2", "s4", "s5", "s6", "s7", "s9", "s10", "s12"], "alphabets": "a", "accepting_states": ["s4", "s10", "s1", "s7", "s0", "s9", "s6", "s12", "s2", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s1","s1":"s4","s2":"s9","s4":"s10","s5":"s2","s6":"s5","s7":"s1","s9":"s7","s10":"s12","s12":"s6"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a ? | s4 | 11 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaaaaa | s4 | Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s10)
(s10, 'a', s12)
(s12, 'a', s6)
(s6, 'a', s5)
(s5, 'a', s2)
(s2, 'a', s9)
(s9, 'a', s7)
(s7, 'a', s1)
(s1, 'a', s4)
Final state: s4 | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a ? |
7f251bb3-6b61-4853-b0d0-7edb64286fd4 | 6e201a1d-4674-4081-b630-c1f8f969c411 | {"states": ["s0", "s1", "s2", "s4", "s5", "s6", "s7", "s9", "s10", "s12"], "alphabets": "a", "accepting_states": ["s4", "s10", "s1", "s7", "s0", "s9", "s6", "s12", "s2", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s1","s1":"s4","s2":"s9","s4":"s10","s5":"s2","s6":"s5","s7":"s1","s9":"s7","s10":"s12","s12":"s6"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a a ? | s10 | 12 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaaaaaa | s10 | Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s10)
(s10, 'a', s12)
(s12, 'a', s6)
(s6, 'a', s5)
(s5, 'a', s2)
(s2, 'a', s9)
(s9, 'a', s7)
(s7, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s10)
Final state: s10 | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a a ? |
b9629465-bf5a-401b-9a5b-db563a9b2237 | 6e201a1d-4674-4081-b630-c1f8f969c411 | {"states": ["s0", "s1", "s2", "s4", "s5", "s6", "s7", "s9", "s10", "s12"], "alphabets": "a", "accepting_states": ["s4", "s10", "s1", "s7", "s0", "s9", "s6", "s12", "s2", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s1","s1":"s4","s2":"s9","s4":"s10","s5":"s2","s6":"s5","s7":"s1","s9":"s7","s10":"s12","s12":"s6"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a a a a ? | s6 | 14 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaaaaaaaa | s6 | Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s10)
(s10, 'a', s12)
(s12, 'a', s6)
(s6, 'a', s5)
(s5, 'a', s2)
(s2, 'a', s9)
(s9, 'a', s7)
(s7, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s10)
(s10, 'a', s12)
(s12, 'a', s6)
Final state: s6 | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a a a a ? |
317bfbef-fb10-4b0b-bab3-b869c9583d6c | 6e201a1d-4674-4081-b630-c1f8f969c411 | {"states": ["s0", "s1", "s2", "s4", "s5", "s6", "s7", "s9", "s10", "s12"], "alphabets": "a", "accepting_states": ["s4", "s10", "s1", "s7", "s0", "s9", "s6", "s12", "s2", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s1","s1":"s4","s2":"s9","s4":"s10","s5":"s2","s6":"s5","s7":"s1","s9":"s7","s10":"s12","s12":"s6"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a ? | s5 | 15 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaaaaaaaaa | s5 | Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s10)
(s10, 'a', s12)
(s12, 'a', s6)
(s6, 'a', s5)
(s5, 'a', s2)
(s2, 'a', s9)
(s9, 'a', s7)
(s7, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s10)
(s10, 'a', s12)
(s12, 'a', s6)
(s6, 'a', s5)
Final state: s5 | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a ? |
27b31084-e558-42da-afc3-450524c7d5bd | 6e201a1d-4674-4081-b630-c1f8f969c411 | {"states": ["s0", "s1", "s2", "s4", "s5", "s6", "s7", "s9", "s10", "s12"], "alphabets": "a", "accepting_states": ["s4", "s10", "s1", "s7", "s0", "s9", "s6", "s12", "s2", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s1","s1":"s4","s2":"s9","s4":"s10","s5":"s2","s6":"s5","s7":"s1","s9":"s7","s10":"s12","s12":"s6"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a ? | s2 | 16 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaaaaaaaaaa | s2 | Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s10)
(s10, 'a', s12)
(s12, 'a', s6)
(s6, 'a', s5)
(s5, 'a', s2)
(s2, 'a', s9)
(s9, 'a', s7)
(s7, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s10)
(s10, 'a', s12)
(s12, 'a', s6)
(s6, 'a', s5)
(s5, 'a', s2)
Final state: s2 | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a ? |
32568068-5a1b-43bb-8567-223f147ec09e | 6e201a1d-4674-4081-b630-c1f8f969c411 | {"states": ["s0", "s1", "s2", "s4", "s5", "s6", "s7", "s9", "s10", "s12"], "alphabets": "a", "accepting_states": ["s4", "s10", "s1", "s7", "s0", "s9", "s6", "s12", "s2", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s1","s1":"s4","s2":"s9","s4":"s10","s5":"s2","s6":"s5","s7":"s1","s9":"s7","s10":"s12","s12":"s6"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a a ? | s9 | 17 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaaaaaaaaaaa | s9 | Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s10)
(s10, 'a', s12)
(s12, 'a', s6)
(s6, 'a', s5)
(s5, 'a', s2)
(s2, 'a', s9)
(s9, 'a', s7)
(s7, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s10)
(s10, 'a', s12)
(s12, 'a', s6)
(s6, 'a', s5)
(s5, 'a', s2)
(s2, 'a', s9)
Final state: s9 | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a a ? |
34e4b8dd-a880-4b69-993f-4385bd6a24f1 | 6e201a1d-4674-4081-b630-c1f8f969c411 | {"states": ["s0", "s1", "s2", "s4", "s5", "s6", "s7", "s9", "s10", "s12"], "alphabets": "a", "accepting_states": ["s4", "s10", "s1", "s7", "s0", "s9", "s6", "s12", "s2", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s1","s1":"s4","s2":"s9","s4":"s10","s5":"s2","s6":"s5","s7":"s1","s9":"s7","s10":"s12","s12":"s6"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a ? | s1 | 1 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | a | s1 | Transitions (current_state, input, next_state):
(s0, 'a', s1)
Final state: s1 | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a ? |
7bda7137-3c15-4016-ae4d-5b0beecd2938 | 6e201a1d-4674-4081-b630-c1f8f969c411 | {"states": ["s0", "s1", "s2", "s4", "s5", "s6", "s7", "s9", "s10", "s12"], "alphabets": "a", "accepting_states": ["s4", "s10", "s1", "s7", "s0", "s9", "s6", "s12", "s2", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s1","s1":"s4","s2":"s9","s4":"s10","s5":"s2","s6":"s5","s7":"s1","s9":"s7","s10":"s12","s12":"s6"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a a a a a a a ? | s1 | 10 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaaaa | s1 | Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s10)
(s10, 'a', s12)
(s12, 'a', s6)
(s6, 'a', s5)
(s5, 'a', s2)
(s2, 'a', s9)
(s9, 'a', s7)
(s7, 'a', s1)
Final state: s1 | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a a a a a a a ? |
e67bff1e-44bf-402d-b096-5caf2d48ab77 | 6e201a1d-4674-4081-b630-c1f8f969c411 | {"states": ["s0", "s1", "s2", "s4", "s5", "s6", "s7", "s9", "s10", "s12"], "alphabets": "a", "accepting_states": ["s4", "s10", "s1", "s7", "s0", "s9", "s6", "s12", "s2", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s1","s1":"s4","s2":"s9","s4":"s10","s5":"s2","s6":"s5","s7":"s1","s9":"s7","s10":"s12","s12":"s6"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a a a a a ? | s4 | 20 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaaaaaaaaaaaaaa | s4 | Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s10)
(s10, 'a', s12)
(s12, 'a', s6)
(s6, 'a', s5)
(s5, 'a', s2)
(s2, 'a', s9)
(s9, 'a', s7)
(s7, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s10)
(s10, 'a', s12)
(s12, 'a', s6)
(s6, 'a', s5)
(s5, 'a', s2)
(s2, 'a', s9)
(s9, 'a', s7)
(s7, 'a', s1)
(s1, 'a', s4)
Final state: s4 | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a a a a a ? |
8e9e2f49-05b9-4ce0-97fc-3bbc54475f4a | 6e201a1d-4674-4081-b630-c1f8f969c411 | {"states": ["s0", "s1", "s2", "s4", "s5", "s6", "s7", "s9", "s10", "s12"], "alphabets": "a", "accepting_states": ["s4", "s10", "s1", "s7", "s0", "s9", "s6", "s12", "s2", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s1","s1":"s4","s2":"s9","s4":"s10","s5":"s2","s6":"s5","s7":"s1","s9":"s7","s10":"s12","s12":"s6"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a a a a ? | s1 | 19 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaaaaaaaaaaaaa | s1 | Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s10)
(s10, 'a', s12)
(s12, 'a', s6)
(s6, 'a', s5)
(s5, 'a', s2)
(s2, 'a', s9)
(s9, 'a', s7)
(s7, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s10)
(s10, 'a', s12)
(s12, 'a', s6)
(s6, 'a', s5)
(s5, 'a', s2)
(s2, 'a', s9)
(s9, 'a', s7)
(s7, 'a', s1)
Final state: s1 | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a a a a ? |
8c6231ec-9d77-496b-b315-48815b0836b4 | 6e201a1d-4674-4081-b630-c1f8f969c411 | {"states": ["s0", "s1", "s2", "s4", "s5", "s6", "s7", "s9", "s10", "s12"], "alphabets": "a", "accepting_states": ["s4", "s10", "s1", "s7", "s0", "s9", "s6", "s12", "s2", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s6"]}]} | 3 | {"a":{"s0":"s1","s1":"s4","s2":"s9","s4":"s10","s5":"s2","s6":"s5","s7":"s1","s9":"s7","s10":"s12","s12":"s6"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a a a ? | s7 | 18 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaaaaaaaaaaaa | s7 | Transitions (current_state, input, next_state):
(s0, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s10)
(s10, 'a', s12)
(s12, 'a', s6)
(s6, 'a', s5)
(s5, 'a', s2)
(s2, 'a', s9)
(s9, 'a', s7)
(s7, 'a', s1)
(s1, 'a', s4)
(s4, 'a', s10)
(s10, 'a', s12)
(s12, 'a', s6)
(s6, 'a', s5)
(s5, 'a', s2)
(s2, 'a', s9)
(s9, 'a', s7)
Final state: s7 | Given the following FSM:
a
s0 s1
s1 s4
s2 s9
s4 s10
s5 s2
s6 s5
s7 s1
s9 s7
s10 s12
s12 s6
With the initial state: s0, and accepting states: ['s4', 's10', 's1', 's7', 's0', 's9', 's6', 's12', 's2', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a a a ? |
bf68f3c1-2ff5-4a29-9407-ac1195abed83 | 71aea738-a6fb-46b6-9906-98380193d77d | {"states": ["s0", "s1", "s3", "s4", "s5", "s7", "s9", "s11", "s12", "s13"], "alphabets": "a", "accepting_states": ["s12", "s7", "s9", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]} | 4 | {"a":{"s0":"s12","s1":"s13","s3":"s7","s4":"s1","s5":"s5","s7":"s4","s9":"s3","s11":"s9","s12":"s11","s13":"s5"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a ? | s12 | 1 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | a | s12 | Transitions (current_state, input, next_state):
(s0, 'a', s12)
Final state: s12 | Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a ? |
0e20c332-bdd3-40dc-b2e1-0cf74b438c30 | 71aea738-a6fb-46b6-9906-98380193d77d | {"states": ["s0", "s1", "s3", "s4", "s5", "s7", "s9", "s11", "s12", "s13"], "alphabets": "a", "accepting_states": ["s12", "s7", "s9", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]} | 4 | {"a":{"s0":"s12","s1":"s13","s3":"s7","s4":"s1","s5":"s5","s7":"s4","s9":"s3","s11":"s9","s12":"s11","s13":"s5"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a a a ? | s5 | 18 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaaaaaaaaaaaa | s5 | Transitions (current_state, input, next_state):
(s0, 'a', s12)
(s12, 'a', s11)
(s11, 'a', s9)
(s9, 'a', s3)
(s3, 'a', s7)
(s7, 'a', s4)
(s4, 'a', s1)
(s1, 'a', s13)
(s13, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
Final state: s5 | Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a a a ? |
54c18139-314f-4a91-97d5-484cfcb43daf | 71aea738-a6fb-46b6-9906-98380193d77d | {"states": ["s0", "s1", "s3", "s4", "s5", "s7", "s9", "s11", "s12", "s13"], "alphabets": "a", "accepting_states": ["s12", "s7", "s9", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]} | 4 | {"a":{"s0":"s12","s1":"s13","s3":"s7","s4":"s1","s5":"s5","s7":"s4","s9":"s3","s11":"s9","s12":"s11","s13":"s5"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a a ? | s5 | 17 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaaaaaaaaaaa | s5 | Transitions (current_state, input, next_state):
(s0, 'a', s12)
(s12, 'a', s11)
(s11, 'a', s9)
(s9, 'a', s3)
(s3, 'a', s7)
(s7, 'a', s4)
(s4, 'a', s1)
(s1, 'a', s13)
(s13, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
Final state: s5 | Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a a ? |
ddc2e3de-26c8-4a8b-a66c-cc39c0652f65 | 71aea738-a6fb-46b6-9906-98380193d77d | {"states": ["s0", "s1", "s3", "s4", "s5", "s7", "s9", "s11", "s12", "s13"], "alphabets": "a", "accepting_states": ["s12", "s7", "s9", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]} | 4 | {"a":{"s0":"s12","s1":"s13","s3":"s7","s4":"s1","s5":"s5","s7":"s4","s9":"s3","s11":"s9","s12":"s11","s13":"s5"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a ? | s5 | 16 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaaaaaaaaaa | s5 | Transitions (current_state, input, next_state):
(s0, 'a', s12)
(s12, 'a', s11)
(s11, 'a', s9)
(s9, 'a', s3)
(s3, 'a', s7)
(s7, 'a', s4)
(s4, 'a', s1)
(s1, 'a', s13)
(s13, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
Final state: s5 | Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a ? |
14fd4402-1c1c-4671-8ae9-19473f093ef6 | 71aea738-a6fb-46b6-9906-98380193d77d | {"states": ["s0", "s1", "s3", "s4", "s5", "s7", "s9", "s11", "s12", "s13"], "alphabets": "a", "accepting_states": ["s12", "s7", "s9", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]} | 4 | {"a":{"s0":"s12","s1":"s13","s3":"s7","s4":"s1","s5":"s5","s7":"s4","s9":"s3","s11":"s9","s12":"s11","s13":"s5"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a ? | s5 | 15 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaaaaaaaaa | s5 | Transitions (current_state, input, next_state):
(s0, 'a', s12)
(s12, 'a', s11)
(s11, 'a', s9)
(s9, 'a', s3)
(s3, 'a', s7)
(s7, 'a', s4)
(s4, 'a', s1)
(s1, 'a', s13)
(s13, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
Final state: s5 | Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a ? |
4a01d0f1-86d7-4347-adee-c1991543b89f | 71aea738-a6fb-46b6-9906-98380193d77d | {"states": ["s0", "s1", "s3", "s4", "s5", "s7", "s9", "s11", "s12", "s13"], "alphabets": "a", "accepting_states": ["s12", "s7", "s9", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]} | 4 | {"a":{"s0":"s12","s1":"s13","s3":"s7","s4":"s1","s5":"s5","s7":"s4","s9":"s3","s11":"s9","s12":"s11","s13":"s5"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a a a a a a a a a a a ? | s5 | 14 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaaaaaaaa | s5 | Transitions (current_state, input, next_state):
(s0, 'a', s12)
(s12, 'a', s11)
(s11, 'a', s9)
(s9, 'a', s3)
(s3, 'a', s7)
(s7, 'a', s4)
(s4, 'a', s1)
(s1, 'a', s13)
(s13, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
Final state: s5 | Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a a a a a a a a a a a ? |
4be922e1-b081-4933-ae9c-7bfbf035569c | 71aea738-a6fb-46b6-9906-98380193d77d | {"states": ["s0", "s1", "s3", "s4", "s5", "s7", "s9", "s11", "s12", "s13"], "alphabets": "a", "accepting_states": ["s12", "s7", "s9", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]} | 4 | {"a":{"s0":"s12","s1":"s13","s3":"s7","s4":"s1","s5":"s5","s7":"s4","s9":"s3","s11":"s9","s12":"s11","s13":"s5"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a a a a a a a a a a ? | s5 | 13 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaaaaaaa | s5 | Transitions (current_state, input, next_state):
(s0, 'a', s12)
(s12, 'a', s11)
(s11, 'a', s9)
(s9, 'a', s3)
(s3, 'a', s7)
(s7, 'a', s4)
(s4, 'a', s1)
(s1, 'a', s13)
(s13, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
Final state: s5 | Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a a a a a a a a a a ? |
2ce62a88-1dc9-4562-bfca-443369c3622a | 71aea738-a6fb-46b6-9906-98380193d77d | {"states": ["s0", "s1", "s3", "s4", "s5", "s7", "s9", "s11", "s12", "s13"], "alphabets": "a", "accepting_states": ["s12", "s7", "s9", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]} | 4 | {"a":{"s0":"s12","s1":"s13","s3":"s7","s4":"s1","s5":"s5","s7":"s4","s9":"s3","s11":"s9","s12":"s11","s13":"s5"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a a a a a a a a a ? | s5 | 12 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaaaaaa | s5 | Transitions (current_state, input, next_state):
(s0, 'a', s12)
(s12, 'a', s11)
(s11, 'a', s9)
(s9, 'a', s3)
(s3, 'a', s7)
(s7, 'a', s4)
(s4, 'a', s1)
(s1, 'a', s13)
(s13, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
Final state: s5 | Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a a a a a a a a a ? |
e2341d12-cbee-4188-9156-8b0a3cbbf5d7 | 71aea738-a6fb-46b6-9906-98380193d77d | {"states": ["s0", "s1", "s3", "s4", "s5", "s7", "s9", "s11", "s12", "s13"], "alphabets": "a", "accepting_states": ["s12", "s7", "s9", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]} | 4 | {"a":{"s0":"s12","s1":"s13","s3":"s7","s4":"s1","s5":"s5","s7":"s4","s9":"s3","s11":"s9","s12":"s11","s13":"s5"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a a a a a a a a ? | s5 | 11 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaaaaa | s5 | Transitions (current_state, input, next_state):
(s0, 'a', s12)
(s12, 'a', s11)
(s11, 'a', s9)
(s9, 'a', s3)
(s3, 'a', s7)
(s7, 'a', s4)
(s4, 'a', s1)
(s1, 'a', s13)
(s13, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
Final state: s5 | Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a a a a a a a a ? |
48c6a5ff-f554-41f5-adab-454dcc35f022 | 71aea738-a6fb-46b6-9906-98380193d77d | {"states": ["s0", "s1", "s3", "s4", "s5", "s7", "s9", "s11", "s12", "s13"], "alphabets": "a", "accepting_states": ["s12", "s7", "s9", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]} | 4 | {"a":{"s0":"s12","s1":"s13","s3":"s7","s4":"s1","s5":"s5","s7":"s4","s9":"s3","s11":"s9","s12":"s11","s13":"s5"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a a a a a a a ? | s5 | 10 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaaaa | s5 | Transitions (current_state, input, next_state):
(s0, 'a', s12)
(s12, 'a', s11)
(s11, 'a', s9)
(s9, 'a', s3)
(s3, 'a', s7)
(s7, 'a', s4)
(s4, 'a', s1)
(s1, 'a', s13)
(s13, 'a', s5)
(s5, 'a', s5)
Final state: s5 | Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a a a a a a a ? |
9cb0e4af-57fc-4717-9733-b06ae8964a87 | 71aea738-a6fb-46b6-9906-98380193d77d | {"states": ["s0", "s1", "s3", "s4", "s5", "s7", "s9", "s11", "s12", "s13"], "alphabets": "a", "accepting_states": ["s12", "s7", "s9", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]} | 4 | {"a":{"s0":"s12","s1":"s13","s3":"s7","s4":"s1","s5":"s5","s7":"s4","s9":"s3","s11":"s9","s12":"s11","s13":"s5"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a a a a a ? | s13 | 8 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaa | s13 | Transitions (current_state, input, next_state):
(s0, 'a', s12)
(s12, 'a', s11)
(s11, 'a', s9)
(s9, 'a', s3)
(s3, 'a', s7)
(s7, 'a', s4)
(s4, 'a', s1)
(s1, 'a', s13)
Final state: s13 | Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a a a a a ? |
c0fade73-c59f-449e-b36d-31615d385a89 | 71aea738-a6fb-46b6-9906-98380193d77d | {"states": ["s0", "s1", "s3", "s4", "s5", "s7", "s9", "s11", "s12", "s13"], "alphabets": "a", "accepting_states": ["s12", "s7", "s9", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]} | 4 | {"a":{"s0":"s12","s1":"s13","s3":"s7","s4":"s1","s5":"s5","s7":"s4","s9":"s3","s11":"s9","s12":"s11","s13":"s5"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a a a a ? | s1 | 7 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaa | s1 | Transitions (current_state, input, next_state):
(s0, 'a', s12)
(s12, 'a', s11)
(s11, 'a', s9)
(s9, 'a', s3)
(s3, 'a', s7)
(s7, 'a', s4)
(s4, 'a', s1)
Final state: s1 | Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a a a a ? |
907bb142-dcfd-4a43-a107-84d31f9f8480 | 71aea738-a6fb-46b6-9906-98380193d77d | {"states": ["s0", "s1", "s3", "s4", "s5", "s7", "s9", "s11", "s12", "s13"], "alphabets": "a", "accepting_states": ["s12", "s7", "s9", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]} | 4 | {"a":{"s0":"s12","s1":"s13","s3":"s7","s4":"s1","s5":"s5","s7":"s4","s9":"s3","s11":"s9","s12":"s11","s13":"s5"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a a a ? | s4 | 6 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaa | s4 | Transitions (current_state, input, next_state):
(s0, 'a', s12)
(s12, 'a', s11)
(s11, 'a', s9)
(s9, 'a', s3)
(s3, 'a', s7)
(s7, 'a', s4)
Final state: s4 | Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a a a ? |
5e7f843a-4c70-4106-9fe4-34d8f9eca1e6 | 71aea738-a6fb-46b6-9906-98380193d77d | {"states": ["s0", "s1", "s3", "s4", "s5", "s7", "s9", "s11", "s12", "s13"], "alphabets": "a", "accepting_states": ["s12", "s7", "s9", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]} | 4 | {"a":{"s0":"s12","s1":"s13","s3":"s7","s4":"s1","s5":"s5","s7":"s4","s9":"s3","s11":"s9","s12":"s11","s13":"s5"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a a ? | s7 | 5 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaa | s7 | Transitions (current_state, input, next_state):
(s0, 'a', s12)
(s12, 'a', s11)
(s11, 'a', s9)
(s9, 'a', s3)
(s3, 'a', s7)
Final state: s7 | Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a a ? |
aac58d74-21d9-481d-95d1-41d6dd6b7c6b | 71aea738-a6fb-46b6-9906-98380193d77d | {"states": ["s0", "s1", "s3", "s4", "s5", "s7", "s9", "s11", "s12", "s13"], "alphabets": "a", "accepting_states": ["s12", "s7", "s9", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]} | 4 | {"a":{"s0":"s12","s1":"s13","s3":"s7","s4":"s1","s5":"s5","s7":"s4","s9":"s3","s11":"s9","s12":"s11","s13":"s5"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a ? | s3 | 4 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaa | s3 | Transitions (current_state, input, next_state):
(s0, 'a', s12)
(s12, 'a', s11)
(s11, 'a', s9)
(s9, 'a', s3)
Final state: s3 | Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a ? |
a3b2ebaf-0dd3-469e-b82f-f06d36a0f43f | 71aea738-a6fb-46b6-9906-98380193d77d | {"states": ["s0", "s1", "s3", "s4", "s5", "s7", "s9", "s11", "s12", "s13"], "alphabets": "a", "accepting_states": ["s12", "s7", "s9", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]} | 4 | {"a":{"s0":"s12","s1":"s13","s3":"s7","s4":"s1","s5":"s5","s7":"s4","s9":"s3","s11":"s9","s12":"s11","s13":"s5"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a ? | s9 | 3 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaa | s9 | Transitions (current_state, input, next_state):
(s0, 'a', s12)
(s12, 'a', s11)
(s11, 'a', s9)
Final state: s9 | Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a ? |
1e1f33d5-56f1-4718-934b-aec836efab73 | 71aea738-a6fb-46b6-9906-98380193d77d | {"states": ["s0", "s1", "s3", "s4", "s5", "s7", "s9", "s11", "s12", "s13"], "alphabets": "a", "accepting_states": ["s12", "s7", "s9", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]} | 4 | {"a":{"s0":"s12","s1":"s13","s3":"s7","s4":"s1","s5":"s5","s7":"s4","s9":"s3","s11":"s9","s12":"s11","s13":"s5"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a ? | s11 | 2 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aa | s11 | Transitions (current_state, input, next_state):
(s0, 'a', s12)
(s12, 'a', s11)
Final state: s11 | Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a ? |
498b4f9a-0c10-4378-9296-0305f440ccda | 71aea738-a6fb-46b6-9906-98380193d77d | {"states": ["s0", "s1", "s3", "s4", "s5", "s7", "s9", "s11", "s12", "s13"], "alphabets": "a", "accepting_states": ["s12", "s7", "s9", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]} | 4 | {"a":{"s0":"s12","s1":"s13","s3":"s7","s4":"s1","s5":"s5","s7":"s4","s9":"s3","s11":"s9","s12":"s11","s13":"s5"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a a a a ? | s5 | 19 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaaaaaaaaaaaaa | s5 | Transitions (current_state, input, next_state):
(s0, 'a', s12)
(s12, 'a', s11)
(s11, 'a', s9)
(s9, 'a', s3)
(s3, 'a', s7)
(s7, 'a', s4)
(s4, 'a', s1)
(s1, 'a', s13)
(s13, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
Final state: s5 | Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a a a a ? |
1985cc52-07f2-421f-b4d0-974efa33e3f3 | 71aea738-a6fb-46b6-9906-98380193d77d | {"states": ["s0", "s1", "s3", "s4", "s5", "s7", "s9", "s11", "s12", "s13"], "alphabets": "a", "accepting_states": ["s12", "s7", "s9", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]} | 4 | {"a":{"s0":"s12","s1":"s13","s3":"s7","s4":"s1","s5":"s5","s7":"s4","s9":"s3","s11":"s9","s12":"s11","s13":"s5"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a a a a a a ? | s5 | 9 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaaa | s5 | Transitions (current_state, input, next_state):
(s0, 'a', s12)
(s12, 'a', s11)
(s11, 'a', s9)
(s9, 'a', s3)
(s3, 'a', s7)
(s7, 'a', s4)
(s4, 'a', s1)
(s1, 'a', s13)
(s13, 'a', s5)
Final state: s5 | Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a a a a a a ? |
05662f88-66f0-4102-a402-41d30eeed801 | 71aea738-a6fb-46b6-9906-98380193d77d | {"states": ["s0", "s1", "s3", "s4", "s5", "s7", "s9", "s11", "s12", "s13"], "alphabets": "a", "accepting_states": ["s12", "s7", "s9", "s1"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]} | 4 | {"a":{"s0":"s12","s1":"s13","s3":"s7","s4":"s1","s5":"s5","s7":"s4","s9":"s3","s11":"s9","s12":"s11","s13":"s5"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a a a a a ? | s5 | 20 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaaaaaaaaaaaaaa | s5 | Transitions (current_state, input, next_state):
(s0, 'a', s12)
(s12, 'a', s11)
(s11, 'a', s9)
(s9, 'a', s3)
(s3, 'a', s7)
(s7, 'a', s4)
(s4, 'a', s1)
(s1, 'a', s13)
(s13, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
(s5, 'a', s5)
Final state: s5 | Given the following FSM:
a
s0 s12
s1 s13
s3 s7
s4 s1
s5 s5
s7 s4
s9 s3
s11 s9
s12 s11
s13 s5
With the initial state: s0, and accepting states: ['s12', 's7', 's9', 's1'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a a a a a ? |
6987404a-f9b7-40d8-a2c2-214112f84f50 | ab38a1f4-2dfc-4c4a-ba7f-462ca1aa12f7 | {"states": ["s0", "s1", "s2", "s4", "s5", "s7", "s8", "s9", "s11", "s12"], "alphabets": "a", "accepting_states": ["s11", "s8", "s1", "s4", "s12", "s9", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s9","s1":"s8","s2":"s11","s4":"s2","s5":"s4","s7":"s7","s8":"s7","s9":"s5","s11":"s12","s12":"s1"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s9
s1 s8
s2 s11
s4 s2
s5 s4
s7 s7
s8 s7
s9 s5
s11 s12
s12 s1
With the initial state: s0, and accepting states: ['s11', 's8', 's1', 's4', 's12', 's9', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a a a ? | s7 | 18 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaaaaaaaaaaaa | s7 | Transitions (current_state, input, next_state):
(s0, 'a', s9)
(s9, 'a', s5)
(s5, 'a', s4)
(s4, 'a', s2)
(s2, 'a', s11)
(s11, 'a', s12)
(s12, 'a', s1)
(s1, 'a', s8)
(s8, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
Final state: s7 | Given the following FSM:
a
s0 s9
s1 s8
s2 s11
s4 s2
s5 s4
s7 s7
s8 s7
s9 s5
s11 s12
s12 s1
With the initial state: s0, and accepting states: ['s11', 's8', 's1', 's4', 's12', 's9', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a a a ? |
cc75240d-684e-4917-902c-e6b88b5e9ded | ab38a1f4-2dfc-4c4a-ba7f-462ca1aa12f7 | {"states": ["s0", "s1", "s2", "s4", "s5", "s7", "s8", "s9", "s11", "s12"], "alphabets": "a", "accepting_states": ["s11", "s8", "s1", "s4", "s12", "s9", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s9","s1":"s8","s2":"s11","s4":"s2","s5":"s4","s7":"s7","s8":"s7","s9":"s5","s11":"s12","s12":"s1"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s9
s1 s8
s2 s11
s4 s2
s5 s4
s7 s7
s8 s7
s9 s5
s11 s12
s12 s1
With the initial state: s0, and accepting states: ['s11', 's8', 's1', 's4', 's12', 's9', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a a a a ? | s7 | 19 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaaaaaaaaaaaaa | s7 | Transitions (current_state, input, next_state):
(s0, 'a', s9)
(s9, 'a', s5)
(s5, 'a', s4)
(s4, 'a', s2)
(s2, 'a', s11)
(s11, 'a', s12)
(s12, 'a', s1)
(s1, 'a', s8)
(s8, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
Final state: s7 | Given the following FSM:
a
s0 s9
s1 s8
s2 s11
s4 s2
s5 s4
s7 s7
s8 s7
s9 s5
s11 s12
s12 s1
With the initial state: s0, and accepting states: ['s11', 's8', 's1', 's4', 's12', 's9', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a a a a ? |
46cf4a69-8c3a-4a45-8b21-4588eab0aa8d | ab38a1f4-2dfc-4c4a-ba7f-462ca1aa12f7 | {"states": ["s0", "s1", "s2", "s4", "s5", "s7", "s8", "s9", "s11", "s12"], "alphabets": "a", "accepting_states": ["s11", "s8", "s1", "s4", "s12", "s9", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s9","s1":"s8","s2":"s11","s4":"s2","s5":"s4","s7":"s7","s8":"s7","s9":"s5","s11":"s12","s12":"s1"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s9
s1 s8
s2 s11
s4 s2
s5 s4
s7 s7
s8 s7
s9 s5
s11 s12
s12 s1
With the initial state: s0, and accepting states: ['s11', 's8', 's1', 's4', 's12', 's9', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a a ? | s7 | 17 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaaaaaaaaaaa | s7 | Transitions (current_state, input, next_state):
(s0, 'a', s9)
(s9, 'a', s5)
(s5, 'a', s4)
(s4, 'a', s2)
(s2, 'a', s11)
(s11, 'a', s12)
(s12, 'a', s1)
(s1, 'a', s8)
(s8, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
Final state: s7 | Given the following FSM:
a
s0 s9
s1 s8
s2 s11
s4 s2
s5 s4
s7 s7
s8 s7
s9 s5
s11 s12
s12 s1
With the initial state: s0, and accepting states: ['s11', 's8', 's1', 's4', 's12', 's9', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a a ? |
824e940c-9582-4173-a1a5-bbb80120632b | ab38a1f4-2dfc-4c4a-ba7f-462ca1aa12f7 | {"states": ["s0", "s1", "s2", "s4", "s5", "s7", "s8", "s9", "s11", "s12"], "alphabets": "a", "accepting_states": ["s11", "s8", "s1", "s4", "s12", "s9", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s9","s1":"s8","s2":"s11","s4":"s2","s5":"s4","s7":"s7","s8":"s7","s9":"s5","s11":"s12","s12":"s1"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s9
s1 s8
s2 s11
s4 s2
s5 s4
s7 s7
s8 s7
s9 s5
s11 s12
s12 s1
With the initial state: s0, and accepting states: ['s11', 's8', 's1', 's4', 's12', 's9', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a ? | s7 | 16 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaaaaaaaaaa | s7 | Transitions (current_state, input, next_state):
(s0, 'a', s9)
(s9, 'a', s5)
(s5, 'a', s4)
(s4, 'a', s2)
(s2, 'a', s11)
(s11, 'a', s12)
(s12, 'a', s1)
(s1, 'a', s8)
(s8, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
Final state: s7 | Given the following FSM:
a
s0 s9
s1 s8
s2 s11
s4 s2
s5 s4
s7 s7
s8 s7
s9 s5
s11 s12
s12 s1
With the initial state: s0, and accepting states: ['s11', 's8', 's1', 's4', 's12', 's9', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a a ? |
147790c5-b573-4a1e-859f-8e1098729404 | ab38a1f4-2dfc-4c4a-ba7f-462ca1aa12f7 | {"states": ["s0", "s1", "s2", "s4", "s5", "s7", "s8", "s9", "s11", "s12"], "alphabets": "a", "accepting_states": ["s11", "s8", "s1", "s4", "s12", "s9", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s9","s1":"s8","s2":"s11","s4":"s2","s5":"s4","s7":"s7","s8":"s7","s9":"s5","s11":"s12","s12":"s1"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s9
s1 s8
s2 s11
s4 s2
s5 s4
s7 s7
s8 s7
s9 s5
s11 s12
s12 s1
With the initial state: s0, and accepting states: ['s11', 's8', 's1', 's4', 's12', 's9', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a ? | s7 | 15 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaaaaaaaaa | s7 | Transitions (current_state, input, next_state):
(s0, 'a', s9)
(s9, 'a', s5)
(s5, 'a', s4)
(s4, 'a', s2)
(s2, 'a', s11)
(s11, 'a', s12)
(s12, 'a', s1)
(s1, 'a', s8)
(s8, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
Final state: s7 | Given the following FSM:
a
s0 s9
s1 s8
s2 s11
s4 s2
s5 s4
s7 s7
s8 s7
s9 s5
s11 s12
s12 s1
With the initial state: s0, and accepting states: ['s11', 's8', 's1', 's4', 's12', 's9', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a a a a a ? |
b4ad216b-6f0c-4668-b26b-3738da611de4 | ab38a1f4-2dfc-4c4a-ba7f-462ca1aa12f7 | {"states": ["s0", "s1", "s2", "s4", "s5", "s7", "s8", "s9", "s11", "s12"], "alphabets": "a", "accepting_states": ["s11", "s8", "s1", "s4", "s12", "s9", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s9","s1":"s8","s2":"s11","s4":"s2","s5":"s4","s7":"s7","s8":"s7","s9":"s5","s11":"s12","s12":"s1"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s9
s1 s8
s2 s11
s4 s2
s5 s4
s7 s7
s8 s7
s9 s5
s11 s12
s12 s1
With the initial state: s0, and accepting states: ['s11', 's8', 's1', 's4', 's12', 's9', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a a a a ? | s7 | 14 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaaaaaaaa | s7 | Transitions (current_state, input, next_state):
(s0, 'a', s9)
(s9, 'a', s5)
(s5, 'a', s4)
(s4, 'a', s2)
(s2, 'a', s11)
(s11, 'a', s12)
(s12, 'a', s1)
(s1, 'a', s8)
(s8, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
Final state: s7 | Given the following FSM:
a
s0 s9
s1 s8
s2 s11
s4 s2
s5 s4
s7 s7
s8 s7
s9 s5
s11 s12
s12 s1
With the initial state: s0, and accepting states: ['s11', 's8', 's1', 's4', 's12', 's9', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a a a a ? |
55e42fbe-1666-4642-ac2d-02b3bb2b9e90 | ab38a1f4-2dfc-4c4a-ba7f-462ca1aa12f7 | {"states": ["s0", "s1", "s2", "s4", "s5", "s7", "s8", "s9", "s11", "s12"], "alphabets": "a", "accepting_states": ["s11", "s8", "s1", "s4", "s12", "s9", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s9","s1":"s8","s2":"s11","s4":"s2","s5":"s4","s7":"s7","s8":"s7","s9":"s5","s11":"s12","s12":"s1"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s9
s1 s8
s2 s11
s4 s2
s5 s4
s7 s7
s8 s7
s9 s5
s11 s12
s12 s1
With the initial state: s0, and accepting states: ['s11', 's8', 's1', 's4', 's12', 's9', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a a ? | s7 | 12 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaaaaaa | s7 | Transitions (current_state, input, next_state):
(s0, 'a', s9)
(s9, 'a', s5)
(s5, 'a', s4)
(s4, 'a', s2)
(s2, 'a', s11)
(s11, 'a', s12)
(s12, 'a', s1)
(s1, 'a', s8)
(s8, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
Final state: s7 | Given the following FSM:
a
s0 s9
s1 s8
s2 s11
s4 s2
s5 s4
s7 s7
s8 s7
s9 s5
s11 s12
s12 s1
With the initial state: s0, and accepting states: ['s11', 's8', 's1', 's4', 's12', 's9', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a a ? |
75e52aa4-fc61-44af-9b72-804915f12fee | ab38a1f4-2dfc-4c4a-ba7f-462ca1aa12f7 | {"states": ["s0", "s1", "s2", "s4", "s5", "s7", "s8", "s9", "s11", "s12"], "alphabets": "a", "accepting_states": ["s11", "s8", "s1", "s4", "s12", "s9", "s5"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s11"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s1"]}]} | 3 | {"a":{"s0":"s9","s1":"s8","s2":"s11","s4":"s2","s5":"s4","s7":"s7","s8":"s7","s9":"s5","s11":"s12","s12":"s1"}} | Given the following FSM:
a
s0 s5
s1 s4
s2 s10
s3 s0
s4 s6
s5 s1
s6 s8
s7 s3
s8 s2
s10 s7
With the initial state: s0, and accepting states: ['s5', 's0', 's2', 's7', 's1', 's3', 's4', 's6'],
What will be the state after reading the following input: a ?
Solution:
Transitions (current_state, input, next_state):
(s0, 'a', s5)
Final state: s5
Given the following FSM:
a
s0 s9
s1 s8
s2 s11
s4 s2
s5 s4
s7 s7
s8 s7
s9 s5
s11 s12
s12 s1
With the initial state: s0, and accepting states: ['s11', 's8', 's1', 's4', 's12', 's9', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a ? | s7 | 11 | 10 | 1 | 10_1 | c0342c1a-d55a-47fd-891a-d3c44d0c2cd1 | 34f8bc0c-3297-4b47-9a84-a2c96cb43ca1 | aaaaaaaaaaa | s7 | Transitions (current_state, input, next_state):
(s0, 'a', s9)
(s9, 'a', s5)
(s5, 'a', s4)
(s4, 'a', s2)
(s2, 'a', s11)
(s11, 'a', s12)
(s12, 'a', s1)
(s1, 'a', s8)
(s8, 'a', s7)
(s7, 'a', s7)
(s7, 'a', s7)
Final state: s7 | Given the following FSM:
a
s0 s9
s1 s8
s2 s11
s4 s2
s5 s4
s7 s7
s8 s7
s9 s5
s11 s12
s12 s1
With the initial state: s0, and accepting states: ['s11', 's8', 's1', 's4', 's12', 's9', 's5'],
What will be the state after reading the following input: a a a a a a a a a a a ? |
End of preview. Expand
in Dataset Viewer.
README.md exists but content is empty.
Use the Edit dataset card button to edit it.
- Downloads last month
- 36