The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
+10 votes

Which one of the following is a top-down parser?

  1. Recursive descent parser.
  2. Operator precedence parser.

  3. An LR(k) parser.

  4. An LALR(k) parser.

asked in Compiler Design by Veteran (59.7k points) | 1.5k views

3 Answers

+7 votes
Best answer
  1. Recursive descent parser-TOP DOWN PARSER

  2. Operator precedence parser-BOTTOM UP PARSER

  3. An LR(k) parser.-BOTTOM UP PARSER

  4. An LALR(k) parser-BOTTOM UP PARSER

answered by Active (2.7k points)
selected by
+4 votes
answer - A
answered by Loyal (8.9k points)
0 votes

Recursive descent parser

answered by Loyal (9.7k points)

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

44,054 questions
49,578 answers
65,775 users