wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Minimization of CFG

Total questions: 5

Worksheet time: 3mins

Name
Class
Date
1.

Which of the following is not comes under reduced grammar

a)

Elimination of useless symbols

b)

Elimination of epsilon productions

c)

Elimination of unit productions

d)

Elimination of productions

2.

Which of the following are the normal forms

a)

CNF

b)

GNF

c)

Both a and b

d)

None

3.

What is meant by useless symbol

a)

If it has further production

b)

If it does not have further production

c)

If it is not leading to terminal

d)

Both b and c

4.

Example for unit production

a)

X-->a

b)

y-->Z

c)

X-->Z

d)

None

5.

Which of the following is correct form of CNF

a)

(N.T)-->(N.T)(N.T)

b)

N.T-->terminal

c)

Both a and b

d)

None