Compiler Quiz on Parsers
Quiz
•
Computers
•
University
•
Hard
vijay vasanth
Used 2+ times
FREE Resource
Enhance your content
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given the following expression grammar:
E -> E * F | F + E | F
F -> F - F | id
which of the following is true?
* has higher precedence than +
- has higher precedence than *
+' has higher precedence
+' has higher precedence than *
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following derivations does a bottom up parser use while parsing an input string?
Leftmost derivation
Leftmost derivation in reverse
Rightmost derivation
Rightmost derivation in reverse
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Among simple LR (SLR), canonical LR, and look-ahead LR (LALR), which of the following pairs identify the method that is very easy to implement and the method that is the most powerful, in that order?
SLR, LALR
Canonical LR, LALR
SLR, canonical LR
LALR, canonical LR
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is correct?
r? = r . R
r? = r / έ
r? = r / r*
r? = r . r*
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A form of recursive-descent parsing that does not require any back-tracking is known as?
predictive parsing
non-predictive parsing
recursive parsing
non-recursive parsing
Similar Resources on Wayground
7 questions
XML and JSON Parsing Quiz
Quiz
•
University
10 questions
Mock Test LLs
Quiz
•
University
10 questions
Analyse de données avec R (1)
Quiz
•
University
10 questions
Posttes Pewarisan Pertemuan 1
Quiz
•
University
10 questions
DBMS
Quiz
•
University
10 questions
Notes on Blender 3D: Section 12
Quiz
•
6th Grade - University
10 questions
DBMS Day 3
Quiz
•
University
10 questions
DBMS concepts (Medium)
Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms
Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University
20 questions
La Hora
Quiz
•
9th Grade - University
7 questions
Cell Transport
Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University