Search Header Logo

Compiler Design

Authored by Revathi K

Computers

University

Used 1+ times

Compiler Design
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which tool is used for grouping of characters in tokens in the compiler?

  1. a.Parser

  1. b. Code optimizer

  1. c.Code generator

  1. d.Scanner

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the linker?

  1. a.It is always used before the program execution.

  1. b.It is required to create the load module.

  1. c.It is the same as the loader

  1. d.None of the above

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Parsing is categorized into how many types?

a.3

b.4

c.2

d.5

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which derivation is generated by the top-down parser?

  1. a.Right-most derivation in reverse

  1. b.Left-most derivation in reverse

  1. c.Right-most derivation

  1. d.Left-most derivation

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which parser is most powerful in the following parsers?

  1. a.Operator Precedence

  1. b.SLR

  1. c.Canonical LR

  1. d.LALR

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The output of the lexical analyzer is _______

  1. a.string character

  1. b.a syntax tree

  1. c.a set of RE

  1. d.a set of tokens

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which grammar gives multiple parse trees for the same string?

  1. a.Unambiguous

  1. b.Regular

  1. c.Ambiguous

  1. d.All of the above

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?

Discover more resources for Computers