Search Header Logo

Compiler Parsing Techniques

Authored by Gowtham Sethupathi

Computers

University

Used 2+ times

Compiler Parsing Techniques
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The parsing technique that starts from the root of the parse tree and recursively expands non-terminals to derive the input string is called:

Top-Down Parsing
Bottom-Up Parsing

LR Parsing

SLR Parsing

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The parsing technique that starts from the input terminal of the parse tree and reduces to start symbol is called:

Top-down parsing
Bottom-up parsing
Recursive descent parsing
Predictive parsing

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which parsing technique uses a predictive parsing table to decide which production to apply for a given input symbol and stack top?

LL

LR

SLR

LALR

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The parsing technique that builds a shift-reduce parser and uses lookahead to handle conflicts is known as:

Recursive Descent Parsing
Predictive Parsing

LALR Parsing

LR(0)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The parsing technique that uses a parsing table containing both shift and reduce actions to process the input is called:

Recursive Descent Parsing
Predictive Parsing

LR Parsing

Operator Precedence Parsing

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which parsing technique can handle a larger class of grammars due to its powerful handling of lookaheads?

Top-down parsing
Bottom-up parsing
LL parsing

LALR parsing

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which parser construction method is used in CLR parsing?

Recursive Descent Parsing
Predictive Parsing
Shift Reduce Parsing

Operator precedence Parsing

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?