edited by
6,146 views

1 Answer

0 votes
0 votes

 Backtracking : It means, if one derivation of a production fails, the syntax analyzer restarts the process using different rules of same production. This technique may process the input string more than once to determine the right production.

Compiler Design - Top-Down Parser - Tutorialspoint

Recursive descent is a top-down parsing technique that constructs the parse tree from the top and the input is read from left to right. It uses procedures for every terminal and non-terminal entity. This parsing technique recursively parses the input to make a parse tree, which may or may not require back-tracking. But the grammar associated with it (if not left factored) cannot avoid back-tracking. A form of recursive-descent parsing that does not require any back-tracking is known as predictive parsing.

Predictive parser is a recursive descent parser, which has the capability to predict which production is to be used to replace the input string. The predictive parser does not suffer from backtracking.

so option c

Answer:

Related questions

509
views
1 answers
1 votes
go_editor asked Mar 28, 2020
509 views
The following determiniotic finite automata recognizes:Set of all strings containing $’ab’$Set of all strings containing $’aab’$Set of all strings ending in $’abab’$None of the above
783
views
0 answers
0 votes
go_editor asked Mar 28, 2020
783 views
Depth ion travels of the following directed graph is:$\text{A B C D E F}$\text{A B D E F C}$\text{A C E B D F}$None of the above
1.3k
views
0 answers
0 votes
go_editor asked Mar 28, 2020
1,263 views
The maximum number of nodes in a binary tree of depth $10$:$1024$ $2^{10}-1$ $1000$None of the above
1.3k
views
1 answers
1 votes
go_editor asked Mar 28, 2020
1,336 views
The regular expression given below describes:$r=(1+01)$*$(0+\lambda)$Set of all string not containing $’11’$Set of all string not containing $’00’$Set of all string containing $’01’$Set of all string ending in $’0’$