Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations - NIMCET

Previous Year Question (PYQs)



Match List I with List II
 List I

 List II

A. Initial Configuration of stack and input in the LL Parsing process

I. $w$

B. Final Configuration of stack and input in LL Parsing process

$$

C. Initial Configuration of stack and input in the LR Parsing process

S w

D. Final Configuration of stack and input in LR Parsing process

S

Choose the correct answer from the options given below:






Solution

For LL parsing:

Initial configuration: $$S w$$

Final configuration: $$$$

For LR parsing:

Initial configuration: $$w$$

Final configuration: $$S$$

So,

A → III
B → II
C → I
D → IV

Correct option is:

$\boxed{(b)\ A-III,\ B-II,\ C-I,\ D-IV}$



Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...