Compiler Design

Compiler Design

University

20 Qs

quiz-placeholder

Similar activities

ATCD - MCQ - IAE1 Portions

ATCD - MCQ - IAE1 Portions

University

15 Qs

CD QUIZ

CD QUIZ

University

25 Qs

PLC Quiz 1

PLC Quiz 1

University

15 Qs

Compiler Design Module Test

Compiler Design Module Test

University

15 Qs

SSCD-QUIZ

SSCD-QUIZ

University

20 Qs

Compiler Design Concepts

Compiler Design Concepts

University

15 Qs

Compiler Design

Compiler Design

University

20 Qs

Compiler - Intro

Compiler - Intro

University

20 Qs

Compiler Design

Compiler Design

Assessment

Quiz

Computers

University

Hard

Created by

T.SAKTHI IT

Used 1+ times

FREE Resource

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

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?