Compiler Design

Compiler Design

University

20 Qs

quiz-placeholder

Similar activities

ATC_CS1/3_2023-24

ATC_CS1/3_2023-24

University

20 Qs

321 quiz 03 --  Grammars - BNF - syntax

321 quiz 03 -- Grammars - BNF - syntax

University

24 Qs

Compiler

Compiler

11th Grade - University

20 Qs

OCR A Level Computer Science (H446) - Component 1.2.2 - Application Generation

OCR A Level Computer Science (H446) - Component 1.2.2 - Application Generation

11th Grade - University

21 Qs

Compiler Design

Compiler Design

University

20 Qs

Parser - unit 2 and 3

Parser - unit 2 and 3

University

15 Qs

Compiler Design I

Compiler Design I

University

15 Qs

Quiz II

Quiz II

University

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