
Compiler Design Quiz

Quiz
•
Computers
•
12th Grade
•
Hard
Aruna Sankaralingam
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In operator precedence parsing, the shift and reduce operations are done based on the priority between:
The symbols referred by stack[top] and stack[top-1]
The symbol referred by stack[top] and the current input symbol
The current input symbol and the immediately next input symbol
The current output symbol and the immediately next input symbol
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true?
* has higher precedence than +
- has higher precedence than *
+ and / have same precedence
+ has higher precedence than *
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following function is used to calculate the canonical collection of LR(0) items?.
FIRST
GOTO
COMPUTE
FOLLOW als
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The parser which has higher number of states is
SLR
CLR
LALR
No relation can be referred to.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which part of the compiler highly used the grammar concept?
Code optimization
Code generation
Parser
Lexical Analysis
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Grammar that produces more than one leftmost or rightmost parse tree for same sentence is ___________
Ambiguous
Unambiguous
Complementation
Concatenation Intersection
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In which parsing, the parser constructs the parse tree from the start symbol and transforms it into the input String?
Bottom Up Parsing
Top-down parsing
None of the above
Both a and b
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
Python Boolean

Quiz
•
11th - 12th Grade
10 questions
Document Formatting Quiz

Quiz
•
12th Grade
15 questions
DATA PROCESSING

Quiz
•
10th - 12th Grade
10 questions
Data 231-240

Quiz
•
12th Grade
15 questions
Word/Word Online for Beginners

Quiz
•
3rd Grade - Professio...
20 questions
Web Tech - Web Design

Quiz
•
10th - 12th Grade
15 questions
Basic Microsoft Word

Quiz
•
1st Grade - Professio...
10 questions
Technical Terms - Internet (A-Z) - Dynamic Website

Quiz
•
12th Grade
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
9/11 Experience and Reflections

Interactive video
•
10th - 12th 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
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade