Context-Free Languages Flashcards

1
Q

When is a language context-free?

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

What are two strategies of choosing which variable to expand?

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

What is a derivation tree?

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

When is a context-free grammar ambigiuous?

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

Why is ambiguity typically unwanted? Is it decidable?

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

When is a language inherently ambiguous?

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

When is the time complexity of a context-free grammar?

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