1. What is semantic analysis? Give some examples of errors that are detected during semantic analysis.
2. What are the main tasks involved in semantic analysis? How is it different from syntax analysis? Illustrate with an example.
3. Explain the terms: (a) decorated parse tree, (b) dependency graph, (c) inherited and synthesised attributes. Illustrate with examples.
4. How do we evaluate semantic rules in a syntax-directed defi nition? What are the common methods used for evaluating semantic rules?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here