Compiler Design Quiz

Compiler Design Quiz

University

24 Qs

quiz-placeholder

Similar activities

WEIRD QUIZ

WEIRD QUIZ

KG - Professional Development

21 Qs

Identifying Writing Issues Practice Quiz

Identifying Writing Issues Practice Quiz

University

22 Qs

Driver's Ed Chapter 5

Driver's Ed Chapter 5

8th Grade - Professional Development

20 Qs

MCQ 2

MCQ 2

University

22 Qs

Front Desk

Front Desk

KG - Professional Development

20 Qs

Intent, Implementation, Impact

Intent, Implementation, Impact

12th Grade - University

27 Qs

K-MAP

K-MAP

University

20 Qs

UNIT - 2 A Understanding Parsers in Compilers

UNIT - 2 A Understanding Parsers in Compilers

University

25 Qs

Compiler Design Quiz

Compiler Design Quiz

Assessment

Quiz

Other

University

Hard

Created by

lohitha undefined

FREE Resource

24 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The grammar A → Aad | (A) | e is not suitable for predictive-parsing because the grammar is?

Ambiguous

Left recursive

Right recursive

An operator grammar

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which phenomenon happens when the non-terminal on the left side is repeated as the first symbol on the right side?

Left-most derivation

Left recursion

Left factoring

Left parsing

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

LR stands for

Left to right

Left to right reduction

Right to left

Left to right scanning of the input and right most derivation in reverse

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Recursive descent parsing belongs to the class of

Top-down parsing

Bottom-up parsing

Predictive parsing

None of these

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The output of Syntax analyzer is

Parse Tree

A set of tokens

Syntax tree

A set of regular expressions

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Non-Recursive descent parsing belongs to the class of

Top-down parsing

Bottom-up parsing

Predictive parsing

None of these

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The phase Syntax Analysis known as

Scanner

Semantic analyser

Context free grammar

Parser

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?