Lecture 4 - Strings Flashcards
1
Q
What is the symbol for a finite set of alphabet?
A
Sigma
2
Q
What is the set of all strings over Sigma?
A
Sigma Asterisk (Kleene Star)
3
Q
What is a language (denoted by L) in terms of Sigma?
A
A subset of Sigma Asterisk (Kleene Star)
4
Q
What is a string in C++?
A
An array of characters ending with the special character ‘\0’