Leading and Trailing

Quiz
•
Computers
•
University
•
Medium
vijay vasanth
Used 2+ times
FREE Resource
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
Similar Resources on Wayground
10 questions
Python Quiz

Quiz
•
University
7 questions
CSS Rules Quiz-unit 4 CodeHS

Quiz
•
7th Grade - University
10 questions
Python - Functions

Quiz
•
University
10 questions
RDBMS

Quiz
•
University
10 questions
DBMS 1

Quiz
•
University
10 questions
T02: Python - The Basics

Quiz
•
University
10 questions
CSC126_Chapter3.1

Quiz
•
University
10 questions
Css

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade