
VIT Compiler Design -Semantic analysis
Quiz
•
Computers
•
University
•
Medium
Suganya Ram
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which attributes get values from the attribute values of their child nodes?
Synthesized attributes
Inherited attributes
S-attributed SDT
L-attributed SDT
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
____________ is a medium to provide semantics to the context-free grammar
Domain grammer
Attribute grammar
Object grammer
Value grammer
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is true about Syntax Directed Definitions?
Syntax Directed Definitions + Parse tree = CFG
Syntax Directed Definitions + Semantic rules = CFG
Syntax Directed Definitions + CFG = Semantic rules
CFG + Semantic rules = Syntax Directed Definitions
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Each interior node represents an operator.
Each leaf node represents an
operand.
Syntax tree
Parse tree
DAG
Transition diagram
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
2. Which of the following statement is true?
SLR powerful than LALR
Canonical LR powerful than LALR parser
The parsers SLR= Canonical LR=LALR
LALR powerful than Canonical LR parser
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
______________ is an attribute of the non-terminal on the left-hand side of a production with semantic value
Annotated attribute
Synthesized attribute
Inherited Attributes
L-Attribute
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Attributes in ____________ are evaluated by depth-
first and left-to-right parsing manner.
L-attributed SDTs
S-attributed SDTs
I-attributed SDTs
CFG
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Problem Solving
Quiz
•
12th Grade - University
10 questions
Algorithms
Quiz
•
University
5 questions
Compiler Quiz on Parsers
Quiz
•
University
15 questions
Advance database
Quiz
•
University
10 questions
Database - ERM - A Level AQA
Quiz
•
11th Grade - University
15 questions
HTML Table Quiz
Quiz
•
University
10 questions
Lec04 - Quiz03: Video and Audio players
Quiz
•
University
10 questions
defensive design
Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms
Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University
20 questions
La Hora
Quiz
•
9th Grade - University
7 questions
Cell Transport
Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University