
Parsing
Authored by Akashdeep Sharma
Computers
University
Used 16+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following lexical entries can be derived from <word>
I. pick
II picks
III c44
I, II AND III
I and II only
I and III only
II and III only
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A bottom up parser generates __________.
Right most derivation
Rightmost derivation in reverse
Leftmost derivation
Leftmost derivation in reverse
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Shift reduce parsers are __________.
Top down Parser
Bottom Up parser
May be top down or bottom up
None of the mentioned
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following describes a handle (as applicable to LR-parsing) appropriately?
Position where next reduce or shift operation will occur
The next step has use of Non-terminal for reduction
Used for reduction in a coming-up step along with a position in the sentential form where the next shift or reduce operation will occur
Used in the next step for reduction along with a position in the sentential form where the right hand side of the production may be found
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Consider the grammar defined by the following production rules:
S --> T * P
T --> U | T * U
P --> Q + P | Q
Q --> Id
U --> Id
Which one of the following is TRUE?
+ is left associative, while ∗ is right associative
+ is right associative, while ∗ is left associative
Both + and ∗ are right associative
Both + and ∗ are left associative
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following grammar rules violate the requirements of an operator grammar?
(i) P -> QR
(ii) P -> QsR
(iii) P -> ε
(iv) P -> QtRr
(i) only
(i) and (iii) only
(ii) and (iii) only
(iii) and (iv) only
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following actions an operator precedence parser may take to recover from an error?
Delete symbols from the stack
Insert symbols onto the stack
Inserting or deleting symbols from the input
Stop the 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
15 questions
Ms. Exel dan Fungsi Logika IF
Quiz
•
10th Grade - University
15 questions
Computer and Other Human Inventions
Quiz
•
University
10 questions
UTILITY PROGRAM
Quiz
•
University
10 questions
Data Warehouse - Foundations
Quiz
•
University
13 questions
Digital Technology Office 365 - 29May2020
Quiz
•
University - Professi...
7 questions
Data mining-Clustering-1
Quiz
•
University
15 questions
GIS Unit III
Quiz
•
University
12 questions
ロジックテスト (Đề kiểm tra năng lực IT)
Quiz
•
University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University