
Compiler Design Quiz
Authored by Aruna Sankaralingam
Computers
12th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
20 questions
Design your website
Quiz
•
7th - 12th Grade
16 questions
OCR Sys Arch J277
Quiz
•
10th - 12th Grade
13 questions
INTERNET CONNECTION
Quiz
•
12th Grade
11 questions
Email of request
Quiz
•
12th Grade - Professi...
11 questions
Unit 2, 1.3 Types of information access and storage devices
Quiz
•
12th Grade
13 questions
ICT and Retail Industry
Quiz
•
8th - 12th Grade
17 questions
Security and Ethics
Quiz
•
9th - 12th Grade
10 questions
IT Quiz
Quiz
•
11th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade