
VIT Compiler Design -Semantic analysis
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Suganya Ram
Used 2+ times
FREE Resource
Enhance your content in a minute
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
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
DBMS LAB QUIZ
Quiz
•
University
15 questions
Linux Tools for Developers
Quiz
•
University
15 questions
Py-Hackathon - Week 2 - Day 2
Quiz
•
University
15 questions
python basics
Quiz
•
11th Grade - University
15 questions
[Python For All] Quiz 5 - Numpy
Quiz
•
University
10 questions
Coding - Computer Programming
Quiz
•
KG - University
10 questions
Inheritance
Quiz
•
University
10 questions
Step to Solve Problem in Computer Programming
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
