
S && L Attributes
Quiz
•
Computers
•
University
•
Hard
ALDO STALIN J L
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The inter-dependencies among synthesized and inherited attributes at nodes in parse tree is depicted using_______.
Dependency graph
Directed Acyclic graph
Interdependency graph
Wait for Graph
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Consider node for production T-->T1*F , so the T.val at this node defined by
T.val:=T1.val*F1.val
T.val:=T1.val*F1.val
T.val: =T1.val*F. val
T.val: =T.val*F. val
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Translation scheme with left recursive grammar for production E->E1+T is
E.val:=E1.val+T.val
E.val:=E.val + T.val
Both a and b
None of these
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
L-attributed definitions include all syntax directed definitions of
LL(1) grammar
LK(1) grammar
LR(0) grammar
Both a & c
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
------------------ syntax for mknode is:
mknode (op ,left)
mknode (id ,left ,right)
mknode (op ,right)
mknode (op ,left ,right)
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
-------------syntax of mkleaf is:
mkleaf (id , num)
mkleaf (num , val)
mkleaf (id , entry)
Both b & c
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In an L-attributed SDD , attributes may be inherited or synthesized.
True
False
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
13 questions
time and space complexity
Quiz
•
University
9 questions
DFD
Quiz
•
University
10 questions
Python Quiz 1 : Python Basics
Quiz
•
University
15 questions
Computer Science Quiz
Quiz
•
University
15 questions
Stored Procedure, Function & Packages
Quiz
•
University
14 questions
Traveling Salesman Quiz - Batch 1
Quiz
•
University
10 questions
DBMS Lab Quiz 1 2B3
Quiz
•
University
10 questions
Web Programming Quiz 1
Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
22 questions
FYS 2024 Midterm Review
Quiz
•
University
20 questions
Physical or Chemical Change/Phases
Quiz
•
8th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
12 questions
1 Times Tables
Quiz
•
KG - University
20 questions
Disney Trivia
Quiz
•
University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University