Chapter 2 - Formal Languages Flashcards

1
Q

What does epsilon signify in LAC?

A

Epsilon = the empty word i.e. a sequence of length 0

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

What does sigma mean in LAC?

A

Sigma = a finite set of symbols

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

What does sigma star represent in LAC?

A

Sigma star = set of words over sigma, including the empty word

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

For any nonempty alphabet (sigma), what is the length of sigma star?

A

Sigma star is an infinite set

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

What is a language in LAC?

A

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})

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

What is the difference between epsilon, theta and {epsilon}?

A

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

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