Finite Control Flashcards

1
Q

What is Finite Control?

A

Problem that can be solved using a machine with a finite number of states

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

What is finite control redux?

A

The simplest case, finite control with no states

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

What is a state machine?

A

A state machine maps inputs to outputs

The mapping is determined by the state of the machine

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

What is the abstraction of a black box system?

A

Inputs
Outputs
State

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

What is the state of a machine?

A

What the machine will do with the next input

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

What is a finite state machine?

A

A machine, typically black box, that we know has a finite number of states. It maps a sequence of inputs to a sequence of outputs.

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

What are the three ways you can describe a FSM?

A

Graphically
Transition Tables
Mathematically

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

What is a formal system?

A

Mathematical description that defines a machine and how it works, no human intervention is needed after the definition

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

Benefits of the graphic representation of FSM

A

Intuitive
For people
Easily understood
Suggestive

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

Benefits of transition table representation of FSM

A

Complete
Simple
For computers

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

Drawbacks of transition table representation of FSM

A

Boring

Tricky when large

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

Drawbacks of graphic representation of FSM

A

Hard to translate into computers

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

Benefits of mathematical representation of FSM

A

Illuminate some things clearly

Capture everything

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

What are the six things needed to fully describe a FSM?

A
S - states
o - initial/starting state
I - input alphabet
O - output alphabet
f - next state function
g - output function
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is orthogonality

A

The process of making sure there is no duplication, everything we need is specified once

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

What is a finite state automata?

A

A type of FSM that recognises and accepts/rejects input strings rather than generating output

17
Q

What is the difference in the description of a FSA to a FSM?

A

A instead of O and g

accepting states

18
Q

What is non determinism?

A

The process of allowing multiple transitions per letter

19
Q

Describe nFSAs

A

Type of FSA that accepts string if there is any path through it it that would have accepted the string
Always a plain FSA alternative

20
Q

What is an epsilon move?

A

A silent move that transitions without input

21
Q

What are some combinators that are used to combine FSAs together?

A

Alternative
Repetition
Sequence