Question: In syntax-directed translation, what does an attribute represent?
Options:
Correct Answer: A semantic value associated with a grammar symbol
Solution:
An attribute represents a semantic value associated with a grammar symbol in syntax-directed translation.