Exercises Flashcards

1
Q

Equations of regular expressions

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

From FA to regular expression

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

From right-regular grammar to FA

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

From left-regular grammar to FA

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

Minimization of DFA

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

Complement of a regular language

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

Equivalence of regular languages

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

Eliminate useless symbols in CFG

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

Write a PDA

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

SA Bottom-up parser

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

LR(0) parsing table.

Is the grammar LR0?

A

The grammar is not LR if it is ambiguos

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

LR(SLR) parsing table

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

LR(1) parsing table

Is the grammar LR1?

A

3REDUCE action for all lookahed symbols

Not LR1 if conflicts exist.

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

LALR(1) parsing table

Is the grammar LALR(1) ?

A

The grammar is not LALR if it is ambiguos

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

SA Top-down parser

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

Eliminate left-recursion

A
17
Q

Predictive LL(1) parsing table

Is the grammar LL1?

A

If the grammar is left recursive or has conflicts in the parsing table is not LL1