
Compiler Design Quiz I June 18
Authored by Suganya Ram
Computers
University
Used 2+ times

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
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
NLP Basics
Quiz
•
University
12 questions
Câu hỏi về thông tin và xử lý
Quiz
•
University
10 questions
Cybersecurity
Quiz
•
University
15 questions
introduction phyton
Quiz
•
University
10 questions
C Programming Quiz-1
Quiz
•
University
11 questions
Final Keamanan Komputer / Sistem Keamanan Jaringan
Quiz
•
University
15 questions
Chapter 12 : Private Security and Homeland Defense
Quiz
•
University
10 questions
G2 - Evaluacion Tema 1 Lenguajes y Automatas
Quiz
•
University
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Computers
20 questions
Disney Trivia
Quiz
•
University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
14 questions
Ch.3_TEACHER-led
Quiz
•
University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University