Compiler Parsing Techniques

Compiler Parsing Techniques

University

10 Qs

quiz-placeholder

Similar activities

COMPILER DESIGN QUIZ 28.3.2023

COMPILER DESIGN QUIZ 28.3.2023

University

10 Qs

QUIZ CD S5 7-4-22

QUIZ CD S5 7-4-22

University

10 Qs

Compiler Quiz on Parsers

Compiler Quiz on Parsers

University

5 Qs

TECHIE BLAZERS

TECHIE BLAZERS

University

10 Qs

CD

CD

University

15 Qs

25-4-22 2S5 WS21-22

25-4-22 2S5 WS21-22

University

10 Qs

Compiler Design Quiz I June 18

Compiler Design Quiz I June 18

University

10 Qs

Lexical and Syntax Analysis

Lexical and Syntax Analysis

University

11 Qs

Compiler Parsing Techniques

Compiler Parsing Techniques

Assessment

Quiz

Computers

University

Hard

Created by

Gowtham Sethupathi

Used 2+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?