Regular And Context Free Languages Flashcards

(17 cards)

1
Q

What is a FSM

A

A machine that has a fixed number of states and a set of possible inputs. These change the state.

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

Why are FSM always deterministic

A

There is definitely path for 1 input

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

What is non deterministic FSM

A

There are multiple paths for a single input.

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

What is a set

A

Unsorted collection of different objects.each value occurs only once.

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

What is the cardinals of a set

A

The number of elements in the set

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

What is a countable set

A

A set that counted of by the natural numbers.

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

What is a finite set

A

There is only n elements in the set where n is a positive integer

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

What is countable infinite

A

Placed in to a one to one correspondence to a natural number

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

Uncountable set is

A

When you can’t list all the items in the set

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

What is a subset

A

Has to have all elements of the set and a few more.

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

What is a proper subset

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

What is a regular expression

A

Specifies the valid strings in a language in rules.

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

What is a regular language

A

A language that a FSM will accept.

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

What is BNF

A

A visual representation of a regular language

17
Q

How does BNF work