Compiler Design Quiz

Compiler Design Quiz

12th Grade

15 Qs

quiz-placeholder

Similar activities

CALL: TOEFL Exercise skill 1-3

CALL: TOEFL Exercise skill 1-3

12th Grade

10 Qs

tik kelas 7

tik kelas 7

1st Grade - University

15 Qs

OOP 1 Undiksha

OOP 1 Undiksha

12th Grade - University

13 Qs

BIM1014 Quiz 2

BIM1014 Quiz 2

KG - University

15 Qs

Chapter 3 Exploring Linux Filesystems

Chapter 3 Exploring Linux Filesystems

11th Grade - University

10 Qs

Revision Gr2-2025

Revision Gr2-2025

3rd Grade - University

12 Qs

After Effect Intoduction

After Effect Intoduction

10th Grade - University

15 Qs

Google Aptitude Test

Google Aptitude Test

KG - University

10 Qs

Compiler Design Quiz

Compiler Design Quiz

Assessment

Quiz

Computers

12th Grade

Practice Problem

Hard

Created by

Aruna Sankaralingam

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In operator precedence parsing, the shift and reduce operations are done based on the priority between:

The symbols referred by stack[top] and stack[top-1]

The symbol referred by stack[top] and the current input symbol

The current input symbol and the immediately next input symbol

The current output symbol and the immediately next input symbol

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true?

* has higher precedence than +

- has higher precedence than *

+ and / have same precedence

+ has higher precedence than *

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following function is used to calculate the canonical collection of LR(0) items?.

FIRST

GOTO

COMPUTE

FOLLOW als

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The parser which has higher number of states is

SLR

CLR

LALR

No relation can be referred to.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which part of the compiler highly used the grammar concept?

Code optimization

Code generation

Parser

Lexical Analysis

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Grammar that produces more than one leftmost or rightmost parse tree for same sentence is ___________

Ambiguous

Unambiguous

Complementation

Concatenation Intersection

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In which parsing, the parser constructs the parse tree from the start symbol and transforms it into the input String?

Bottom Up Parsing

Top-down parsing

None of the above

Both a and b

Create a free account and access millions of resources

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?