(Regular) Grammars Flashcards

1
Q

That do grammars define?

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

What do grammars consist of? When are they context free?

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

What is the derivation step of a grammar? What is the reflexive, transitive closure of a derivation step?

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

What is the language generated by a grammar?

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

When is a grammar right linear? When is a grammar strictly right linear?

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

How do we create a strictly right linear grammar from a right linear grammar?

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

How do you go from NFA to Right Linear Grammar?

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

How do you go from Right Linear Grammar to NFA?

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

If a language is regular, does a right linear grammar always exist? Why?

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

When is a language left linear?

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