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

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 (69k points) | 1k views

2 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 Boss (7k points)
selected by
+3 votes
answer - A
answered by Boss (9.3k points)


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

33,705 questions
40,253 answers
114,347 comments
38,862 users