Lecture 4 - Strings Flashcards

1
Q

What is the symbol for a finite set of alphabet?

A

Sigma

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

What is the set of all strings over Sigma?

A

Sigma Asterisk (Kleene Star)

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

What is a language (denoted by L) in terms of Sigma?

A

A subset of Sigma Asterisk (Kleene Star)

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

What is a string in C++?

A

An array of characters ending with the special character ‘\0’

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