Regular Language Flashcards

(10 cards)

1
Q

what does this mean *

A

0 or more repetition

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

what does this mean +

A

1 or more repition

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

what does this mean ?

A

Previous character is optional

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

what does this mean |

A

alternative or or

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

what does this mean ()

A

grouping regular experession together

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

What is a set

A

unordered unique values

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

0^n 1^n | n> 1

A

01 , 0011, 000111

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

All regular languages can be represented using a finite state
machine without outputs true or false

A

True

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

The set of strings defined by a regular language is always
finite in size.

A

False

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

There are some languages which can be represented in
Backus-Naur Form (BNF) that are not regular languages

A

True

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