
Compiler Design

Quiz
•
Instructional Technology
•
University
•
Hard
Dr. D. Rajesh
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. Which of the following is a stage of compiler design?a) Semantic analysisb) Intermediate code generatorc) Code generatord) All of the mentioned
A
B
C
D
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. A programmer, writes a program to multiply two numbers instead of dividing them by mistake, how can this error be detected?a) Compiler or interpreterb) Compiler onlyc) Interpreter onlyd) None of the mentioned
A
B
C
D
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. Who is responsible for the creation of the symbol table?a) Assemblerb) Compilerc) Interpreterd) All of the mentioned
A
B
C
D
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4. Let L1 = {w ∈ {0,1}∗ | w has at least as many occurrencesof (110)’s as (011)’s}.Let L2 = { ∈ {0,1}∗ | w has at least as many occurrencesof (000)’s as (111)’s}.Which of the following is correct?a) L2 is regularb) L1 and L2 are regularc) L1 is regular but not L2d) None of them are regular
A
B
C
D
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5. Which of the following is a correct statement?I. For some programming languages, there are parsing algorithms with an O(3) complexity.II. A recursive programming language can be constructed with static storage allocation.III. In the context of bottom-up parsing, no L-attributed definition can be evaluated.IV. Code-improvement modifications can be carried out at both the intermediate and source code levels.a) I and IIIb) I and IVc) I, II and IVd) I, II, III and IV
A
B
C
D
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. Which of the following can detect an error if a programmer by mistake writes multiplication instead of division?a) Interpreterb) Compiler or interpreter testc) Compilerd) None of the mentioned
A
B
C
D
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7. Why Generation of intermediate code based on an abstract machine model is useful in compilers?a) Writing for intermediate code generationb) Portability of the front end of the compilerc) Implementation of lexical analysis and syntax analysis is made easierd) All of the mentioned
A
B
C
D
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
Refrigeration Cycle 2

Quiz
•
University
15 questions
PEC 101 Educ. Technology

Quiz
•
University
15 questions
BLOCKCHAIN

Quiz
•
University
15 questions
Lesson 2 Quiz - Introduction to MS Word

Quiz
•
University
15 questions
Cloud migration prerequisite

Quiz
•
University - Professi...
10 questions
The Program Development Cycle

Quiz
•
11th Grade - University
10 questions
C Basics - 1

Quiz
•
University
15 questions
Introduction to C++ Programming Quiz

Quiz
•
University
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Instructional Technology
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
2 questions
Pronouncing Names Correctly

Quiz
•
University
34 questions
WH - Unit 2 Exam Review -B

Quiz
•
10th Grade - University
21 questions
Mapa países hispanohablantes

Quiz
•
1st Grade - University
10 questions
Transition Words

Quiz
•
University
5 questions
Theme

Interactive video
•
4th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
10 questions
Spanish Greetings and Goodbyes!

Lesson
•
6th Grade - University