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
7b76f070-3d83-4eaf-b7d2-ad63fc57c5f0
cfbc4470-a8d9-4020-9413-8f67a23ee086
{"states": ["s0", "s1", "s2", "s3", "s4", "s6", "s9", "s10", "s12", "s13"], "alphabets": "a", "accepting_states": ["s13", "s6", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s9"]}]}
4
{"a":{"s0":"s3","s1":"s13","s2":"s10","s3":"s6","s4":"s12","s6":"s1","s9":"s2","s10":"s4","s12":"s4","s13":"s9"}}
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 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], 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', s3) (s3, 'a', s6) (s6, 'a', s1) (s1, 'a', s13) (s13, 'a', s9) (s9, 'a', s2) (s2, 'a', s10) (s10, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) Final state: s4
Given the following FSM: a s0 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], 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 ?
40864d0e-ee45-4f6f-9cab-9694b206c34b
cfbc4470-a8d9-4020-9413-8f67a23ee086
{"states": ["s0", "s1", "s2", "s3", "s4", "s6", "s9", "s10", "s12", "s13"], "alphabets": "a", "accepting_states": ["s13", "s6", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s9"]}]}
4
{"a":{"s0":"s3","s1":"s13","s2":"s10","s3":"s6","s4":"s12","s6":"s1","s9":"s2","s10":"s4","s12":"s4","s13":"s9"}}
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 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], What will be the state after reading the following input: a ?
s3
1
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
a
s3
Transitions (current_state, input, next_state): (s0, 'a', s3) Final state: s3
Given the following FSM: a s0 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], What will be the state after reading the following input: a ?
99523acf-6d65-497d-953c-9f2f7fd278d8
cfbc4470-a8d9-4020-9413-8f67a23ee086
{"states": ["s0", "s1", "s2", "s3", "s4", "s6", "s9", "s10", "s12", "s13"], "alphabets": "a", "accepting_states": ["s13", "s6", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s9"]}]}
4
{"a":{"s0":"s3","s1":"s13","s2":"s10","s3":"s6","s4":"s12","s6":"s1","s9":"s2","s10":"s4","s12":"s4","s13":"s9"}}
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 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], What will be the state after reading the following input: a a ?
s6
2
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aa
s6
Transitions (current_state, input, next_state): (s0, 'a', s3) (s3, 'a', s6) Final state: s6
Given the following FSM: a s0 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], What will be the state after reading the following input: a a ?
6032a362-a334-4d49-9106-738db870a431
cfbc4470-a8d9-4020-9413-8f67a23ee086
{"states": ["s0", "s1", "s2", "s3", "s4", "s6", "s9", "s10", "s12", "s13"], "alphabets": "a", "accepting_states": ["s13", "s6", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s9"]}]}
4
{"a":{"s0":"s3","s1":"s13","s2":"s10","s3":"s6","s4":"s12","s6":"s1","s9":"s2","s10":"s4","s12":"s4","s13":"s9"}}
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 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], What will be the state after reading the following input: a a a ?
s1
3
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaa
s1
Transitions (current_state, input, next_state): (s0, 'a', s3) (s3, 'a', s6) (s6, 'a', s1) Final state: s1
Given the following FSM: a s0 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], What will be the state after reading the following input: a a a ?
2126499b-38f5-46d7-a8f1-b436ef99c55c
cfbc4470-a8d9-4020-9413-8f67a23ee086
{"states": ["s0", "s1", "s2", "s3", "s4", "s6", "s9", "s10", "s12", "s13"], "alphabets": "a", "accepting_states": ["s13", "s6", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s9"]}]}
4
{"a":{"s0":"s3","s1":"s13","s2":"s10","s3":"s6","s4":"s12","s6":"s1","s9":"s2","s10":"s4","s12":"s4","s13":"s9"}}
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 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], What will be the state after reading the following input: a a a a ?
s13
4
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaa
s13
Transitions (current_state, input, next_state): (s0, 'a', s3) (s3, 'a', s6) (s6, 'a', s1) (s1, 'a', s13) Final state: s13
Given the following FSM: a s0 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], What will be the state after reading the following input: a a a a ?
cb0027ec-5d11-42f9-8a8a-a8101e6bb4b1
cfbc4470-a8d9-4020-9413-8f67a23ee086
{"states": ["s0", "s1", "s2", "s3", "s4", "s6", "s9", "s10", "s12", "s13"], "alphabets": "a", "accepting_states": ["s13", "s6", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s9"]}]}
4
{"a":{"s0":"s3","s1":"s13","s2":"s10","s3":"s6","s4":"s12","s6":"s1","s9":"s2","s10":"s4","s12":"s4","s13":"s9"}}
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 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], What will be the state after reading the following input: a a a a a ?
s9
5
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaa
s9
Transitions (current_state, input, next_state): (s0, 'a', s3) (s3, 'a', s6) (s6, 'a', s1) (s1, 'a', s13) (s13, 'a', s9) Final state: s9
Given the following FSM: a s0 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], What will be the state after reading the following input: a a a a a ?
63a34b66-4dde-481d-9268-96bc6d5ab140
cfbc4470-a8d9-4020-9413-8f67a23ee086
{"states": ["s0", "s1", "s2", "s3", "s4", "s6", "s9", "s10", "s12", "s13"], "alphabets": "a", "accepting_states": ["s13", "s6", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s9"]}]}
4
{"a":{"s0":"s3","s1":"s13","s2":"s10","s3":"s6","s4":"s12","s6":"s1","s9":"s2","s10":"s4","s12":"s4","s13":"s9"}}
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 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], What will be the state after reading the following input: a a a a a a ?
s2
6
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaa
s2
Transitions (current_state, input, next_state): (s0, 'a', s3) (s3, 'a', s6) (s6, 'a', s1) (s1, 'a', s13) (s13, 'a', s9) (s9, 'a', s2) Final state: s2
Given the following FSM: a s0 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], What will be the state after reading the following input: a a a a a a ?
bd7a0cfb-7a37-47a5-8563-02314a904ff9
cfbc4470-a8d9-4020-9413-8f67a23ee086
{"states": ["s0", "s1", "s2", "s3", "s4", "s6", "s9", "s10", "s12", "s13"], "alphabets": "a", "accepting_states": ["s13", "s6", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s9"]}]}
4
{"a":{"s0":"s3","s1":"s13","s2":"s10","s3":"s6","s4":"s12","s6":"s1","s9":"s2","s10":"s4","s12":"s4","s13":"s9"}}
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 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], What will be the state after reading the following input: a a a a a a a ?
s10
7
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaa
s10
Transitions (current_state, input, next_state): (s0, 'a', s3) (s3, 'a', s6) (s6, 'a', s1) (s1, 'a', s13) (s13, 'a', s9) (s9, 'a', s2) (s2, 'a', s10) Final state: s10
Given the following FSM: a s0 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], What will be the state after reading the following input: a a a a a a a ?
d664e339-b7a9-4f73-a007-3313cc813136
cfbc4470-a8d9-4020-9413-8f67a23ee086
{"states": ["s0", "s1", "s2", "s3", "s4", "s6", "s9", "s10", "s12", "s13"], "alphabets": "a", "accepting_states": ["s13", "s6", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s9"]}]}
4
{"a":{"s0":"s3","s1":"s13","s2":"s10","s3":"s6","s4":"s12","s6":"s1","s9":"s2","s10":"s4","s12":"s4","s13":"s9"}}
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 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], What will be the state after reading the following input: a a a a a a a a ?
s4
8
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaa
s4
Transitions (current_state, input, next_state): (s0, 'a', s3) (s3, 'a', s6) (s6, 'a', s1) (s1, 'a', s13) (s13, 'a', s9) (s9, 'a', s2) (s2, 'a', s10) (s10, 'a', s4) Final state: s4
Given the following FSM: a s0 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], What will be the state after reading the following input: a a a a a a a a ?
952a722c-8617-442f-acc1-9113eecf9556
cfbc4470-a8d9-4020-9413-8f67a23ee086
{"states": ["s0", "s1", "s2", "s3", "s4", "s6", "s9", "s10", "s12", "s13"], "alphabets": "a", "accepting_states": ["s13", "s6", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s9"]}]}
4
{"a":{"s0":"s3","s1":"s13","s2":"s10","s3":"s6","s4":"s12","s6":"s1","s9":"s2","s10":"s4","s12":"s4","s13":"s9"}}
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 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], What will be the state after reading the following input: a a a a a a a a a ?
s12
9
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaaa
s12
Transitions (current_state, input, next_state): (s0, 'a', s3) (s3, 'a', s6) (s6, 'a', s1) (s1, 'a', s13) (s13, 'a', s9) (s9, 'a', s2) (s2, 'a', s10) (s10, 'a', s4) (s4, 'a', s12) Final state: s12
Given the following FSM: a s0 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], What will be the state after reading the following input: a a a a a a a a a ?
71ac7b25-5005-4751-b3d8-95ee3fa01ad6
cfbc4470-a8d9-4020-9413-8f67a23ee086
{"states": ["s0", "s1", "s2", "s3", "s4", "s6", "s9", "s10", "s12", "s13"], "alphabets": "a", "accepting_states": ["s13", "s6", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s9"]}]}
4
{"a":{"s0":"s3","s1":"s13","s2":"s10","s3":"s6","s4":"s12","s6":"s1","s9":"s2","s10":"s4","s12":"s4","s13":"s9"}}
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 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], What will be the state after reading the following input: a a a a a a a a a a a ?
s12
11
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaaaaa
s12
Transitions (current_state, input, next_state): (s0, 'a', s3) (s3, 'a', s6) (s6, 'a', s1) (s1, 'a', s13) (s13, 'a', s9) (s9, 'a', s2) (s2, 'a', s10) (s10, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) (s4, 'a', s12) Final state: s12
Given the following FSM: a s0 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], What will be the state after reading the following input: a a a a a a a a a a a ?
11b07409-3b88-446b-b305-53f6db066159
cfbc4470-a8d9-4020-9413-8f67a23ee086
{"states": ["s0", "s1", "s2", "s3", "s4", "s6", "s9", "s10", "s12", "s13"], "alphabets": "a", "accepting_states": ["s13", "s6", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s9"]}]}
4
{"a":{"s0":"s3","s1":"s13","s2":"s10","s3":"s6","s4":"s12","s6":"s1","s9":"s2","s10":"s4","s12":"s4","s13":"s9"}}
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 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], What will be the state after reading the following input: a a a a a a a a a a a a ?
s4
12
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaaaaaa
s4
Transitions (current_state, input, next_state): (s0, 'a', s3) (s3, 'a', s6) (s6, 'a', s1) (s1, 'a', s13) (s13, 'a', s9) (s9, 'a', s2) (s2, 'a', s10) (s10, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) Final state: s4
Given the following FSM: a s0 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], What will be the state after reading the following input: a a a a a a a a a a a a ?
7f7f5b26-63c5-4a0e-9ff6-6681cd353381
cfbc4470-a8d9-4020-9413-8f67a23ee086
{"states": ["s0", "s1", "s2", "s3", "s4", "s6", "s9", "s10", "s12", "s13"], "alphabets": "a", "accepting_states": ["s13", "s6", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s9"]}]}
4
{"a":{"s0":"s3","s1":"s13","s2":"s10","s3":"s6","s4":"s12","s6":"s1","s9":"s2","s10":"s4","s12":"s4","s13":"s9"}}
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 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], 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', s3) (s3, 'a', s6) (s6, 'a', s1) (s1, 'a', s13) (s13, 'a', s9) (s9, 'a', s2) (s2, 'a', s10) (s10, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) (s4, 'a', s12) Final state: s12
Given the following FSM: a s0 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], What will be the state after reading the following input: a a a a a a a a a a a a a ?
15d1afc5-801e-42df-88d2-0fa9916798d6
cfbc4470-a8d9-4020-9413-8f67a23ee086
{"states": ["s0", "s1", "s2", "s3", "s4", "s6", "s9", "s10", "s12", "s13"], "alphabets": "a", "accepting_states": ["s13", "s6", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s9"]}]}
4
{"a":{"s0":"s3","s1":"s13","s2":"s10","s3":"s6","s4":"s12","s6":"s1","s9":"s2","s10":"s4","s12":"s4","s13":"s9"}}
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 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], What will be the state after reading the following input: a a a a a a a a a a a a a a ?
s4
14
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaaaaaaaa
s4
Transitions (current_state, input, next_state): (s0, 'a', s3) (s3, 'a', s6) (s6, 'a', s1) (s1, 'a', s13) (s13, 'a', s9) (s9, 'a', s2) (s2, 'a', s10) (s10, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) Final state: s4
Given the following FSM: a s0 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], What will be the state after reading the following input: a a a a a a a a a a a a a a ?
21f424e9-08c0-4542-b65a-e8398199db1d
cfbc4470-a8d9-4020-9413-8f67a23ee086
{"states": ["s0", "s1", "s2", "s3", "s4", "s6", "s9", "s10", "s12", "s13"], "alphabets": "a", "accepting_states": ["s13", "s6", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s9"]}]}
4
{"a":{"s0":"s3","s1":"s13","s2":"s10","s3":"s6","s4":"s12","s6":"s1","s9":"s2","s10":"s4","s12":"s4","s13":"s9"}}
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 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], 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 ?
s12
15
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaaaaaaaaa
s12
Transitions (current_state, input, next_state): (s0, 'a', s3) (s3, 'a', s6) (s6, 'a', s1) (s1, 'a', s13) (s13, 'a', s9) (s9, 'a', s2) (s2, 'a', s10) (s10, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) (s4, 'a', s12) Final state: s12
Given the following FSM: a s0 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], 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 ?
0b72dc32-505a-4d12-b216-710b60ebe08d
cfbc4470-a8d9-4020-9413-8f67a23ee086
{"states": ["s0", "s1", "s2", "s3", "s4", "s6", "s9", "s10", "s12", "s13"], "alphabets": "a", "accepting_states": ["s13", "s6", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s9"]}]}
4
{"a":{"s0":"s3","s1":"s13","s2":"s10","s3":"s6","s4":"s12","s6":"s1","s9":"s2","s10":"s4","s12":"s4","s13":"s9"}}
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 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], 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 ?
s4
16
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaaaaaaaaaa
s4
Transitions (current_state, input, next_state): (s0, 'a', s3) (s3, 'a', s6) (s6, 'a', s1) (s1, 'a', s13) (s13, 'a', s9) (s9, 'a', s2) (s2, 'a', s10) (s10, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) Final state: s4
Given the following FSM: a s0 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], 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 ?
e678a14c-b0b7-4405-ba28-2cc3c3d09b30
cfbc4470-a8d9-4020-9413-8f67a23ee086
{"states": ["s0", "s1", "s2", "s3", "s4", "s6", "s9", "s10", "s12", "s13"], "alphabets": "a", "accepting_states": ["s13", "s6", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s9"]}]}
4
{"a":{"s0":"s3","s1":"s13","s2":"s10","s3":"s6","s4":"s12","s6":"s1","s9":"s2","s10":"s4","s12":"s4","s13":"s9"}}
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 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], 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 ?
s12
17
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaaaaaaaaaaa
s12
Transitions (current_state, input, next_state): (s0, 'a', s3) (s3, 'a', s6) (s6, 'a', s1) (s1, 'a', s13) (s13, 'a', s9) (s9, 'a', s2) (s2, 'a', s10) (s10, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) (s4, 'a', s12) Final state: s12
Given the following FSM: a s0 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], 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 ?
cc30644f-4a4b-45da-ad21-8ebe596c1bcc
cfbc4470-a8d9-4020-9413-8f67a23ee086
{"states": ["s0", "s1", "s2", "s3", "s4", "s6", "s9", "s10", "s12", "s13"], "alphabets": "a", "accepting_states": ["s13", "s6", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s9"]}]}
4
{"a":{"s0":"s3","s1":"s13","s2":"s10","s3":"s6","s4":"s12","s6":"s1","s9":"s2","s10":"s4","s12":"s4","s13":"s9"}}
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 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], 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 ?
s4
18
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaaaaaaaaaaaa
s4
Transitions (current_state, input, next_state): (s0, 'a', s3) (s3, 'a', s6) (s6, 'a', s1) (s1, 'a', s13) (s13, 'a', s9) (s9, 'a', s2) (s2, 'a', s10) (s10, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) Final state: s4
Given the following FSM: a s0 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], 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 ?
5963cf9c-6f13-40d2-b093-337d9620347d
cfbc4470-a8d9-4020-9413-8f67a23ee086
{"states": ["s0", "s1", "s2", "s3", "s4", "s6", "s9", "s10", "s12", "s13"], "alphabets": "a", "accepting_states": ["s13", "s6", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s9"]}]}
4
{"a":{"s0":"s3","s1":"s13","s2":"s10","s3":"s6","s4":"s12","s6":"s1","s9":"s2","s10":"s4","s12":"s4","s13":"s9"}}
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 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], 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 ?
s12
19
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaaaaaaaaaaaaa
s12
Transitions (current_state, input, next_state): (s0, 'a', s3) (s3, 'a', s6) (s6, 'a', s1) (s1, 'a', s13) (s13, 'a', s9) (s9, 'a', s2) (s2, 'a', s10) (s10, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) (s4, 'a', s12) Final state: s12
Given the following FSM: a s0 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], 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 ?
90381da2-e184-48ce-b007-4be23c701556
cfbc4470-a8d9-4020-9413-8f67a23ee086
{"states": ["s0", "s1", "s2", "s3", "s4", "s6", "s9", "s10", "s12", "s13"], "alphabets": "a", "accepting_states": ["s13", "s6", "s4", "s3"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s9"]}]}
4
{"a":{"s0":"s3","s1":"s13","s2":"s10","s3":"s6","s4":"s12","s6":"s1","s9":"s2","s10":"s4","s12":"s4","s13":"s9"}}
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 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], What will be the state after reading the following input: a a a a a a a a a a ?
s4
10
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaaaa
s4
Transitions (current_state, input, next_state): (s0, 'a', s3) (s3, 'a', s6) (s6, 'a', s1) (s1, 'a', s13) (s13, 'a', s9) (s9, 'a', s2) (s2, 'a', s10) (s10, 'a', s4) (s4, 'a', s12) (s12, 'a', s4) Final state: s4
Given the following FSM: a s0 s3 s1 s13 s2 s10 s3 s6 s4 s12 s6 s1 s9 s2 s10 s4 s12 s4 s13 s9 With the initial state: s0, and accepting states: ['s13', 's6', 's4', 's3'], What will be the state after reading the following input: a a a a a a a a a a ?
f0f63b14-ca89-4eb9-8940-69969a626e8f
d04fa8bd-2fb5-44b1-b149-04303c420076
{"states": ["s0", "s1", "s3", "s4", "s5", "s6", "s8", "s10", "s11", "s12"], "alphabets": "a", "accepting_states": ["s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}]}
4
{"a":{"s0":"s5","s1":"s10","s3":"s12","s4":"s3","s5":"s6","s6":"s1","s8":"s4","s10":"s8","s11":"s12","s12":"s11"}}
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 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], What will be the state after reading the following input: a ?
s5
1
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
a
s5
Transitions (current_state, input, next_state): (s0, 'a', s5) Final state: s5
Given the following FSM: a s0 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], What will be the state after reading the following input: a ?
f5b51b1a-0530-45fc-b5b7-7108c34bc27f
d04fa8bd-2fb5-44b1-b149-04303c420076
{"states": ["s0", "s1", "s3", "s4", "s5", "s6", "s8", "s10", "s11", "s12"], "alphabets": "a", "accepting_states": ["s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}]}
4
{"a":{"s0":"s5","s1":"s10","s3":"s12","s4":"s3","s5":"s6","s6":"s1","s8":"s4","s10":"s8","s11":"s12","s12":"s11"}}
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 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], 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 ?
s11
19
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaaaaaaaaaaaaa
s11
Transitions (current_state, input, next_state): (s0, 'a', s5) (s5, 'a', s6) (s6, 'a', s1) (s1, 'a', s10) (s10, 'a', s8) (s8, 'a', s4) (s4, 'a', s3) (s3, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) (s12, 'a', s11) Final state: s11
Given the following FSM: a s0 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], 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 ?
7ad89269-e1f6-4520-b096-1d35a5abcee5
d04fa8bd-2fb5-44b1-b149-04303c420076
{"states": ["s0", "s1", "s3", "s4", "s5", "s6", "s8", "s10", "s11", "s12"], "alphabets": "a", "accepting_states": ["s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}]}
4
{"a":{"s0":"s5","s1":"s10","s3":"s12","s4":"s3","s5":"s6","s6":"s1","s8":"s4","s10":"s8","s11":"s12","s12":"s11"}}
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 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], 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 ?
s12
16
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaaaaaaaaaa
s12
Transitions (current_state, input, next_state): (s0, 'a', s5) (s5, 'a', s6) (s6, 'a', s1) (s1, 'a', s10) (s10, 'a', s8) (s8, 'a', s4) (s4, 'a', s3) (s3, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) Final state: s12
Given the following FSM: a s0 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], 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 ?
3505208b-b1a4-4629-a0b9-3c255f61fb89
d04fa8bd-2fb5-44b1-b149-04303c420076
{"states": ["s0", "s1", "s3", "s4", "s5", "s6", "s8", "s10", "s11", "s12"], "alphabets": "a", "accepting_states": ["s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}]}
4
{"a":{"s0":"s5","s1":"s10","s3":"s12","s4":"s3","s5":"s6","s6":"s1","s8":"s4","s10":"s8","s11":"s12","s12":"s11"}}
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 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], 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 ?
s11
15
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaaaaaaaaa
s11
Transitions (current_state, input, next_state): (s0, 'a', s5) (s5, 'a', s6) (s6, 'a', s1) (s1, 'a', s10) (s10, 'a', s8) (s8, 'a', s4) (s4, 'a', s3) (s3, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) (s12, 'a', s11) Final state: s11
Given the following FSM: a s0 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], 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 ?
70eaa5d5-2848-4be1-a007-c57456a1c2bc
d04fa8bd-2fb5-44b1-b149-04303c420076
{"states": ["s0", "s1", "s3", "s4", "s5", "s6", "s8", "s10", "s11", "s12"], "alphabets": "a", "accepting_states": ["s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}]}
4
{"a":{"s0":"s5","s1":"s10","s3":"s12","s4":"s3","s5":"s6","s6":"s1","s8":"s4","s10":"s8","s11":"s12","s12":"s11"}}
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 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], What will be the state after reading the following input: a a a a a a a a a a a a a a ?
s12
14
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaaaaaaaa
s12
Transitions (current_state, input, next_state): (s0, 'a', s5) (s5, 'a', s6) (s6, 'a', s1) (s1, 'a', s10) (s10, 'a', s8) (s8, 'a', s4) (s4, 'a', s3) (s3, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) Final state: s12
Given the following FSM: a s0 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], What will be the state after reading the following input: a a a a a a a a a a a a a a ?
e133dded-622f-4d3b-a0c5-8796595fd6c4
d04fa8bd-2fb5-44b1-b149-04303c420076
{"states": ["s0", "s1", "s3", "s4", "s5", "s6", "s8", "s10", "s11", "s12"], "alphabets": "a", "accepting_states": ["s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}]}
4
{"a":{"s0":"s5","s1":"s10","s3":"s12","s4":"s3","s5":"s6","s6":"s1","s8":"s4","s10":"s8","s11":"s12","s12":"s11"}}
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 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], What will be the state after reading the following input: a a a a a a a a a a a a a ?
s11
13
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaaaaaaa
s11
Transitions (current_state, input, next_state): (s0, 'a', s5) (s5, 'a', s6) (s6, 'a', s1) (s1, 'a', s10) (s10, 'a', s8) (s8, 'a', s4) (s4, 'a', s3) (s3, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) (s12, 'a', s11) Final state: s11
Given the following FSM: a s0 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], What will be the state after reading the following input: a a a a a a a a a a a a a ?
7ef19d41-ad1b-47bb-9209-29e849a5031a
d04fa8bd-2fb5-44b1-b149-04303c420076
{"states": ["s0", "s1", "s3", "s4", "s5", "s6", "s8", "s10", "s11", "s12"], "alphabets": "a", "accepting_states": ["s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}]}
4
{"a":{"s0":"s5","s1":"s10","s3":"s12","s4":"s3","s5":"s6","s6":"s1","s8":"s4","s10":"s8","s11":"s12","s12":"s11"}}
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 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], What will be the state after reading the following input: a a a a a a a a a a a a ?
s12
12
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaaaaaa
s12
Transitions (current_state, input, next_state): (s0, 'a', s5) (s5, 'a', s6) (s6, 'a', s1) (s1, 'a', s10) (s10, 'a', s8) (s8, 'a', s4) (s4, 'a', s3) (s3, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) Final state: s12
Given the following FSM: a s0 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], What will be the state after reading the following input: a a a a a a a a a a a a ?
c32ee0be-02c0-47b9-9208-16a58a93c9f8
d04fa8bd-2fb5-44b1-b149-04303c420076
{"states": ["s0", "s1", "s3", "s4", "s5", "s6", "s8", "s10", "s11", "s12"], "alphabets": "a", "accepting_states": ["s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}]}
4
{"a":{"s0":"s5","s1":"s10","s3":"s12","s4":"s3","s5":"s6","s6":"s1","s8":"s4","s10":"s8","s11":"s12","s12":"s11"}}
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 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], What will be the state after reading the following input: a a a a a a a a a a a ?
s11
11
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaaaaa
s11
Transitions (current_state, input, next_state): (s0, 'a', s5) (s5, 'a', s6) (s6, 'a', s1) (s1, 'a', s10) (s10, 'a', s8) (s8, 'a', s4) (s4, 'a', s3) (s3, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) (s12, 'a', s11) Final state: s11
Given the following FSM: a s0 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], What will be the state after reading the following input: a a a a a a a a a a a ?
edd92c78-d2ee-4b05-8eab-82c0bec83312
d04fa8bd-2fb5-44b1-b149-04303c420076
{"states": ["s0", "s1", "s3", "s4", "s5", "s6", "s8", "s10", "s11", "s12"], "alphabets": "a", "accepting_states": ["s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}]}
4
{"a":{"s0":"s5","s1":"s10","s3":"s12","s4":"s3","s5":"s6","s6":"s1","s8":"s4","s10":"s8","s11":"s12","s12":"s11"}}
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 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], What will be the state after reading the following input: a a a a a a a a a a ?
s12
10
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaaaa
s12
Transitions (current_state, input, next_state): (s0, 'a', s5) (s5, 'a', s6) (s6, 'a', s1) (s1, 'a', s10) (s10, 'a', s8) (s8, 'a', s4) (s4, 'a', s3) (s3, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) Final state: s12
Given the following FSM: a s0 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], What will be the state after reading the following input: a a a a a a a a a a ?
373050b4-23da-40e8-9c94-396d637e18b8
d04fa8bd-2fb5-44b1-b149-04303c420076
{"states": ["s0", "s1", "s3", "s4", "s5", "s6", "s8", "s10", "s11", "s12"], "alphabets": "a", "accepting_states": ["s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}]}
4
{"a":{"s0":"s5","s1":"s10","s3":"s12","s4":"s3","s5":"s6","s6":"s1","s8":"s4","s10":"s8","s11":"s12","s12":"s11"}}
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 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], What will be the state after reading the following input: a a a a a a a a a ?
s11
9
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaaa
s11
Transitions (current_state, input, next_state): (s0, 'a', s5) (s5, 'a', s6) (s6, 'a', s1) (s1, 'a', s10) (s10, 'a', s8) (s8, 'a', s4) (s4, 'a', s3) (s3, 'a', s12) (s12, 'a', s11) Final state: s11
Given the following FSM: a s0 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], What will be the state after reading the following input: a a a a a a a a a ?
fbc26a7e-2a42-4e3c-a388-a9b71595825a
d04fa8bd-2fb5-44b1-b149-04303c420076
{"states": ["s0", "s1", "s3", "s4", "s5", "s6", "s8", "s10", "s11", "s12"], "alphabets": "a", "accepting_states": ["s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}]}
4
{"a":{"s0":"s5","s1":"s10","s3":"s12","s4":"s3","s5":"s6","s6":"s1","s8":"s4","s10":"s8","s11":"s12","s12":"s11"}}
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 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], What will be the state after reading the following input: a a a a a a a a ?
s12
8
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaa
s12
Transitions (current_state, input, next_state): (s0, 'a', s5) (s5, 'a', s6) (s6, 'a', s1) (s1, 'a', s10) (s10, 'a', s8) (s8, 'a', s4) (s4, 'a', s3) (s3, 'a', s12) Final state: s12
Given the following FSM: a s0 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], What will be the state after reading the following input: a a a a a a a a ?
3888872e-ec46-4ab0-b82a-e77f4c59ac28
d04fa8bd-2fb5-44b1-b149-04303c420076
{"states": ["s0", "s1", "s3", "s4", "s5", "s6", "s8", "s10", "s11", "s12"], "alphabets": "a", "accepting_states": ["s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}]}
4
{"a":{"s0":"s5","s1":"s10","s3":"s12","s4":"s3","s5":"s6","s6":"s1","s8":"s4","s10":"s8","s11":"s12","s12":"s11"}}
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 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], What will be the state after reading the following input: a a a a a a a ?
s3
7
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaa
s3
Transitions (current_state, input, next_state): (s0, 'a', s5) (s5, 'a', s6) (s6, 'a', s1) (s1, 'a', s10) (s10, 'a', s8) (s8, 'a', s4) (s4, 'a', s3) Final state: s3
Given the following FSM: a s0 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], What will be the state after reading the following input: a a a a a a a ?
a9960ac5-86db-4b5b-96f6-8252f63b8c83
d04fa8bd-2fb5-44b1-b149-04303c420076
{"states": ["s0", "s1", "s3", "s4", "s5", "s6", "s8", "s10", "s11", "s12"], "alphabets": "a", "accepting_states": ["s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}]}
4
{"a":{"s0":"s5","s1":"s10","s3":"s12","s4":"s3","s5":"s6","s6":"s1","s8":"s4","s10":"s8","s11":"s12","s12":"s11"}}
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 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], 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', s5) (s5, 'a', s6) (s6, 'a', s1) (s1, 'a', s10) (s10, 'a', s8) (s8, 'a', s4) Final state: s4
Given the following FSM: a s0 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], What will be the state after reading the following input: a a a a a a ?
661be02f-57f2-4b1f-a81a-814fdd4ceba2
d04fa8bd-2fb5-44b1-b149-04303c420076
{"states": ["s0", "s1", "s3", "s4", "s5", "s6", "s8", "s10", "s11", "s12"], "alphabets": "a", "accepting_states": ["s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}]}
4
{"a":{"s0":"s5","s1":"s10","s3":"s12","s4":"s3","s5":"s6","s6":"s1","s8":"s4","s10":"s8","s11":"s12","s12":"s11"}}
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 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], What will be the state after reading the following input: a a a a a ?
s8
5
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaa
s8
Transitions (current_state, input, next_state): (s0, 'a', s5) (s5, 'a', s6) (s6, 'a', s1) (s1, 'a', s10) (s10, 'a', s8) Final state: s8
Given the following FSM: a s0 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], What will be the state after reading the following input: a a a a a ?
1685d7a5-958c-4bd4-8e97-481fe0112d62
d04fa8bd-2fb5-44b1-b149-04303c420076
{"states": ["s0", "s1", "s3", "s4", "s5", "s6", "s8", "s10", "s11", "s12"], "alphabets": "a", "accepting_states": ["s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}]}
4
{"a":{"s0":"s5","s1":"s10","s3":"s12","s4":"s3","s5":"s6","s6":"s1","s8":"s4","s10":"s8","s11":"s12","s12":"s11"}}
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 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], What will be the state after reading the following input: a a a a ?
s10
4
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaa
s10
Transitions (current_state, input, next_state): (s0, 'a', s5) (s5, 'a', s6) (s6, 'a', s1) (s1, 'a', s10) Final state: s10
Given the following FSM: a s0 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], What will be the state after reading the following input: a a a a ?
339c9fb0-1f25-47dc-963c-6b687e1b1357
d04fa8bd-2fb5-44b1-b149-04303c420076
{"states": ["s0", "s1", "s3", "s4", "s5", "s6", "s8", "s10", "s11", "s12"], "alphabets": "a", "accepting_states": ["s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}]}
4
{"a":{"s0":"s5","s1":"s10","s3":"s12","s4":"s3","s5":"s6","s6":"s1","s8":"s4","s10":"s8","s11":"s12","s12":"s11"}}
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 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], What will be the state after reading the following input: a a a ?
s1
3
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaa
s1
Transitions (current_state, input, next_state): (s0, 'a', s5) (s5, 'a', s6) (s6, 'a', s1) Final state: s1
Given the following FSM: a s0 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], What will be the state after reading the following input: a a a ?
d86f6c99-aaa3-4f16-af7e-cd8545ee19ba
d04fa8bd-2fb5-44b1-b149-04303c420076
{"states": ["s0", "s1", "s3", "s4", "s5", "s6", "s8", "s10", "s11", "s12"], "alphabets": "a", "accepting_states": ["s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}]}
4
{"a":{"s0":"s5","s1":"s10","s3":"s12","s4":"s3","s5":"s6","s6":"s1","s8":"s4","s10":"s8","s11":"s12","s12":"s11"}}
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 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], What will be the state after reading the following input: a a ?
s6
2
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aa
s6
Transitions (current_state, input, next_state): (s0, 'a', s5) (s5, 'a', s6) Final state: s6
Given the following FSM: a s0 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], What will be the state after reading the following input: a a ?
84744559-07f9-40e7-aed8-21cd091d787a
d04fa8bd-2fb5-44b1-b149-04303c420076
{"states": ["s0", "s1", "s3", "s4", "s5", "s6", "s8", "s10", "s11", "s12"], "alphabets": "a", "accepting_states": ["s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}]}
4
{"a":{"s0":"s5","s1":"s10","s3":"s12","s4":"s3","s5":"s6","s6":"s1","s8":"s4","s10":"s8","s11":"s12","s12":"s11"}}
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 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], 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 ?
s11
17
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaaaaaaaaaaa
s11
Transitions (current_state, input, next_state): (s0, 'a', s5) (s5, 'a', s6) (s6, 'a', s1) (s1, 'a', s10) (s10, 'a', s8) (s8, 'a', s4) (s4, 'a', s3) (s3, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) (s12, 'a', s11) Final state: s11
Given the following FSM: a s0 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], 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 ?
c3ffcfae-2b0a-4068-ab2d-f86d24d364fb
d04fa8bd-2fb5-44b1-b149-04303c420076
{"states": ["s0", "s1", "s3", "s4", "s5", "s6", "s8", "s10", "s11", "s12"], "alphabets": "a", "accepting_states": ["s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}]}
4
{"a":{"s0":"s5","s1":"s10","s3":"s12","s4":"s3","s5":"s6","s6":"s1","s8":"s4","s10":"s8","s11":"s12","s12":"s11"}}
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 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], 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 ?
s12
18
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaaaaaaaaaaaa
s12
Transitions (current_state, input, next_state): (s0, 'a', s5) (s5, 'a', s6) (s6, 'a', s1) (s1, 'a', s10) (s10, 'a', s8) (s8, 'a', s4) (s4, 'a', s3) (s3, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) Final state: s12
Given the following FSM: a s0 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], 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 ?
4c4f3fd4-8aef-438a-aac0-6b3c80f011dd
d04fa8bd-2fb5-44b1-b149-04303c420076
{"states": ["s0", "s1", "s3", "s4", "s5", "s6", "s8", "s10", "s11", "s12"], "alphabets": "a", "accepting_states": ["s4"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s11", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s11"]}]}
4
{"a":{"s0":"s5","s1":"s10","s3":"s12","s4":"s3","s5":"s6","s6":"s1","s8":"s4","s10":"s8","s11":"s12","s12":"s11"}}
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 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], 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 ?
s12
20
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaaaaaaaaaaaaaa
s12
Transitions (current_state, input, next_state): (s0, 'a', s5) (s5, 'a', s6) (s6, 'a', s1) (s1, 'a', s10) (s10, 'a', s8) (s8, 'a', s4) (s4, 'a', s3) (s3, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) (s12, 'a', s11) (s11, 'a', s12) Final state: s12
Given the following FSM: a s0 s5 s1 s10 s3 s12 s4 s3 s5 s6 s6 s1 s8 s4 s10 s8 s11 s12 s12 s11 With the initial state: s0, and accepting states: ['s4'], 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 ?
4a0150cc-bc0a-48ec-8a02-457aa1e9aacd
e860296d-a7d0-4993-b5cb-46c46f57925d
{"states": ["s0", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s12", "s13"], "alphabets": "a", "accepting_states": ["s8", "s3", "s5", "s9", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]}
4
{"a":{"s0":"s13","s3":"s7","s4":"s4","s5":"s9","s6":"s8","s7":"s6","s8":"s12","s9":"s3","s12":"s4","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 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], What will be the state after reading the following input: a ?
s13
1
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
a
s13
Transitions (current_state, input, next_state): (s0, 'a', s13) Final state: s13
Given the following FSM: a s0 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], What will be the state after reading the following input: a ?
d259ad86-55d2-4a27-b32a-0343dfd23a41
e860296d-a7d0-4993-b5cb-46c46f57925d
{"states": ["s0", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s12", "s13"], "alphabets": "a", "accepting_states": ["s8", "s3", "s5", "s9", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]}
4
{"a":{"s0":"s13","s3":"s7","s4":"s4","s5":"s9","s6":"s8","s7":"s6","s8":"s12","s9":"s3","s12":"s4","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 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], 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', s13) (s13, 'a', s5) (s5, 'a', s9) Final state: s9
Given the following FSM: a s0 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], What will be the state after reading the following input: a a a ?
96d3faa0-bb59-4899-aec4-1952b375808d
e860296d-a7d0-4993-b5cb-46c46f57925d
{"states": ["s0", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s12", "s13"], "alphabets": "a", "accepting_states": ["s8", "s3", "s5", "s9", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]}
4
{"a":{"s0":"s13","s3":"s7","s4":"s4","s5":"s9","s6":"s8","s7":"s6","s8":"s12","s9":"s3","s12":"s4","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 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], 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', s13) (s13, 'a', s5) (s5, 'a', s9) (s9, 'a', s3) Final state: s3
Given the following FSM: a s0 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], What will be the state after reading the following input: a a a a ?
41f13d20-4daa-4c41-a763-e4ca7d77efd1
e860296d-a7d0-4993-b5cb-46c46f57925d
{"states": ["s0", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s12", "s13"], "alphabets": "a", "accepting_states": ["s8", "s3", "s5", "s9", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]}
4
{"a":{"s0":"s13","s3":"s7","s4":"s4","s5":"s9","s6":"s8","s7":"s6","s8":"s12","s9":"s3","s12":"s4","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 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], 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', s13) (s13, 'a', s5) (s5, 'a', s9) (s9, 'a', s3) (s3, 'a', s7) Final state: s7
Given the following FSM: a s0 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], What will be the state after reading the following input: a a a a a ?
70af3ad5-4fb6-4cd3-88a1-eedb99b16429
e860296d-a7d0-4993-b5cb-46c46f57925d
{"states": ["s0", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s12", "s13"], "alphabets": "a", "accepting_states": ["s8", "s3", "s5", "s9", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]}
4
{"a":{"s0":"s13","s3":"s7","s4":"s4","s5":"s9","s6":"s8","s7":"s6","s8":"s12","s9":"s3","s12":"s4","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 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], What will be the state after reading the following input: a a a a a a ?
s6
6
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaa
s6
Transitions (current_state, input, next_state): (s0, 'a', s13) (s13, 'a', s5) (s5, 'a', s9) (s9, 'a', s3) (s3, 'a', s7) (s7, 'a', s6) Final state: s6
Given the following FSM: a s0 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], What will be the state after reading the following input: a a a a a a ?
e822b2b9-49a4-4606-b7bf-c3193363e31b
e860296d-a7d0-4993-b5cb-46c46f57925d
{"states": ["s0", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s12", "s13"], "alphabets": "a", "accepting_states": ["s8", "s3", "s5", "s9", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]}
4
{"a":{"s0":"s13","s3":"s7","s4":"s4","s5":"s9","s6":"s8","s7":"s6","s8":"s12","s9":"s3","s12":"s4","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 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], What will be the state after reading the following input: a a a a a a a ?
s8
7
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaa
s8
Transitions (current_state, input, next_state): (s0, 'a', s13) (s13, 'a', s5) (s5, 'a', s9) (s9, 'a', s3) (s3, 'a', s7) (s7, 'a', s6) (s6, 'a', s8) Final state: s8
Given the following FSM: a s0 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], What will be the state after reading the following input: a a a a a a a ?
35ac573c-5e13-4b05-9db8-1a1cad3167aa
e860296d-a7d0-4993-b5cb-46c46f57925d
{"states": ["s0", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s12", "s13"], "alphabets": "a", "accepting_states": ["s8", "s3", "s5", "s9", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]}
4
{"a":{"s0":"s13","s3":"s7","s4":"s4","s5":"s9","s6":"s8","s7":"s6","s8":"s12","s9":"s3","s12":"s4","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 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], What will be the state after reading the following input: a a a a a a a a ?
s12
8
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaa
s12
Transitions (current_state, input, next_state): (s0, 'a', s13) (s13, 'a', s5) (s5, 'a', s9) (s9, 'a', s3) (s3, 'a', s7) (s7, 'a', s6) (s6, 'a', s8) (s8, 'a', s12) Final state: s12
Given the following FSM: a s0 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], What will be the state after reading the following input: a a a a a a a a ?
848aa8e6-4895-4aa1-9657-a841061e8feb
e860296d-a7d0-4993-b5cb-46c46f57925d
{"states": ["s0", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s12", "s13"], "alphabets": "a", "accepting_states": ["s8", "s3", "s5", "s9", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]}
4
{"a":{"s0":"s13","s3":"s7","s4":"s4","s5":"s9","s6":"s8","s7":"s6","s8":"s12","s9":"s3","s12":"s4","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 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], What will be the state after reading the following input: a a a a a a a a a ?
s4
9
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaaa
s4
Transitions (current_state, input, next_state): (s0, 'a', s13) (s13, 'a', s5) (s5, 'a', s9) (s9, 'a', s3) (s3, 'a', s7) (s7, 'a', s6) (s6, 'a', s8) (s8, 'a', s12) (s12, 'a', s4) Final state: s4
Given the following FSM: a s0 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], What will be the state after reading the following input: a a a a a a a a a ?
3a8aa740-c6a4-4d5b-a6b5-6038dda286a5
e860296d-a7d0-4993-b5cb-46c46f57925d
{"states": ["s0", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s12", "s13"], "alphabets": "a", "accepting_states": ["s8", "s3", "s5", "s9", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]}
4
{"a":{"s0":"s13","s3":"s7","s4":"s4","s5":"s9","s6":"s8","s7":"s6","s8":"s12","s9":"s3","s12":"s4","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 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], What will be the state after reading the following input: a a a a a a a a a a ?
s4
10
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaaaa
s4
Transitions (current_state, input, next_state): (s0, 'a', s13) (s13, 'a', s5) (s5, 'a', s9) (s9, 'a', s3) (s3, 'a', s7) (s7, 'a', s6) (s6, 'a', s8) (s8, 'a', s12) (s12, 'a', s4) (s4, 'a', s4) Final state: s4
Given the following FSM: a s0 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], What will be the state after reading the following input: a a a a a a a a a a ?
bc0e3433-9d2c-449e-8750-4a36379ac0ef
e860296d-a7d0-4993-b5cb-46c46f57925d
{"states": ["s0", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s12", "s13"], "alphabets": "a", "accepting_states": ["s8", "s3", "s5", "s9", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]}
4
{"a":{"s0":"s13","s3":"s7","s4":"s4","s5":"s9","s6":"s8","s7":"s6","s8":"s12","s9":"s3","s12":"s4","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 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], 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', s13) (s13, 'a', s5) (s5, 'a', s9) (s9, 'a', s3) (s3, 'a', s7) (s7, 'a', s6) (s6, 'a', s8) (s8, 'a', s12) (s12, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) Final state: s4
Given the following FSM: a s0 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], What will be the state after reading the following input: a a a a a a a a a a a ?
f7806943-ab81-44f2-819b-c14223f37475
e860296d-a7d0-4993-b5cb-46c46f57925d
{"states": ["s0", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s12", "s13"], "alphabets": "a", "accepting_states": ["s8", "s3", "s5", "s9", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]}
4
{"a":{"s0":"s13","s3":"s7","s4":"s4","s5":"s9","s6":"s8","s7":"s6","s8":"s12","s9":"s3","s12":"s4","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 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], What will be the state after reading the following input: a a a a a a a a a a a a ?
s4
12
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaaaaaa
s4
Transitions (current_state, input, next_state): (s0, 'a', s13) (s13, 'a', s5) (s5, 'a', s9) (s9, 'a', s3) (s3, 'a', s7) (s7, 'a', s6) (s6, 'a', s8) (s8, 'a', s12) (s12, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) Final state: s4
Given the following FSM: a s0 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], What will be the state after reading the following input: a a a a a a a a a a a a ?
8299ae92-f345-43c4-85ab-5116962f5a87
e860296d-a7d0-4993-b5cb-46c46f57925d
{"states": ["s0", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s12", "s13"], "alphabets": "a", "accepting_states": ["s8", "s3", "s5", "s9", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]}
4
{"a":{"s0":"s13","s3":"s7","s4":"s4","s5":"s9","s6":"s8","s7":"s6","s8":"s12","s9":"s3","s12":"s4","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 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], 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
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaaaaaaa
s4
Transitions (current_state, input, next_state): (s0, 'a', s13) (s13, 'a', s5) (s5, 'a', s9) (s9, 'a', s3) (s3, 'a', s7) (s7, 'a', s6) (s6, 'a', s8) (s8, 'a', s12) (s12, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) Final state: s4
Given the following FSM: a s0 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], What will be the state after reading the following input: a a a a a a a a a a a a a ?
985c50db-32ca-430d-9c2a-76bf628c894d
e860296d-a7d0-4993-b5cb-46c46f57925d
{"states": ["s0", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s12", "s13"], "alphabets": "a", "accepting_states": ["s8", "s3", "s5", "s9", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]}
4
{"a":{"s0":"s13","s3":"s7","s4":"s4","s5":"s9","s6":"s8","s7":"s6","s8":"s12","s9":"s3","s12":"s4","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 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], What will be the state after reading the following input: a a a a a a a a a a a a a a ?
s4
14
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaaaaaaaa
s4
Transitions (current_state, input, next_state): (s0, 'a', s13) (s13, 'a', s5) (s5, 'a', s9) (s9, 'a', s3) (s3, 'a', s7) (s7, 'a', s6) (s6, 'a', s8) (s8, 'a', s12) (s12, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) Final state: s4
Given the following FSM: a s0 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], What will be the state after reading the following input: a a a a a a a a a a a a a a ?
415a1c34-ad8d-4591-85c0-8650343724ee
e860296d-a7d0-4993-b5cb-46c46f57925d
{"states": ["s0", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s12", "s13"], "alphabets": "a", "accepting_states": ["s8", "s3", "s5", "s9", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]}
4
{"a":{"s0":"s13","s3":"s7","s4":"s4","s5":"s9","s6":"s8","s7":"s6","s8":"s12","s9":"s3","s12":"s4","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 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], 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 ?
s4
15
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaaaaaaaaa
s4
Transitions (current_state, input, next_state): (s0, 'a', s13) (s13, 'a', s5) (s5, 'a', s9) (s9, 'a', s3) (s3, 'a', s7) (s7, 'a', s6) (s6, 'a', s8) (s8, 'a', s12) (s12, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) Final state: s4
Given the following FSM: a s0 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], 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 ?
948ea3e8-4fed-4b59-a38a-623d7dafc81f
e860296d-a7d0-4993-b5cb-46c46f57925d
{"states": ["s0", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s12", "s13"], "alphabets": "a", "accepting_states": ["s8", "s3", "s5", "s9", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]}
4
{"a":{"s0":"s13","s3":"s7","s4":"s4","s5":"s9","s6":"s8","s7":"s6","s8":"s12","s9":"s3","s12":"s4","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 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], 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 ?
s4
16
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaaaaaaaaaa
s4
Transitions (current_state, input, next_state): (s0, 'a', s13) (s13, 'a', s5) (s5, 'a', s9) (s9, 'a', s3) (s3, 'a', s7) (s7, 'a', s6) (s6, 'a', s8) (s8, 'a', s12) (s12, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) Final state: s4
Given the following FSM: a s0 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], 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 ?
fe674283-e23c-48b8-a4eb-9fe7f26cf9f8
e860296d-a7d0-4993-b5cb-46c46f57925d
{"states": ["s0", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s12", "s13"], "alphabets": "a", "accepting_states": ["s8", "s3", "s5", "s9", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]}
4
{"a":{"s0":"s13","s3":"s7","s4":"s4","s5":"s9","s6":"s8","s7":"s6","s8":"s12","s9":"s3","s12":"s4","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 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], 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 ?
s4
17
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaaaaaaaaaaa
s4
Transitions (current_state, input, next_state): (s0, 'a', s13) (s13, 'a', s5) (s5, 'a', s9) (s9, 'a', s3) (s3, 'a', s7) (s7, 'a', s6) (s6, 'a', s8) (s8, 'a', s12) (s12, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) Final state: s4
Given the following FSM: a s0 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], 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 ?
df1a7e83-c1b7-4bfd-be02-b665a7ebc582
e860296d-a7d0-4993-b5cb-46c46f57925d
{"states": ["s0", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s12", "s13"], "alphabets": "a", "accepting_states": ["s8", "s3", "s5", "s9", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]}
4
{"a":{"s0":"s13","s3":"s7","s4":"s4","s5":"s9","s6":"s8","s7":"s6","s8":"s12","s9":"s3","s12":"s4","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 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], 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 ?
s4
18
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaaaaaaaaaaaa
s4
Transitions (current_state, input, next_state): (s0, 'a', s13) (s13, 'a', s5) (s5, 'a', s9) (s9, 'a', s3) (s3, 'a', s7) (s7, 'a', s6) (s6, 'a', s8) (s8, 'a', s12) (s12, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) Final state: s4
Given the following FSM: a s0 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], 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 ?
7eae6534-9fe9-47b9-8c5f-2026bb067891
e860296d-a7d0-4993-b5cb-46c46f57925d
{"states": ["s0", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s12", "s13"], "alphabets": "a", "accepting_states": ["s8", "s3", "s5", "s9", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]}
4
{"a":{"s0":"s13","s3":"s7","s4":"s4","s5":"s9","s6":"s8","s7":"s6","s8":"s12","s9":"s3","s12":"s4","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 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], 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 ?
s4
19
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aaaaaaaaaaaaaaaaaaa
s4
Transitions (current_state, input, next_state): (s0, 'a', s13) (s13, 'a', s5) (s5, 'a', s9) (s9, 'a', s3) (s3, 'a', s7) (s7, 'a', s6) (s6, 'a', s8) (s8, 'a', s12) (s12, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) Final state: s4
Given the following FSM: a s0 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], 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 ?
bf9ad720-f1cb-4f2d-8190-a97c33cb2dbe
e860296d-a7d0-4993-b5cb-46c46f57925d
{"states": ["s0", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s12", "s13"], "alphabets": "a", "accepting_states": ["s8", "s3", "s5", "s9", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]}
4
{"a":{"s0":"s13","s3":"s7","s4":"s4","s5":"s9","s6":"s8","s7":"s6","s8":"s12","s9":"s3","s12":"s4","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 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], 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', s13) (s13, 'a', s5) (s5, 'a', s9) (s9, 'a', s3) (s3, 'a', s7) (s7, 'a', s6) (s6, 'a', s8) (s8, 'a', s12) (s12, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) (s4, 'a', s4) Final state: s4
Given the following FSM: a s0 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], 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 ?
3642a46e-caf5-41e7-962e-b8c2ff92a4e8
e860296d-a7d0-4993-b5cb-46c46f57925d
{"states": ["s0", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s12", "s13"], "alphabets": "a", "accepting_states": ["s8", "s3", "s5", "s9", "s0"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s13"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s12"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s3"]}, {"fromState": "s12", "symbol": "a", "toStates": ["s4"]}, {"fromState": "s13", "symbol": "a", "toStates": ["s5"]}]}
4
{"a":{"s0":"s13","s3":"s7","s4":"s4","s5":"s9","s6":"s8","s7":"s6","s8":"s12","s9":"s3","s12":"s4","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 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], What will be the state after reading the following input: a a ?
s5
2
10
1
10_1
c0342c1a-d55a-47fd-891a-d3c44d0c2cd1
34f8bc0c-3297-4b47-9a84-a2c96cb43ca1
aa
s5
Transitions (current_state, input, next_state): (s0, 'a', s13) (s13, 'a', s5) Final state: s5
Given the following FSM: a s0 s13 s3 s7 s4 s4 s5 s9 s6 s8 s7 s6 s8 s12 s9 s3 s12 s4 s13 s5 With the initial state: s0, and accepting states: ['s8', 's3', 's5', 's9', 's0'], What will be the state after reading the following input: a a ?
af5740ea-75b8-43a5-b740-77a295c86f9b
177e1684-e4d5-4afe-b430-471520774e56
{"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s8", "s9", "s10"], "alphabets": "ab", "accepting_states": ["s3", "s1", "s5", "s6", "s8", "s0", "s9", "s10", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s6"]}]}
4
{"a":{"s0":"s2","s1":"s9","s2":"s8","s3":"s5","s5":"s8","s6":"s8","s7":"s7","s8":"s8","s9":"s7","s10":"s10"},"b":{"s0":"s10","s1":"s2","s2":"s10","s3":"s5","s5":"s5","s6":"s1","s7":"s7","s8":"s0","s9":"s3","s10":"s6"}}
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a a a a b a a ? Solution: Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) (s4, 'b', s1) (s1, 'b', s0) (s0, 'b', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'b', s4) (s4, 'a', s5) (s5, 'a', s2) Final state: s2 Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b ?
s10
9
10
2
10_2
aeb1041d-3dd6-433e-bb4a-b45ebe994d5e
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
baabaaabb
s10
Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) (s0, 'b', s10) Final state: s10
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b ?
b947bdc2-cd21-4554-baca-1a65a87ebe02
177e1684-e4d5-4afe-b430-471520774e56
{"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s8", "s9", "s10"], "alphabets": "ab", "accepting_states": ["s3", "s1", "s5", "s6", "s8", "s0", "s9", "s10", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s6"]}]}
4
{"a":{"s0":"s2","s1":"s9","s2":"s8","s3":"s5","s5":"s8","s6":"s8","s7":"s7","s8":"s8","s9":"s7","s10":"s10"},"b":{"s0":"s10","s1":"s2","s2":"s10","s3":"s5","s5":"s5","s6":"s1","s7":"s7","s8":"s0","s9":"s3","s10":"s6"}}
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a a a a b a a ? Solution: Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) (s4, 'b', s1) (s1, 'b', s0) (s0, 'b', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'b', s4) (s4, 'a', s5) (s5, 'a', s2) Final state: s2 Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a ?
s10
3
10
2
10_2
aeb1041d-3dd6-433e-bb4a-b45ebe994d5e
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
baa
s10
Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) Final state: s10
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a ?
160782c0-5f9c-4139-831c-8ecf32dc4f29
177e1684-e4d5-4afe-b430-471520774e56
{"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s8", "s9", "s10"], "alphabets": "ab", "accepting_states": ["s3", "s1", "s5", "s6", "s8", "s0", "s9", "s10", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s6"]}]}
4
{"a":{"s0":"s2","s1":"s9","s2":"s8","s3":"s5","s5":"s8","s6":"s8","s7":"s7","s8":"s8","s9":"s7","s10":"s10"},"b":{"s0":"s10","s1":"s2","s2":"s10","s3":"s5","s5":"s5","s6":"s1","s7":"s7","s8":"s0","s9":"s3","s10":"s6"}}
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a a a a b a a ? Solution: Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) (s4, 'b', s1) (s1, 'b', s0) (s0, 'b', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'b', s4) (s4, 'a', s5) (s5, 'a', s2) Final state: s2 Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b ?
s6
4
10
2
10_2
aeb1041d-3dd6-433e-bb4a-b45ebe994d5e
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
baab
s6
Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) Final state: s6
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b ?
09e104cf-17c1-4ddd-9404-7dd1d9e8f130
177e1684-e4d5-4afe-b430-471520774e56
{"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s8", "s9", "s10"], "alphabets": "ab", "accepting_states": ["s3", "s1", "s5", "s6", "s8", "s0", "s9", "s10", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s6"]}]}
4
{"a":{"s0":"s2","s1":"s9","s2":"s8","s3":"s5","s5":"s8","s6":"s8","s7":"s7","s8":"s8","s9":"s7","s10":"s10"},"b":{"s0":"s10","s1":"s2","s2":"s10","s3":"s5","s5":"s5","s6":"s1","s7":"s7","s8":"s0","s9":"s3","s10":"s6"}}
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a a a a b a a ? Solution: Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) (s4, 'b', s1) (s1, 'b', s0) (s0, 'b', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'b', s4) (s4, 'a', s5) (s5, 'a', s2) Final state: s2 Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a ?
s8
5
10
2
10_2
aeb1041d-3dd6-433e-bb4a-b45ebe994d5e
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
baaba
s8
Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) Final state: s8
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a ?
de072728-1cf6-404c-aa39-f2b684aee63e
177e1684-e4d5-4afe-b430-471520774e56
{"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s8", "s9", "s10"], "alphabets": "ab", "accepting_states": ["s3", "s1", "s5", "s6", "s8", "s0", "s9", "s10", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s6"]}]}
4
{"a":{"s0":"s2","s1":"s9","s2":"s8","s3":"s5","s5":"s8","s6":"s8","s7":"s7","s8":"s8","s9":"s7","s10":"s10"},"b":{"s0":"s10","s1":"s2","s2":"s10","s3":"s5","s5":"s5","s6":"s1","s7":"s7","s8":"s0","s9":"s3","s10":"s6"}}
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a a a a b a a ? Solution: Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) (s4, 'b', s1) (s1, 'b', s0) (s0, 'b', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'b', s4) (s4, 'a', s5) (s5, 'a', s2) Final state: s2 Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a ?
s8
6
10
2
10_2
aeb1041d-3dd6-433e-bb4a-b45ebe994d5e
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
baabaa
s8
Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) Final state: s8
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a ?
cce8acc7-7df8-475e-8a9f-8d91211b2392
177e1684-e4d5-4afe-b430-471520774e56
{"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s8", "s9", "s10"], "alphabets": "ab", "accepting_states": ["s3", "s1", "s5", "s6", "s8", "s0", "s9", "s10", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s6"]}]}
4
{"a":{"s0":"s2","s1":"s9","s2":"s8","s3":"s5","s5":"s8","s6":"s8","s7":"s7","s8":"s8","s9":"s7","s10":"s10"},"b":{"s0":"s10","s1":"s2","s2":"s10","s3":"s5","s5":"s5","s6":"s1","s7":"s7","s8":"s0","s9":"s3","s10":"s6"}}
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a a a a b a a ? Solution: Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) (s4, 'b', s1) (s1, 'b', s0) (s0, 'b', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'b', s4) (s4, 'a', s5) (s5, 'a', s2) Final state: s2 Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a ?
s8
7
10
2
10_2
aeb1041d-3dd6-433e-bb4a-b45ebe994d5e
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
baabaaa
s8
Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) Final state: s8
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a ?
56fbdb74-41ba-42ef-b405-f23ba855e4f3
177e1684-e4d5-4afe-b430-471520774e56
{"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s8", "s9", "s10"], "alphabets": "ab", "accepting_states": ["s3", "s1", "s5", "s6", "s8", "s0", "s9", "s10", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s6"]}]}
4
{"a":{"s0":"s2","s1":"s9","s2":"s8","s3":"s5","s5":"s8","s6":"s8","s7":"s7","s8":"s8","s9":"s7","s10":"s10"},"b":{"s0":"s10","s1":"s2","s2":"s10","s3":"s5","s5":"s5","s6":"s1","s7":"s7","s8":"s0","s9":"s3","s10":"s6"}}
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a a a a b a a ? Solution: Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) (s4, 'b', s1) (s1, 'b', s0) (s0, 'b', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'b', s4) (s4, 'a', s5) (s5, 'a', s2) Final state: s2 Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b ?
s0
8
10
2
10_2
aeb1041d-3dd6-433e-bb4a-b45ebe994d5e
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
baabaaab
s0
Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) Final state: s0
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b ?
bd2ca244-3408-4734-b6b3-77711b1f68b1
177e1684-e4d5-4afe-b430-471520774e56
{"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s8", "s9", "s10"], "alphabets": "ab", "accepting_states": ["s3", "s1", "s5", "s6", "s8", "s0", "s9", "s10", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s6"]}]}
4
{"a":{"s0":"s2","s1":"s9","s2":"s8","s3":"s5","s5":"s8","s6":"s8","s7":"s7","s8":"s8","s9":"s7","s10":"s10"},"b":{"s0":"s10","s1":"s2","s2":"s10","s3":"s5","s5":"s5","s6":"s1","s7":"s7","s8":"s0","s9":"s3","s10":"s6"}}
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a a a a b a a ? Solution: Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) (s4, 'b', s1) (s1, 'b', s0) (s0, 'b', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'b', s4) (s4, 'a', s5) (s5, 'a', s2) Final state: s2 Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b b ?
s6
10
10
2
10_2
aeb1041d-3dd6-433e-bb4a-b45ebe994d5e
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
baabaaabbb
s6
Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) (s0, 'b', s10) (s10, 'b', s6) Final state: s6
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b b ?
69258082-8178-43fe-b659-63bc40b5193c
177e1684-e4d5-4afe-b430-471520774e56
{"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s8", "s9", "s10"], "alphabets": "ab", "accepting_states": ["s3", "s1", "s5", "s6", "s8", "s0", "s9", "s10", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s6"]}]}
4
{"a":{"s0":"s2","s1":"s9","s2":"s8","s3":"s5","s5":"s8","s6":"s8","s7":"s7","s8":"s8","s9":"s7","s10":"s10"},"b":{"s0":"s10","s1":"s2","s2":"s10","s3":"s5","s5":"s5","s6":"s1","s7":"s7","s8":"s0","s9":"s3","s10":"s6"}}
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a a a a b a a ? Solution: Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) (s4, 'b', s1) (s1, 'b', s0) (s0, 'b', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'b', s4) (s4, 'a', s5) (s5, 'a', s2) Final state: s2 Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a ?
s10
2
10
2
10_2
aeb1041d-3dd6-433e-bb4a-b45ebe994d5e
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
ba
s10
Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) Final state: s10
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a ?
29238ca9-986f-4bed-a6cc-2aee848c2cc4
177e1684-e4d5-4afe-b430-471520774e56
{"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s8", "s9", "s10"], "alphabets": "ab", "accepting_states": ["s3", "s1", "s5", "s6", "s8", "s0", "s9", "s10", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s6"]}]}
4
{"a":{"s0":"s2","s1":"s9","s2":"s8","s3":"s5","s5":"s8","s6":"s8","s7":"s7","s8":"s8","s9":"s7","s10":"s10"},"b":{"s0":"s10","s1":"s2","s2":"s10","s3":"s5","s5":"s5","s6":"s1","s7":"s7","s8":"s0","s9":"s3","s10":"s6"}}
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a a a a b a a ? Solution: Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) (s4, 'b', s1) (s1, 'b', s0) (s0, 'b', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'b', s4) (s4, 'a', s5) (s5, 'a', s2) Final state: s2 Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b b a ?
s8
11
10
2
10_2
aeb1041d-3dd6-433e-bb4a-b45ebe994d5e
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
baabaaabbba
s8
Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) (s0, 'b', s10) (s10, 'b', s6) (s6, 'a', s8) Final state: s8
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b b a ?
59c8f704-a85e-4bae-8d41-5f3316aa2b59
177e1684-e4d5-4afe-b430-471520774e56
{"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s8", "s9", "s10"], "alphabets": "ab", "accepting_states": ["s3", "s1", "s5", "s6", "s8", "s0", "s9", "s10", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s6"]}]}
4
{"a":{"s0":"s2","s1":"s9","s2":"s8","s3":"s5","s5":"s8","s6":"s8","s7":"s7","s8":"s8","s9":"s7","s10":"s10"},"b":{"s0":"s10","s1":"s2","s2":"s10","s3":"s5","s5":"s5","s6":"s1","s7":"s7","s8":"s0","s9":"s3","s10":"s6"}}
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a a a a b a a ? Solution: Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) (s4, 'b', s1) (s1, 'b', s0) (s0, 'b', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'b', s4) (s4, 'a', s5) (s5, 'a', s2) Final state: s2 Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b b a b a ?
s2
13
10
2
10_2
aeb1041d-3dd6-433e-bb4a-b45ebe994d5e
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
baabaaabbbaba
s2
Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) (s0, 'b', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'b', s0) (s0, 'a', s2) Final state: s2
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b b a b a ?
fd442c88-851e-42d2-8363-11c3afa41dab
177e1684-e4d5-4afe-b430-471520774e56
{"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s8", "s9", "s10"], "alphabets": "ab", "accepting_states": ["s3", "s1", "s5", "s6", "s8", "s0", "s9", "s10", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s6"]}]}
4
{"a":{"s0":"s2","s1":"s9","s2":"s8","s3":"s5","s5":"s8","s6":"s8","s7":"s7","s8":"s8","s9":"s7","s10":"s10"},"b":{"s0":"s10","s1":"s2","s2":"s10","s3":"s5","s5":"s5","s6":"s1","s7":"s7","s8":"s0","s9":"s3","s10":"s6"}}
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a a a a b a a ? Solution: Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) (s4, 'b', s1) (s1, 'b', s0) (s0, 'b', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'b', s4) (s4, 'a', s5) (s5, 'a', s2) Final state: s2 Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b b a b a a ?
s8
14
10
2
10_2
aeb1041d-3dd6-433e-bb4a-b45ebe994d5e
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
baabaaabbbabaa
s8
Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) (s0, 'b', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'b', s0) (s0, 'a', s2) (s2, 'a', s8) Final state: s8
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b b a b a a ?
d9fa534f-50a7-466c-8670-255bedfe94b8
177e1684-e4d5-4afe-b430-471520774e56
{"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s8", "s9", "s10"], "alphabets": "ab", "accepting_states": ["s3", "s1", "s5", "s6", "s8", "s0", "s9", "s10", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s6"]}]}
4
{"a":{"s0":"s2","s1":"s9","s2":"s8","s3":"s5","s5":"s8","s6":"s8","s7":"s7","s8":"s8","s9":"s7","s10":"s10"},"b":{"s0":"s10","s1":"s2","s2":"s10","s3":"s5","s5":"s5","s6":"s1","s7":"s7","s8":"s0","s9":"s3","s10":"s6"}}
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a a a a b a a ? Solution: Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) (s4, 'b', s1) (s1, 'b', s0) (s0, 'b', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'b', s4) (s4, 'a', s5) (s5, 'a', s2) Final state: s2 Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b b a b a a b ?
s0
15
10
2
10_2
aeb1041d-3dd6-433e-bb4a-b45ebe994d5e
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
baabaaabbbabaab
s0
Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) (s0, 'b', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'b', s0) (s0, 'a', s2) (s2, 'a', s8) (s8, 'b', s0) Final state: s0
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b b a b a a b ?
895a627c-4fc9-4a2d-914d-abe2ad190c45
177e1684-e4d5-4afe-b430-471520774e56
{"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s8", "s9", "s10"], "alphabets": "ab", "accepting_states": ["s3", "s1", "s5", "s6", "s8", "s0", "s9", "s10", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s6"]}]}
4
{"a":{"s0":"s2","s1":"s9","s2":"s8","s3":"s5","s5":"s8","s6":"s8","s7":"s7","s8":"s8","s9":"s7","s10":"s10"},"b":{"s0":"s10","s1":"s2","s2":"s10","s3":"s5","s5":"s5","s6":"s1","s7":"s7","s8":"s0","s9":"s3","s10":"s6"}}
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a a a a b a a ? Solution: Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) (s4, 'b', s1) (s1, 'b', s0) (s0, 'b', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'b', s4) (s4, 'a', s5) (s5, 'a', s2) Final state: s2 Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b b a b a a b a ?
s2
16
10
2
10_2
aeb1041d-3dd6-433e-bb4a-b45ebe994d5e
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
baabaaabbbabaaba
s2
Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) (s0, 'b', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'b', s0) (s0, 'a', s2) (s2, 'a', s8) (s8, 'b', s0) (s0, 'a', s2) Final state: s2
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b b a b a a b a ?
1e758e33-a5a0-4dd4-a46f-e38b683cc793
177e1684-e4d5-4afe-b430-471520774e56
{"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s8", "s9", "s10"], "alphabets": "ab", "accepting_states": ["s3", "s1", "s5", "s6", "s8", "s0", "s9", "s10", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s6"]}]}
4
{"a":{"s0":"s2","s1":"s9","s2":"s8","s3":"s5","s5":"s8","s6":"s8","s7":"s7","s8":"s8","s9":"s7","s10":"s10"},"b":{"s0":"s10","s1":"s2","s2":"s10","s3":"s5","s5":"s5","s6":"s1","s7":"s7","s8":"s0","s9":"s3","s10":"s6"}}
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a a a a b a a ? Solution: Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) (s4, 'b', s1) (s1, 'b', s0) (s0, 'b', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'b', s4) (s4, 'a', s5) (s5, 'a', s2) Final state: s2 Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b b a b a a b a a ?
s8
17
10
2
10_2
aeb1041d-3dd6-433e-bb4a-b45ebe994d5e
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
baabaaabbbabaabaa
s8
Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) (s0, 'b', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'b', s0) (s0, 'a', s2) (s2, 'a', s8) (s8, 'b', s0) (s0, 'a', s2) (s2, 'a', s8) Final state: s8
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b b a b a a b a a ?
dde26bdf-99fb-4c46-8458-cc9e5d9d184f
177e1684-e4d5-4afe-b430-471520774e56
{"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s8", "s9", "s10"], "alphabets": "ab", "accepting_states": ["s3", "s1", "s5", "s6", "s8", "s0", "s9", "s10", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s6"]}]}
4
{"a":{"s0":"s2","s1":"s9","s2":"s8","s3":"s5","s5":"s8","s6":"s8","s7":"s7","s8":"s8","s9":"s7","s10":"s10"},"b":{"s0":"s10","s1":"s2","s2":"s10","s3":"s5","s5":"s5","s6":"s1","s7":"s7","s8":"s0","s9":"s3","s10":"s6"}}
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a a a a b a a ? Solution: Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) (s4, 'b', s1) (s1, 'b', s0) (s0, 'b', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'b', s4) (s4, 'a', s5) (s5, 'a', s2) Final state: s2 Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b b a b a a b a a a ?
s8
18
10
2
10_2
aeb1041d-3dd6-433e-bb4a-b45ebe994d5e
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
baabaaabbbabaabaaa
s8
Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) (s0, 'b', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'b', s0) (s0, 'a', s2) (s2, 'a', s8) (s8, 'b', s0) (s0, 'a', s2) (s2, 'a', s8) (s8, 'a', s8) Final state: s8
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b b a b a a b a a a ?
e75dd2fd-9ddc-4b24-a5b4-992fa1195101
177e1684-e4d5-4afe-b430-471520774e56
{"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s8", "s9", "s10"], "alphabets": "ab", "accepting_states": ["s3", "s1", "s5", "s6", "s8", "s0", "s9", "s10", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s6"]}]}
4
{"a":{"s0":"s2","s1":"s9","s2":"s8","s3":"s5","s5":"s8","s6":"s8","s7":"s7","s8":"s8","s9":"s7","s10":"s10"},"b":{"s0":"s10","s1":"s2","s2":"s10","s3":"s5","s5":"s5","s6":"s1","s7":"s7","s8":"s0","s9":"s3","s10":"s6"}}
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a a a a b a a ? Solution: Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) (s4, 'b', s1) (s1, 'b', s0) (s0, 'b', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'b', s4) (s4, 'a', s5) (s5, 'a', s2) Final state: s2 Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b b a b a a b a a a b ?
s0
19
10
2
10_2
aeb1041d-3dd6-433e-bb4a-b45ebe994d5e
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
baabaaabbbabaabaaab
s0
Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) (s0, 'b', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'b', s0) (s0, 'a', s2) (s2, 'a', s8) (s8, 'b', s0) (s0, 'a', s2) (s2, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) Final state: s0
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b b a b a a b a a a b ?
1cf0a9db-720b-4a82-9505-8ea0256d2414
177e1684-e4d5-4afe-b430-471520774e56
{"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s8", "s9", "s10"], "alphabets": "ab", "accepting_states": ["s3", "s1", "s5", "s6", "s8", "s0", "s9", "s10", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s6"]}]}
4
{"a":{"s0":"s2","s1":"s9","s2":"s8","s3":"s5","s5":"s8","s6":"s8","s7":"s7","s8":"s8","s9":"s7","s10":"s10"},"b":{"s0":"s10","s1":"s2","s2":"s10","s3":"s5","s5":"s5","s6":"s1","s7":"s7","s8":"s0","s9":"s3","s10":"s6"}}
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a a a a b a a ? Solution: Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) (s4, 'b', s1) (s1, 'b', s0) (s0, 'b', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'b', s4) (s4, 'a', s5) (s5, 'a', s2) Final state: s2 Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b b a b ?
s0
12
10
2
10_2
aeb1041d-3dd6-433e-bb4a-b45ebe994d5e
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
baabaaabbbab
s0
Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) (s0, 'b', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'b', s0) Final state: s0
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b b a b ?
4b5f1aba-132d-4203-95cd-b1e536fe5020
177e1684-e4d5-4afe-b430-471520774e56
{"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s8", "s9", "s10"], "alphabets": "ab", "accepting_states": ["s3", "s1", "s5", "s6", "s8", "s0", "s9", "s10", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s6"]}]}
4
{"a":{"s0":"s2","s1":"s9","s2":"s8","s3":"s5","s5":"s8","s6":"s8","s7":"s7","s8":"s8","s9":"s7","s10":"s10"},"b":{"s0":"s10","s1":"s2","s2":"s10","s3":"s5","s5":"s5","s6":"s1","s7":"s7","s8":"s0","s9":"s3","s10":"s6"}}
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a a a a b a a ? Solution: Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) (s4, 'b', s1) (s1, 'b', s0) (s0, 'b', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'b', s4) (s4, 'a', s5) (s5, 'a', s2) Final state: s2 Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b ?
s10
1
10
2
10_2
aeb1041d-3dd6-433e-bb4a-b45ebe994d5e
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
b
s10
Transitions (current_state, input, next_state): (s0, 'b', s10) Final state: s10
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b ?
8b002863-c8e0-4779-991f-4970c3e539b3
177e1684-e4d5-4afe-b430-471520774e56
{"states": ["s0", "s1", "s2", "s3", "s5", "s6", "s7", "s8", "s9", "s10"], "alphabets": "ab", "accepting_states": ["s3", "s1", "s5", "s6", "s8", "s0", "s9", "s10", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s10"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s5"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s7"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s8"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s10", "symbol": "a", "toStates": ["s10"]}, {"fromState": "s10", "symbol": "b", "toStates": ["s6"]}]}
4
{"a":{"s0":"s2","s1":"s9","s2":"s8","s3":"s5","s5":"s8","s6":"s8","s7":"s7","s8":"s8","s9":"s7","s10":"s10"},"b":{"s0":"s10","s1":"s2","s2":"s10","s3":"s5","s5":"s5","s6":"s1","s7":"s7","s8":"s0","s9":"s3","s10":"s6"}}
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a a a a b a a ? Solution: Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) (s4, 'b', s1) (s1, 'b', s0) (s0, 'b', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'b', s4) (s4, 'a', s5) (s5, 'a', s2) Final state: s2 Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b b a b a a b a a a b a ?
s2
20
10
2
10_2
aeb1041d-3dd6-433e-bb4a-b45ebe994d5e
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
baabaaabbbabaabaaaba
s2
Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) (s0, 'b', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'b', s0) (s0, 'a', s2) (s2, 'a', s8) (s8, 'b', s0) (s0, 'a', s2) (s2, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) (s0, 'a', s2) Final state: s2
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b b a b a a b a a a b a ?
aeb1041d-3dd6-433e-bb4a-b45ebe994d5e
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9"], "alphabets": "ab", "accepting_states": ["s3", "s0", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s4"]}]}
3
{"a":{"s0":"s7","s1":"s6","s2":"s6","s3":"s0","s4":"s5","s5":"s2","s6":"s9","s7":"s5","s8":"s5","s9":"s6"},"b":{"s0":"s6","s1":"s0","s2":"s6","s3":"s9","s4":"s1","s5":"s2","s6":"s8","s7":"s1","s8":"s3","s9":"s4"}}
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b ? Solution: Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) (s0, 'b', s10) Final state: s10 Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a a a a b a a ?
s2
20
10
2
10_2
af5740ea-75b8-43a5-b740-77a295c86f9b
177e1684-e4d5-4afe-b430-471520774e56
ababbbbbbbaaaaaaabaa
s2
Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) (s4, 'b', s1) (s1, 'b', s0) (s0, 'b', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'b', s4) (s4, 'a', s5) (s5, 'a', s2) Final state: s2
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a a a a b a a ?
67953047-d4dc-473c-b775-862530d0a8f7
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9"], "alphabets": "ab", "accepting_states": ["s3", "s0", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s4"]}]}
3
{"a":{"s0":"s7","s1":"s6","s2":"s6","s3":"s0","s4":"s5","s5":"s2","s6":"s9","s7":"s5","s8":"s5","s9":"s6"},"b":{"s0":"s6","s1":"s0","s2":"s6","s3":"s9","s4":"s1","s5":"s2","s6":"s8","s7":"s1","s8":"s3","s9":"s4"}}
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b ? Solution: Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) (s0, 'b', s10) Final state: s10 Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a ?
s6
3
10
2
10_2
af5740ea-75b8-43a5-b740-77a295c86f9b
177e1684-e4d5-4afe-b430-471520774e56
aba
s6
Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) Final state: s6
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a ?
cf1a961c-b1c2-45f0-82f1-3e19cec444ec
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9"], "alphabets": "ab", "accepting_states": ["s3", "s0", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s4"]}]}
3
{"a":{"s0":"s7","s1":"s6","s2":"s6","s3":"s0","s4":"s5","s5":"s2","s6":"s9","s7":"s5","s8":"s5","s9":"s6"},"b":{"s0":"s6","s1":"s0","s2":"s6","s3":"s9","s4":"s1","s5":"s2","s6":"s8","s7":"s1","s8":"s3","s9":"s4"}}
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b ? Solution: Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) (s0, 'b', s10) Final state: s10 Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b ?
s8
4
10
2
10_2
af5740ea-75b8-43a5-b740-77a295c86f9b
177e1684-e4d5-4afe-b430-471520774e56
abab
s8
Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) Final state: s8
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b ?
c1ee2d14-b4eb-48cb-b9f1-145465815492
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9"], "alphabets": "ab", "accepting_states": ["s3", "s0", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s4"]}]}
3
{"a":{"s0":"s7","s1":"s6","s2":"s6","s3":"s0","s4":"s5","s5":"s2","s6":"s9","s7":"s5","s8":"s5","s9":"s6"},"b":{"s0":"s6","s1":"s0","s2":"s6","s3":"s9","s4":"s1","s5":"s2","s6":"s8","s7":"s1","s8":"s3","s9":"s4"}}
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b ? Solution: Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) (s0, 'b', s10) Final state: s10 Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b ?
s3
5
10
2
10_2
af5740ea-75b8-43a5-b740-77a295c86f9b
177e1684-e4d5-4afe-b430-471520774e56
ababb
s3
Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) Final state: s3
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b ?
074e6a5a-a64b-40b4-8020-9ae1b159833a
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9"], "alphabets": "ab", "accepting_states": ["s3", "s0", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s4"]}]}
3
{"a":{"s0":"s7","s1":"s6","s2":"s6","s3":"s0","s4":"s5","s5":"s2","s6":"s9","s7":"s5","s8":"s5","s9":"s6"},"b":{"s0":"s6","s1":"s0","s2":"s6","s3":"s9","s4":"s1","s5":"s2","s6":"s8","s7":"s1","s8":"s3","s9":"s4"}}
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b ? Solution: Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) (s0, 'b', s10) Final state: s10 Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b ?
s9
6
10
2
10_2
af5740ea-75b8-43a5-b740-77a295c86f9b
177e1684-e4d5-4afe-b430-471520774e56
ababbb
s9
Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) Final state: s9
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b ?
e0b96399-c5f7-447d-a87f-4d30b03bf2e1
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9"], "alphabets": "ab", "accepting_states": ["s3", "s0", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s4"]}]}
3
{"a":{"s0":"s7","s1":"s6","s2":"s6","s3":"s0","s4":"s5","s5":"s2","s6":"s9","s7":"s5","s8":"s5","s9":"s6"},"b":{"s0":"s6","s1":"s0","s2":"s6","s3":"s9","s4":"s1","s5":"s2","s6":"s8","s7":"s1","s8":"s3","s9":"s4"}}
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b ? Solution: Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) (s0, 'b', s10) Final state: s10 Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b ?
s4
7
10
2
10_2
af5740ea-75b8-43a5-b740-77a295c86f9b
177e1684-e4d5-4afe-b430-471520774e56
ababbbb
s4
Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) Final state: s4
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b ?
4d8ec906-da5e-4d76-9277-687b0297413c
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9"], "alphabets": "ab", "accepting_states": ["s3", "s0", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s4"]}]}
3
{"a":{"s0":"s7","s1":"s6","s2":"s6","s3":"s0","s4":"s5","s5":"s2","s6":"s9","s7":"s5","s8":"s5","s9":"s6"},"b":{"s0":"s6","s1":"s0","s2":"s6","s3":"s9","s4":"s1","s5":"s2","s6":"s8","s7":"s1","s8":"s3","s9":"s4"}}
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b ? Solution: Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) (s0, 'b', s10) Final state: s10 Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b ?
s1
8
10
2
10_2
af5740ea-75b8-43a5-b740-77a295c86f9b
177e1684-e4d5-4afe-b430-471520774e56
ababbbbb
s1
Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) (s4, 'b', s1) Final state: s1
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b ?
206feb64-deb2-4b05-81b8-27ede5e8071e
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9"], "alphabets": "ab", "accepting_states": ["s3", "s0", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s4"]}]}
3
{"a":{"s0":"s7","s1":"s6","s2":"s6","s3":"s0","s4":"s5","s5":"s2","s6":"s9","s7":"s5","s8":"s5","s9":"s6"},"b":{"s0":"s6","s1":"s0","s2":"s6","s3":"s9","s4":"s1","s5":"s2","s6":"s8","s7":"s1","s8":"s3","s9":"s4"}}
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b ? Solution: Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) (s0, 'b', s10) Final state: s10 Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b ?
s0
9
10
2
10_2
af5740ea-75b8-43a5-b740-77a295c86f9b
177e1684-e4d5-4afe-b430-471520774e56
ababbbbbb
s0
Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) (s4, 'b', s1) (s1, 'b', s0) Final state: s0
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b ?
23729602-8764-41e8-b50a-799cd7f199ea
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9"], "alphabets": "ab", "accepting_states": ["s3", "s0", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s4"]}]}
3
{"a":{"s0":"s7","s1":"s6","s2":"s6","s3":"s0","s4":"s5","s5":"s2","s6":"s9","s7":"s5","s8":"s5","s9":"s6"},"b":{"s0":"s6","s1":"s0","s2":"s6","s3":"s9","s4":"s1","s5":"s2","s6":"s8","s7":"s1","s8":"s3","s9":"s4"}}
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b ? Solution: Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) (s0, 'b', s10) Final state: s10 Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b ?
s6
10
10
2
10_2
af5740ea-75b8-43a5-b740-77a295c86f9b
177e1684-e4d5-4afe-b430-471520774e56
ababbbbbbb
s6
Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) (s4, 'b', s1) (s1, 'b', s0) (s0, 'b', s6) Final state: s6
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b ?
c6b863a9-18f2-43f4-8a79-170ef2f859fd
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9"], "alphabets": "ab", "accepting_states": ["s3", "s0", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s4"]}]}
3
{"a":{"s0":"s7","s1":"s6","s2":"s6","s3":"s0","s4":"s5","s5":"s2","s6":"s9","s7":"s5","s8":"s5","s9":"s6"},"b":{"s0":"s6","s1":"s0","s2":"s6","s3":"s9","s4":"s1","s5":"s2","s6":"s8","s7":"s1","s8":"s3","s9":"s4"}}
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b ? Solution: Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) (s0, 'b', s10) Final state: s10 Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a a a a b a ?
s5
19
10
2
10_2
af5740ea-75b8-43a5-b740-77a295c86f9b
177e1684-e4d5-4afe-b430-471520774e56
ababbbbbbbaaaaaaaba
s5
Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) (s4, 'b', s1) (s1, 'b', s0) (s0, 'b', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'b', s4) (s4, 'a', s5) Final state: s5
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a a a a b a ?
cb10bfe7-23c8-450d-8a83-88d0b1618ff3
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9"], "alphabets": "ab", "accepting_states": ["s3", "s0", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s4"]}]}
3
{"a":{"s0":"s7","s1":"s6","s2":"s6","s3":"s0","s4":"s5","s5":"s2","s6":"s9","s7":"s5","s8":"s5","s9":"s6"},"b":{"s0":"s6","s1":"s0","s2":"s6","s3":"s9","s4":"s1","s5":"s2","s6":"s8","s7":"s1","s8":"s3","s9":"s4"}}
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b ? Solution: Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) (s0, 'b', s10) Final state: s10 Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a ?
s9
11
10
2
10_2
af5740ea-75b8-43a5-b740-77a295c86f9b
177e1684-e4d5-4afe-b430-471520774e56
ababbbbbbba
s9
Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) (s4, 'b', s1) (s1, 'b', s0) (s0, 'b', s6) (s6, 'a', s9) Final state: s9
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a ?
980926e5-28c9-46dc-bef7-0ba575e017a7
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9"], "alphabets": "ab", "accepting_states": ["s3", "s0", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s4"]}]}
3
{"a":{"s0":"s7","s1":"s6","s2":"s6","s3":"s0","s4":"s5","s5":"s2","s6":"s9","s7":"s5","s8":"s5","s9":"s6"},"b":{"s0":"s6","s1":"s0","s2":"s6","s3":"s9","s4":"s1","s5":"s2","s6":"s8","s7":"s1","s8":"s3","s9":"s4"}}
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b ? Solution: Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) (s0, 'b', s10) Final state: s10 Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a ?
s6
12
10
2
10_2
af5740ea-75b8-43a5-b740-77a295c86f9b
177e1684-e4d5-4afe-b430-471520774e56
ababbbbbbbaa
s6
Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) (s4, 'b', s1) (s1, 'b', s0) (s0, 'b', s6) (s6, 'a', s9) (s9, 'a', s6) Final state: s6
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a ?
6c84cdde-23ad-449c-a0c1-1343ccc66a61
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9"], "alphabets": "ab", "accepting_states": ["s3", "s0", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s4"]}]}
3
{"a":{"s0":"s7","s1":"s6","s2":"s6","s3":"s0","s4":"s5","s5":"s2","s6":"s9","s7":"s5","s8":"s5","s9":"s6"},"b":{"s0":"s6","s1":"s0","s2":"s6","s3":"s9","s4":"s1","s5":"s2","s6":"s8","s7":"s1","s8":"s3","s9":"s4"}}
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b ? Solution: Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) (s0, 'b', s10) Final state: s10 Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a ?
s9
13
10
2
10_2
af5740ea-75b8-43a5-b740-77a295c86f9b
177e1684-e4d5-4afe-b430-471520774e56
ababbbbbbbaaa
s9
Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) (s4, 'b', s1) (s1, 'b', s0) (s0, 'b', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) Final state: s9
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a ?
1b44746b-1df8-4bcb-b2fb-5704301d110e
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9"], "alphabets": "ab", "accepting_states": ["s3", "s0", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s4"]}]}
3
{"a":{"s0":"s7","s1":"s6","s2":"s6","s3":"s0","s4":"s5","s5":"s2","s6":"s9","s7":"s5","s8":"s5","s9":"s6"},"b":{"s0":"s6","s1":"s0","s2":"s6","s3":"s9","s4":"s1","s5":"s2","s6":"s8","s7":"s1","s8":"s3","s9":"s4"}}
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b ? Solution: Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) (s0, 'b', s10) Final state: s10 Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a ?
s6
14
10
2
10_2
af5740ea-75b8-43a5-b740-77a295c86f9b
177e1684-e4d5-4afe-b430-471520774e56
ababbbbbbbaaaa
s6
Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) (s4, 'b', s1) (s1, 'b', s0) (s0, 'b', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) Final state: s6
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a ?
9af2a14d-b85b-4875-a714-3fe0d46f3a3d
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9"], "alphabets": "ab", "accepting_states": ["s3", "s0", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s4"]}]}
3
{"a":{"s0":"s7","s1":"s6","s2":"s6","s3":"s0","s4":"s5","s5":"s2","s6":"s9","s7":"s5","s8":"s5","s9":"s6"},"b":{"s0":"s6","s1":"s0","s2":"s6","s3":"s9","s4":"s1","s5":"s2","s6":"s8","s7":"s1","s8":"s3","s9":"s4"}}
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b ? Solution: Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) (s0, 'b', s10) Final state: s10 Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a a ?
s9
15
10
2
10_2
af5740ea-75b8-43a5-b740-77a295c86f9b
177e1684-e4d5-4afe-b430-471520774e56
ababbbbbbbaaaaa
s9
Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) (s4, 'b', s1) (s1, 'b', s0) (s0, 'b', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) Final state: s9
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a a ?
bd282ab5-ab5c-4afc-a3f0-8f6aaf32aa8e
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9"], "alphabets": "ab", "accepting_states": ["s3", "s0", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s4"]}]}
3
{"a":{"s0":"s7","s1":"s6","s2":"s6","s3":"s0","s4":"s5","s5":"s2","s6":"s9","s7":"s5","s8":"s5","s9":"s6"},"b":{"s0":"s6","s1":"s0","s2":"s6","s3":"s9","s4":"s1","s5":"s2","s6":"s8","s7":"s1","s8":"s3","s9":"s4"}}
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b ? Solution: Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) (s0, 'b', s10) Final state: s10 Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a a a ?
s6
16
10
2
10_2
af5740ea-75b8-43a5-b740-77a295c86f9b
177e1684-e4d5-4afe-b430-471520774e56
ababbbbbbbaaaaaa
s6
Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) (s4, 'b', s1) (s1, 'b', s0) (s0, 'b', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) Final state: s6
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a a a ?
48b69839-0742-4b77-afdc-ed8d9910c2ea
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9"], "alphabets": "ab", "accepting_states": ["s3", "s0", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s4"]}]}
3
{"a":{"s0":"s7","s1":"s6","s2":"s6","s3":"s0","s4":"s5","s5":"s2","s6":"s9","s7":"s5","s8":"s5","s9":"s6"},"b":{"s0":"s6","s1":"s0","s2":"s6","s3":"s9","s4":"s1","s5":"s2","s6":"s8","s7":"s1","s8":"s3","s9":"s4"}}
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b ? Solution: Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) (s0, 'b', s10) Final state: s10 Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a a a a ?
s9
17
10
2
10_2
af5740ea-75b8-43a5-b740-77a295c86f9b
177e1684-e4d5-4afe-b430-471520774e56
ababbbbbbbaaaaaaa
s9
Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) (s4, 'b', s1) (s1, 'b', s0) (s0, 'b', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) Final state: s9
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a a a a ?
85e105f0-9f6a-4bc6-81d0-6753c11c14e4
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9"], "alphabets": "ab", "accepting_states": ["s3", "s0", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s4"]}]}
3
{"a":{"s0":"s7","s1":"s6","s2":"s6","s3":"s0","s4":"s5","s5":"s2","s6":"s9","s7":"s5","s8":"s5","s9":"s6"},"b":{"s0":"s6","s1":"s0","s2":"s6","s3":"s9","s4":"s1","s5":"s2","s6":"s8","s7":"s1","s8":"s3","s9":"s4"}}
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b ? Solution: Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) (s0, 'b', s10) Final state: s10 Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a a a a b ?
s4
18
10
2
10_2
af5740ea-75b8-43a5-b740-77a295c86f9b
177e1684-e4d5-4afe-b430-471520774e56
ababbbbbbbaaaaaaab
s4
Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) (s1, 'a', s6) (s6, 'b', s8) (s8, 'b', s3) (s3, 'b', s9) (s9, 'b', s4) (s4, 'b', s1) (s1, 'b', s0) (s0, 'b', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'a', s6) (s6, 'a', s9) (s9, 'b', s4) Final state: s4
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b a b b b b b b b a a a a a a a b ?
395f0a98-2641-44ab-bf4c-acf210936a52
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9"], "alphabets": "ab", "accepting_states": ["s3", "s0", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s4"]}]}
3
{"a":{"s0":"s7","s1":"s6","s2":"s6","s3":"s0","s4":"s5","s5":"s2","s6":"s9","s7":"s5","s8":"s5","s9":"s6"},"b":{"s0":"s6","s1":"s0","s2":"s6","s3":"s9","s4":"s1","s5":"s2","s6":"s8","s7":"s1","s8":"s3","s9":"s4"}}
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b ? Solution: Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) (s0, 'b', s10) Final state: s10 Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b ?
s1
2
10
2
10_2
af5740ea-75b8-43a5-b740-77a295c86f9b
177e1684-e4d5-4afe-b430-471520774e56
ab
s1
Transitions (current_state, input, next_state): (s0, 'a', s7) (s7, 'b', s1) Final state: s1
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a b ?
e99d03ee-5132-465b-b4a1-5aa1d1af3022
43fb6fa8-0fab-48d0-92fb-cf3a4a7068b5
{"states": ["s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9"], "alphabets": "ab", "accepting_states": ["s3", "s0", "s7"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s7"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s6"]}, {"fromState": "s3", "symbol": "a", "toStates": ["s0"]}, {"fromState": "s3", "symbol": "b", "toStates": ["s9"]}, {"fromState": "s4", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s4", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s5", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s5", "symbol": "b", "toStates": ["s2"]}, {"fromState": "s6", "symbol": "a", "toStates": ["s9"]}, {"fromState": "s6", "symbol": "b", "toStates": ["s8"]}, {"fromState": "s7", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s7", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s8", "symbol": "a", "toStates": ["s5"]}, {"fromState": "s8", "symbol": "b", "toStates": ["s3"]}, {"fromState": "s9", "symbol": "a", "toStates": ["s6"]}, {"fromState": "s9", "symbol": "b", "toStates": ["s4"]}]}
3
{"a":{"s0":"s7","s1":"s6","s2":"s6","s3":"s0","s4":"s5","s5":"s2","s6":"s9","s7":"s5","s8":"s5","s9":"s6"},"b":{"s0":"s6","s1":"s0","s2":"s6","s3":"s9","s4":"s1","s5":"s2","s6":"s8","s7":"s1","s8":"s3","s9":"s4"}}
Given the following FSM: a b s0 s2 s10 s1 s9 s2 s2 s8 s10 s3 s5 s5 s5 s8 s5 s6 s8 s1 s7 s7 s7 s8 s8 s0 s9 s7 s3 s10 s10 s6 With the initial state: s0, and accepting states: ['s3', 's1', 's5', 's6', 's8', 's0', 's9', 's10', 's7'], What will be the state after reading the following input: b a a b a a a b b ? Solution: Transitions (current_state, input, next_state): (s0, 'b', s10) (s10, 'a', s10) (s10, 'a', s10) (s10, 'b', s6) (s6, 'a', s8) (s8, 'a', s8) (s8, 'a', s8) (s8, 'b', s0) (s0, 'b', s10) Final state: s10 Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a ?
s7
1
10
2
10_2
af5740ea-75b8-43a5-b740-77a295c86f9b
177e1684-e4d5-4afe-b430-471520774e56
a
s7
Transitions (current_state, input, next_state): (s0, 'a', s7) Final state: s7
Given the following FSM: a b s0 s7 s6 s1 s6 s0 s2 s6 s6 s3 s0 s9 s4 s5 s1 s5 s2 s2 s6 s9 s8 s7 s5 s1 s8 s5 s3 s9 s6 s4 With the initial state: s0, and accepting states: ['s3', 's0', 's7'], What will be the state after reading the following input: a ?