The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
+11 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 (52.1k points) | 1.6k views

3 Answers

+8 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.8k points)
selected by
+4 votes
answer - A
answered by Loyal (8.7k points)
+2 votes

Recursive descent parser

answered by Boss (10.4k 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
49,811 questions
54,540 answers
75,603 users