
Parser - unit 2 and 3
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
shanthini Sampath
Used 3+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
A grammar that produces more than one parse tree for some sentence is called __________
Ambiguous
UnAmbiguous
Regular
None of the mentioned
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following derivations does a top-down parser use while parsing an input ?
Which of the following derivations does a top-down parser use while parsing an input ?
Which of the following derivations does a top-down parser use while parsing an input ?
Rightmost derivation
Rightmost derivation traced out in reverse
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following error can a compiler check?
Syntax Error
Logical Error
Both Logical and Syntax Error
Compiler cannot check errors
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
which ine of the following is a top-down parser
LR(k) parser
Operator precedence parser
Recursive Descent parser
LALR(k) parser
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements is false?
An LL(1) parser is a top-down parser
An unambiguous grammar has the same leftmost and rightmost derivation
LALR is more powerful than SLR
An ambiguous grammar can never be LR(k) for any k
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
YACC is a:
Lexical analyzer generator Parser generator
Parser generator
Semantic analyzer
None of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given grammar
S –> (L) | a
L –> L, S | S
Which of the input recognized by the grammar:
((a, a), a)
(a,a)
((a, a,a),a)
All of the above
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
Hogar Digital NetSpot
Quiz
•
University
14 questions
Loader and Memory Management Quiz
Quiz
•
University
10 questions
TOC QUIZ
Quiz
•
University
15 questions
Basic Microsoft Word
Quiz
•
1st Grade - Professio...
15 questions
Word/Word Online for Beginners
Quiz
•
3rd Grade - Professio...
13 questions
Word Session Quiz
Quiz
•
7th Grade - University
10 questions
Compiler Parsing Techniques
Quiz
•
University
10 questions
WINTER 24-25 CD
Quiz
•
University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Computers
8 questions
2 Step Word Problems
Quiz
•
KG - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
10 questions
14.2 Independent/Dependent Variables
Quiz
•
KG - University
18 questions
Great Lakes States
Quiz
•
KG - University
7 questions
DNA, Chromosomes, Genes, and Traits: An Intro to Heredity
Interactive video
•
11th Grade - University
7 questions
Reflexive Verbs in Spanish
Lesson
•
9th Grade - University
7 questions
Narrative Writing 1
Interactive video
•
4th Grade - University
