
Compiler Design Examination

Quiz
•
Computers
•
University
•
Hard
Marella Marella
FREE Resource
34 questions
Show all answers
1.
OPEN ENDED QUESTION
3 mins • 1 pt
Definition of Compiler (1 mark): Brief explanation of what a compiler does.
Evaluate responses using AI:
OFF
2.
OPEN ENDED QUESTION
3 mins • 1 pt
Definition of Interpreter (1 mark): Brief explanation of what an interpreter does.
Evaluate responses using AI:
OFF
3.
OPEN ENDED QUESTION
3 mins • 1 pt
Comparison (3 marks): 1 mark for identifying key differences (e.g., translation method, execution speed). 1 mark for differences in error detection (compile-time vs. runtime). 1 mark for differences in output (object code vs. direct execution).
Evaluate responses using AI:
OFF
4.
OPEN ENDED QUESTION
3 mins • 1 pt
List and Brief Description of Each Phase (4 marks): Lexical Analysis (0.5 mark), Syntax Analysis (0.5 mark), Semantic Analysis (0.5 mark), Intermediate Code Generation (0.5 mark), Optimization (0.5 mark), Code Generation (0.5 mark), Post-Optimization (0.5 mark).
Evaluate responses using AI:
OFF
5.
OPEN ENDED QUESTION
3 mins • 1 pt
Diagram (1 mark): Clear representation of the phases with arrows or a flowchart.
Evaluate responses using AI:
OFF
6.
OPEN ENDED QUESTION
3 mins • 1 pt
a) Pass (1 mark): Definition of 'Pass' with a clear example or brief explanation.
Evaluate responses using AI:
OFF
7.
OPEN ENDED QUESTION
3 mins • 1 pt
b) Phase (1 mark): Explanation of 'Phase' in the context of a compiler.
Evaluate responses using AI:
OFF
Create a free account and access millions of resources
Similar Resources on Wayground
35 questions
[AP CSP] Programming with Conditionals [If, Elif, Else]

Quiz
•
9th Grade - University
30 questions
Law on Patents and Trademarks

Quiz
•
University
30 questions
HTML

Quiz
•
11th Grade - Professi...
30 questions
HCI - Chapter 3

Quiz
•
University
30 questions
QUIZZ TIK

Quiz
•
10th Grade - University
31 questions
MongoDB

Quiz
•
University
38 questions
Computer Literacy Pre-Assessment

Quiz
•
University
30 questions
PBO Lanjut 2025

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade