Cp4154-Principles of Programming Languages Iat Ii
Cp4154-Principles of Programming Languages Iat Ii
Cp4154-Principles of Programming Languages Iat Ii
Part – A (10*2=20)
1 Define Syntax and Semantics. CO1 K1
10 When the prepositions are said to be Horn clauses? Give an example. CO5 K1
Part – B (5*16=80)
a) What are the formal methods of describing the syntax? Explain the Grammar in CO1 K2
11 detail.
Or
b) Define Attribute Grammar. Generate the fully attributed parse tree for the assignment K2
statement B = C * D – E CO1
a) Explain in detail about the Pointers and References. K2
CO2
12 Or
b) What is meant by data type ?What are the various Primitive Data type .Evaluate the
CO2 K2
various data types
a) What are the various parameter Passing methods Explain with an example CO3 K2
13 Or
b) What is Overloaded methods .Explain the generic methods CO3 K2
a) How the different types of semaphores to synchronize the tasks? Explain. In what
CO4 K2
14 way the monitors are different semaphores?
Or K2
CO4
b) How the Exceptions are handled in C++? Explain with suitable examples.
a) Compare the functional features of LISP, Scheme and ML. Provide necessary CO5 K2
15 examples.
Or
b) Discuss about Predicate calculus. How are they used to prove the theorems? Explain K3
CO6
with proper examples.
SUBJECT IN-CHARGE
HOD