Compiler Design

Compiler Design

University

10 Qs

quiz-placeholder

Similar activities

CS0023 - Context Free Grammar Quiz Game (Continuation)

CS0023 - Context Free Grammar Quiz Game (Continuation)

University

12 Qs

Quiz No. 2

Quiz No. 2

University

10 Qs

unit2-Quiz1

unit2-Quiz1

University

6 Qs

Compiler Design Viva 2

Compiler Design Viva 2

University

10 Qs

Compiler Design Quiz I June 18

Compiler Design Quiz I June 18

University

10 Qs

25-4-22 2S5 WS21-22

25-4-22 2S5 WS21-22

University

10 Qs

S8D5-Revision-C4-M5-Python-Web scraping

S8D5-Revision-C4-M5-Python-Web scraping

University

8 Qs

COMPILER DESIGN QUIZ 28.3.2023

COMPILER DESIGN QUIZ 28.3.2023

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?