
Compiler Quiz on Parsers
Authored by vijay vasanth
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
10 questions
Apache Spark
Quiz
•
University
10 questions
Komputer Kelas 1 S1
Quiz
•
1st Grade - University
10 questions
Medios Digitales, Covencionales y REA
Quiz
•
University
10 questions
Latihan 2 Logika & Algoritma
Quiz
•
University
10 questions
Troubleshooting and Computer Maintenance Quiz
Quiz
•
University
6 questions
Intro to ML: Neural Networks Lecture 1 Part 2
Quiz
•
University
10 questions
Data Analyst Quiz
Quiz
•
University
10 questions
Word - Básico
Quiz
•
1st Grade - University
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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
5 questions
Examining Theme
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University