edited by
1,561 views
0 votes
0 votes

Top-down parsers are predictive parsers, because :

  1. next tokens are predicted

  2. length of the parse tree is predicted before hand

  3. lowest node in the parse tree is predicted

  4. next lower level of the parse tree is predicted

edited by

1 Answer

0 votes
0 votes
Top Down parser are of two types => With backtracking and without backtracking. Former isn't predictive parser while later is.

In case of TD predictive parser we guaranteed that the next token selected is correct. (Obviously if done as per rules).

So A is correct.

Related questions

0 votes
0 votes
1 answer
1
0 votes
0 votes
1 answer
2
go_editor asked Mar 28, 2020
966 views
A single instruction in an assembly language program contains :one micro operationone macro operationone instruction to be completed in a single pulseone machine code ins...
0 votes
0 votes
1 answer
3
go_editor asked Mar 28, 2020
7,153 views
Absolute loader demands that the programmer needs to know the :start address of the available main memorytotal size of the programactual address of the data locationabsol...
0 votes
0 votes
1 answer
4