Search Header Logo

COMPILER DESIGN QUIZ 28.3.2023

Authored by uma mahesh

Computers

University

Used 7+ times

COMPILER DESIGN QUIZ 28.3.2023
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 bottom-up parsing method also known as?

Predictive parer

shift reduce parser

recursive descent parser

none

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the most powerful parser?

LALR

SLR

Canonical LR

Operator-precedence

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Another name of top-down parsing is?

Predictive parsing

Shift reduce parsing

Recursive descent parsing

None

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the most general phase of structured grammar.

Regular

Context-sensitive

Context-free

None

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the lexical analyzer take as input?

Tokens

Source code

Machine code

Both a and c.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a linear analysis called in a compiler?

Testing

Lexical analysis

Scanning

Both b and c

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

On what basis is the phase syntax analysis modeled?

Context-free grammar

High-level language

Low-level language

Regular grammar

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?