What is a mealy machine?
A mealy machine is a FSM which has an output determined by its current state and current input.
What is a state transition table?
A state transition table may be used to define a Mealy machine or a Turing machine. It shows all the states and possible inputs and the outputs for each combination of state and input.
What is a set?
A set is a well-defined collection of objects.
- Objects in the set are members or elements,
- A set is unordered,
- Each member in a set can only occur once,
- A set is usually denoted by a capital letter,
- A member is usually denoted by a lower case letter.
- A set can be defined by listing every member,
- A set can be defined by stating the properties held by the members, but not by the non-members,
- The members are enclosed by { } and separated by a comma.
What are the common sets?
These set names may be shown as bold letters or in a special font
What are the set membership expressions?
What is the notation for set comprehension?
What are set operations?
How might the empty set be represented?
{} or ø
What are the rules for subsets?
What is the cartesian product of two sets?
The Cartesian product of two sets A and B is the set of all ordered pairs (a, b), such that a ∈ A and b ∈ B
Cartesian product notation: A x B, read as “A cross B”
What is a finite set?
A finite set contains an exact number of distinct members where number ∈ N.
What is the cardinality of a set?
The cardinality of a finite set is the number of members in the set.
What is an infinite set?
An infinite set contains an infinite number of distinct members.
What is a regular expressions?
Regular expressions are patterns used to specify a set of strings.
- A simple way of describing a set,
- A way of describing some types of languages using a shorthand notation.
What is a countably infinite set?
A countably infinite set is one whose members can be counted using the infinite set N.
What are the notation rules for regular expressions?
What is a regular language?
A language is regular if it can be represented by a regular expression or finite state machine (FSM).
What is a Turing machine?
A Turing machine is a theoretical machine, rather than a physical object, thought up by Turing in 1936 which can simulate ANY computer algorithm, no matter how complex.
A Turing Machine consists of two parts: the tape that the machine can read and write, and the controller (the program) determines what happens at each cell.
- It has a read-write head that can read symbols from the tape,
- The tape is infinitely long, with marked-off squares,
- The machine must have at least one state, the halting state, that causes it to halt for some inputs.
What is a controller?
The “controller” is a finite state machine which tells a Turing machine what to do next.
What is a transition function?
A transition function is a way to represent the transition arc between two states on a state transition diagram.
- The symbol δ is the lower case Greek letter delta: it means a small change
- Each transition arc on a state transition diagram can be represented by the δ function using a pattern:
δ (Current state, Input symbol) = (Next state, Output symbol, Head move)
Why is the Turing Machine important?
What is a Universal Turing Machine?
A Universal Turing Machine simulates the behaviour of any Turing machine by reading the definition of a Turing machine and the input data.
This led to the idea of the stored program computer and specifically Von Neumann architecture.
Why is the Universal Turing Machine important?
What are the four characteristics of a Turing machine?