Compiler Design Quiz

Compiler Design Quiz

University

24 Qs

quiz-placeholder

Similar activities

Front Desk

Front Desk

KG - Professional Development

20 Qs

K-MAP

K-MAP

University

20 Qs

UNIT -3  A Intermediate Languages and TAC Quiz

UNIT -3 A Intermediate Languages and TAC Quiz

University

25 Qs

Part-of-Speech Tagging Quiz

Part-of-Speech Tagging Quiz

University

21 Qs

Driver's Ed Chapter 5

Driver's Ed Chapter 5

8th Grade - Professional Development

20 Qs

Finals Mock Test

Finals Mock Test

KG - Professional Development

27 Qs

TEYL - Overview Fun Games

TEYL - Overview Fun Games

University

25 Qs

MCQ 2

MCQ 2

University

22 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?