Unit-1_TOC
Unit-1_TOC
Basically, there are 3 types of mathematical models covered in Theory of Computation as shown in diagram.
1. Finite Automata
2. Push Down Automata
3. Turing Machine
Finite Automata:
It is the simplest mathematical model and is the basic building block of machine.
It performs the low memory operations. e.g. pattern matching in Compiler Design
It accepts Regular language that uses Regular Grammar
Turing Machine:
It is the most powerful mathematical model to design any machine.
It is considered to be the abstract model of a computer.
It was invented by mathematician Allen Turing in 1936.
It uses unrestricted language also known as recursively enumerable language.
It performs the operations such as halting problems in Compiler designing.
Symbol:
A symbol (often also called a character) is the smallest building block, which can be any alphabet,
letter, or picture.
Alphabets (Σ):
Alphabets are a set of symbols, which are always finite.
String: (w)
A string is a finite sequence of symbols from some alphabet. A string is generally denoted as w and
the length of a string is denoted as |w|.
Empty string is the string zero occurrence of symbols, represented as ε.
Number of Strings (of length 2) that can be generated over the alphabet {a, b}:
a a
a b
b a
b b
For alphabet {a, b} with length n, number of strings can be generated = 2n.
Language: (L)
A language is a set of strings, chosen from some Σ . A language that can be formed over ‘Σ ‘can
be finite or infinite.