Compiler Design

Compiler Design

University

10 Qs

quiz-placeholder

Similar activities

CD QUIZ S6 25-3-22

CD QUIZ S6 25-3-22

University

10 Qs

CD S6 QUIZ 29-03-22

CD S6 QUIZ 29-03-22

University

10 Qs

Lexical and Syntax Analysis

Lexical and Syntax Analysis

University

11 Qs

COMPILER DESIGN  QUIZ

COMPILER DESIGN QUIZ

University

10 Qs

CD

CD

University

15 Qs

Compiler Design

Compiler Design

University

15 Qs

Parsing

Parsing

University

12 Qs

CD QUIZ S6 30-3-22

CD QUIZ S6 30-3-22

University

10 Qs

Compiler Design

Compiler Design

Assessment

Quiz

Computers

University

Hard

Created by

Revathi K

Used 1+ times

FREE Resource

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

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?