Cochin University Exam Paper Principles of Programming Languages Nov08
1. (Answer ALL Questions)
(All questions carry FIVE Marks)
(a) Write a note on ambiguous grammar?
(b) Describe the concept of denotation Semantics?
(c) Write a note on Named Constants?
(d) What is meant by Referencing environment?
(e) Write general characteristics of small talk?
(f) Write the use of ‘Finally’ clause in Java exception handling Draw the internal representation of a LISP LIST
(g)Write a note on clausal form?
2. Write short note on
(i) Object oriented program
(i) Logical program
(ii) Functional program
3. Write short note on
(i) Attribute grammar
(ii) Context Free grammar
(ii) Operational Semantics
Categorise and explain the storage bindings’of variables according to their Lifetime?
4. (a)Explain different parameter passing mechanisms with examples?
(b) Explain various design issues for object Oriented Languages?
5. Write a note on following terms
(ii) Dynamic binding
6. a) Describe the features of Logic programming?
b) Write a note on Resolution principle?
7. a) Desciibe the inferencing process of prolog?
b) Describe the applications of Logic programming?