Discussion
Match each translation task with the attribute flow it mainly uses.
List I
A. computing the value of an expression
B. passing a declared type to a list of names
C. passing jump targets into a boolean expression
D. computing the width of a record type
List II
1. inherited
2. synthesised
3. synthesised
4. inherited
Answer: D
Values built from parts flow upward while context supplied from outside flows downward. Recognising which applies is what determines whether the definition can be S-attributed. A single downward flow anywhere forces the L-attributed treatment.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development