Chapter 2 - Formal Languages Flashcards
What does epsilon signify in LAC?
Epsilon = the empty word i.e. a sequence of length 0
What does sigma mean in LAC?
Sigma = a finite set of symbols
What does sigma star represent in LAC?
Sigma star = set of words over sigma, including the empty word
For any nonempty alphabet (sigma), what is the length of sigma star?
Sigma star is an infinite set
What is a language in LAC?
A condition which words must satisfy to be included within the language stated, such as the set of words that contain the same number of 0s and 1s is a language over (sigma = {0,1})
What is the difference between epsilon, theta and {epsilon}?
Epsilon denotes the empty word
Theta denotes the empty set i.e. a set with no elements
{epsilon} is a set with exactly one element - the empty word