You are on page 1of 1

RA

III B.Tech I Semester Regular Examinations,January 2010 PRINCIPALS OF RPOGRAMMING LANGUAGES Common to Information Technology, Computer Science And Engineering Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks

1. Explain the list structures in prolog.

[16]

2. Explain in detail about the various iterative statements and their design issues. [16] 3. (a) Explain the type checking and inheritance mechanism in Smalltalk. (b) Explain the importance of inheritance in C++. 4. (a) What is referential transparency. Explain. (b) Explain the data types and structures of LISP. 5. (a) Explain how to compute the attribute values for the parse tree. (b) Generate a fully attributed parse tree for A = A + B. 6. (a) What is the importance of Readability? (b) How Readability helps in the following concepts: i. Overall Simplicity ii. Orthogonality. 7. Discuss about the heap management during the runtime process. [4+6+6] [16] [8+8] [8+8] [8+8]

8. (a) How subprogram names can be passed as arguments to other programs in Ada. Explain with example. (b) Explain function templates in C++. [10+6]

You might also like