
Compiler Design Quiz I June 18

Quiz
•
Computers
•
University
•
Hard
Suganya Ram
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the use of a symbol table in compiler design?
Finding name’s scope
Type checking
Keeping all of the names of all entities
All of the mentioned
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
A compiler is preferable to an interpreter because
Debugging can be faster and easier
If one changes a statement, only that statement needs re-compilation
It is much helpful in the initial stages of program development
It can generate stand alone programs that often take less time for execution
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
A top-down parser generates
Left-most derivation in reverse
Right-most derivation in reverse
Left-most derivation
Right –most derivation
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following parsers is the most powerful?
SLR
LALR
Canonical LR
Operator-precedence
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Synthesized attribute can be easily simulated by a
LR grammar
LL grammar
Ambiguous grammar
Left recursive grammar
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
The lexical analyzer takes ____ as input and produces a list of ___ of output.
Source code, tokens
Machine code, Source code
Tokens, source code
Token, Target code
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
__________ reads a program, analyze it, and attempts to discover potential bugs without running the program.
Structure editor
Interpreters
Pretty printers
Static checker
Create a free account and access millions of resources
Similar Resources on Wayground
8 questions
CD Quiz Batch B2 1a and 1 b programs

Quiz
•
University
12 questions
Compiler Design

Quiz
•
University
13 questions
PL Chapter 03 04

Quiz
•
University
10 questions
Kuis Minecraft

Quiz
•
6th Grade - Professio...
15 questions
Compiler Design Concepts

Quiz
•
University
10 questions
TECHIE BLAZERS

Quiz
•
University
10 questions
VIT Compiler Design -Semantic analysis

Quiz
•
University
15 questions
Quiz 1 "Compiler Construction"

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade