Week 1 - Finite Automata Flashcards

1
Q

What is a computational model?

A

An “idealised” computer that is used to set up a managable mathematical theory of computation.

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

Give an example of a computational model.

A

The finite state machine (finite automaton).

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

What is finite automata?

A

Models of computers with extremely limited memory.

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

Define the components of a finite automaton in computational terms.

A

A finite automaton is a 5-tuple (Q, Σ, δ, q0, F), where
Q is a finite set of states.
Σ is a finite set called alphabet.
δ is a function (QxΣ -> Q), the transition function.
q0∈Q is the initial state of the machine.
F⊆Q is the set of final states of the machine.

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

What is δ (transition function) in the finite automaton?

A

The function that decides what state the machine should go to next (Depending on the current state and the symbol it reads next).

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

TRUE OR FALSE: There can only be one final state for the finite automaton.

A

FALSE, there can be any number of final states, even no final states.

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

TRUE OR FALSE: There can only be one initial state for the finite automaton.

A

TRUE, there is only ever one initial starting state for the machine.

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

TRUE OR FALSE: The initial state can be a final state.

A

TRUE.

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

Describe the finite automaton in less computation mathematics terms.

A

It is a machine that starts in one state, and reads a certain input string. It reads the symbols one at a time, and with each symbol the machine may change state depending on the transition function. It ends once it has read the whole string.

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

What is the purpose of a finite automaton?

A

It processes a given string and accepts or rejects it depending on whether or not the machine ended the process in a state that part of the set of final states.

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

What is the F (Final states) for a finite automaton?

A

The set of states in the machine that if the process ended when in this state the machine could accept the input.
It is the set of final states.

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

Define the language of a finite automaton machine.

A

The set of strings that that machine accepts.

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

Why might a language be called regular?

A

A language is called regular if some finite automaton recognizes/accepts it.

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

How do you define/write that a language is accept be a given machine?
Machine is M
Language is L

A

L = ℒ(M).

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