Made Easy 2022 test series, CD-1 question
in Compiler Design
33 views
0 votes
0 votes

Consider the following syntax directed definition:

What type of SDT is this? 

  1. S-attributed
  2. L-attributed
  3. Neither
  4. Both

Due to production #2 and #3, it should not be L-attributed as parent is taking value from its child. Also, as semantic rules are written anywhere in the RHS of the production, it is not S-attributed.

 

Given answer in test series : L-attributed

in Compiler Design
by
5 points
33 views

Please log in or register to answer this question.

Ask
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
Welcome to GATE CSE Doubts, where you can ask questions and receive answers from other members of the community.