in Compiler Design retagged by
1,066 views
1 vote
1 vote

A top down parser generates

  1. Left most derivation
  2. Right most derivation
  3. Left most derivation in reverse
  4. Right most derivation in reverse
in Compiler Design retagged by
by
1.1k views

4 Answers

1 vote
1 vote

"Parsing is classified into two categories, i.e. Top Down Parsing and Bottom-Up Parsing. Top-Down Parsing is based on Left Most Derivation whereas Bottom Up Parsing is dependent on Reverse Right Most Derivation"

Refer: Top-down Parsers

Option A is correct

0 votes
0 votes
Option A as top down parsing expands the leftmost non- terminal as oppsed to bottom up parser where expansion takes place considering the right most non terminal.
0 votes
0 votes

Option A is correct.

 

LL is Top Down Parser, it perform Left to Right parsing by Left most derivation.

0 votes
0 votes
answer:- (a)

reason :

a top down parser generates left most derivation while parsing an input string.
Answer:

Related questions