Basic Terminology
Alphabet - a finite set (of symbols/letters). Examples include:
We denote an alphabet by
In this module, alphabets are finite
String (word) - a finite sequence of symbols. Examples include:
- for
means “all strings”.
means “empty string”.
means “all non-empty strings” i.e.
Kleene Star
The asterisk in is called the “Kleene Star”.
It is defined by
Example 1:
Example 2:
Language - a subset of all strings.