Question Statement: [10]

Consider the following grammar:

S ŕ 1AB/ε

A ŕ 1AC/0C

B ŕ 0S

C ŕ 1

And test that weather grammar is LL (1) or not.

Hint: Calculate First and Follow.

Note:

• Your answer must follow the below given specifications. Marks will be deducted if you do not follow these instructions.

• Font style: “Times New Roman”

• Font color: “Black”

• Font size: “12”

• Bold for heading only.

• Font in Italic is not allowed at all.

• You should consult recommended books to clarify your concepts.

• It’s better for you to submit the assignment well before the deadline.

Sponsored Links