
Leading and Trailing
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
What is the LEADING(S) for the following grammar?
S➔S-B|B
B➔B*A|A
A➔(S)|id
LEADING(S)={-,*,),id}
LEADING(S)={-,*,(,id}
LEADING(S)={-,*,(,)}
LEADING(S)={-,*,(}
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the TRAILING(T) for the following grammar?
E➔E+T|T
T➔T*F|F
F➔id|(E)
TRAILING(T)={+,*,(}
TRAILING(T)={*,id,(}
TRAILING(T)={*,id,)}
TRAILING(T)={+,*,id}
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If production is of form A→ αa or A → αaB where B is Non-terminal, and α can be any string then it is applicable to
Trailing
Leading
LR
LALR
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Leading and Trailing are two functions belongs to
Predictive Parser
Operator Precedence parser
Syntax Analayzer
Intermediate Code Generator
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is uesd to map terminal symbols to integers in Operator precedence parsers?
precedence functions
operator function
Lex Function
Iterative Function
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
Mobile e IoT
Quiz
•
University
10 questions
IoT - การบรรยายครั้งที่ 6
Quiz
•
University
10 questions
DAA-UNIT-4 QUIZ
Quiz
•
University
10 questions
Introduction to software engineering
Quiz
•
University
10 questions
IOTA : Web Development Bootcamp Quiz 1
Quiz
•
University
10 questions
Arboles
Quiz
•
University
10 questions
Weekly Quiz 1
Quiz
•
4th Grade - Professio...
10 questions
Diode Quiz
Quiz
•
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