Search Header Logo

Compiler Design

Authored by Raja Sekar

Computers

1st - 3rd Grade

Used 11+ times

Compiler Design
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

What is the other name for predictive parser?

LL (1)

Non-Recursive Descent Parser

Both

None of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Top down parser can't handle ---------------

Left Recursion (LR)

Left Factoring (LF)

Both LR and LF

only LR

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the other name of the parser?

Lexical Analyzer

Syntax Analyzer

Semantic Analyzer

Scanner

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The predictive parser uses backtracking.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the second L in LL(1) represents?

Scanning Left to Right

Left Most Derivation

Left Hand Side

Left Most Non- Terminal

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Are we using Grammar in Parser?

YES

NO

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

E --> E + T | F. Which is the correct answer after Eliminating Left Recursion

E --> FE and F --> +T E | null

E --> TE' and E' --> +T | null

E --> TE' and E' --> +T | null

E --> FE' and E' --> +TE' | null

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?