You are on page 1of 1

Principles of Programming Languages Branch: 2nd CSE

1. Explain the following: (a) read- eval- print (b) Quoting (c) CAR, CDR, CONS (d) set function 2. (a) Explain the concepts of functional programming. (b) Write a scheme program for finding factorial of a given number. 3. (a) Write a scheme program for finding GCD of two numbers. (b) Explain the concept of term in PROLOG. 4. Explain the following: (a) Horn clause (b) Resolution with examples (c) Unification with examples. 5. 6. 7. 8. What is meant by encapsulation. Explain with an example. Explain dynamic method binding with an example. What is inheritance. Write a C++ program for multiple inheritance. Explain the concepts of object oriented programming.

You might also like