Compiler Design

Compiler Design

University

20 Qs

quiz-placeholder

Similar activities

Chapter 8. Securing Network Media and Devices

Chapter 8. Securing Network Media and Devices

University

20 Qs

After Effect Intoduction

After Effect Intoduction

10th Grade - University

15 Qs

Memory-Mobo-Hard/Software

Memory-Mobo-Hard/Software

University

18 Qs

PARC Linux Basic Part 2

PARC Linux Basic Part 2

University

20 Qs

SQL Quiz

SQL Quiz

University

18 Qs

BIM1014 Quiz 2

BIM1014 Quiz 2

KG - University

15 Qs

CORLANG Week6-7

CORLANG Week6-7

10th Grade - University

20 Qs

LAN, MAN, WAN Network

LAN, MAN, WAN Network

12th Grade - University

18 Qs

Compiler Design

Compiler Design

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

T.SAKTHI IT

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Parsing is categorized into how many types?

3

4

2

5

2.

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 symbol.

  1. Bottom-up parsing

  1. Top-down parsing

  1. None of the above

  1. Both a and b

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which derivation is generated by the top-down parser?

  1. Right-most derivation in reverse

Left-most derivation in reverse

  1. Right-most derivation

  1. Left-most derivation

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The output of the lexical analyzer is _______

  1. string character

  1. a syntax tree

  1. a set of RE

  1. a set of tokens

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

From the following grammars, which describes the lexical syntax?

  1. Lexical Grammar

  1. Context-free Grammar

  1. Syntactic Grammar

  1. Regular Grammar

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which grammar gives multiple parse trees for the same string?

  1. Unambiguous

  1. Regular

  1. Ambiguous

  1. All of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Compiler lexical analyzer is used for?

  1. removing comments

  1. removing whitespace

  1. breaking the syntaxes in the set of tokens

  1. All of the mentioned

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?