Compiler Design

Compiler Design

University

20 Qs

quiz-placeholder

Similar activities

CD-Quiz1

CD-Quiz1

University

15 Qs

Compiler Review

Compiler Review

University

20 Qs

1.2.2 Application Generation

1.2.2 Application Generation

12th Grade - University

20 Qs

Computer Language Quiz

Computer Language Quiz

9th Grade - University

16 Qs

A Level Computer Science

A Level Computer Science

11th Grade - University

21 Qs

4308 Midterm Study Guide Ch 3-7

4308 Midterm Study Guide Ch 3-7

University

20 Qs

Compiler Design

Compiler Design

University

20 Qs

Quiz 1 "Compiler Construction"

Quiz 1 "Compiler Construction"

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?