finite state machines Flashcards

1
Q

what does finite mean?

A

countable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does a finite state machine need to function?

A

Memory to store the current state and some kind of logic device to determine the next state

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the definition of a finite state machine?

A

A machine with a fixed set of possible states, a set of allowable inputs which change the state and a set of possible outputs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What do the outputs of a finite state machine depend on?

A

The current state (which is determined by the sequence of past inputs)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Are general purpose computers FSMs?

A

yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is clock rate?

A

The rate at which general purpose computers advance

faster clock rate = faster problem solving

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a state transition diagram?

A

A way of describing a finite state machine graphically

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

In a state transition diagram what is a state?

A

A circle

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

In a state transition diagram what is a transition?

A

An arrow from state to state

labelled with the input which causes it (and any outputs caused in the form input/.output)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Why are finite state machines useful?

A

They are good for recognising sequences

for example, legal and valid inputs for a programming language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the name for a finite state machine with no outputs?

A

FSA

finite state automaton

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How is an initial state represented in a state transition diagram?

A

A circle with an arrow (can be labelled start) pointing into it

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How is the accepting/goal state represented in a state transition diagram?

A

A circle with a circle around it

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is a FSM with outputs at the transitions called?

A

A mealy machine

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What do finite state automatons have?

A

An initial state and one or more accepting states

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What do mealy machines have?

A

An initial state

Usually no accepting state

17
Q

What can state transition tables include?

A

input, current state, output, next state

18
Q

What do state transition tables do?

A

Show the effect on the current state of an FSM for particular inputs as well as any corresponding output

19
Q

What is a decision table?

A

A table which shows the outcome for any given logical condition
e.g. x>6 y<7