Code No - Google Groups

4 downloads 226 Views 111KB Size Report
Code No. 2179. FACULTY OF ENGINEERING. B.E. 3/4 (CSE) II Semester (Suppl.) Examination, December ... (b) Explain about c
Code No. 2179 FACULTY OF ENGINEERING B.E. 3/4 (CSE) II Semester (Suppl.) Examination, December 2012 Subject: Principles of Programming Languages Time: 3 Hours

Max.Marks: 75

Note : Answer all questions from Part A. Answer any Five questions from Part B. PART – A (25 Marks) 1. Write any four important uses of programming languages.

(2)

2. Write the differences between lexical syntax and concrete syntax of the language.

(3)

3. List the design principles of imperative languages.

(3)

4. Write the differences between array and enumerated data types in imperative languages?

(2)

5. Distinguish between dangling pointers and memory leakage.

(3)

6. List the benefits of modular development approach.

(2)

7. Write the uses of constructor and destructors in OOP.

(2)

8. Abbreviate the functions sew, pile of the language little quilt.

(3)

9. Give an example for fact and rules in logic programming language.

(3)

10. What are the uses of interrupt and time sharing systems?

(2)

PART – B (50 Marks) 11.

Explain any two language implementation techniques for bridging the gap between high and low level languages, with neat figures, and their advantages and disadvantages.

(10)

12.

Explain the BNF rules for statements, using the pascal syntax.

(10)

13.

Explain objects in small talk, including its uses, implementation considerations and limitations.

(10)

14.

Explain the various approaches for expression evaluation in functional programming language.

(10)

15.(a) Explain operations and linear functions on lists. (b) Write about cuts in prolog.

(5) (5)

16.(a) What is shared data problem? Explain you idea for solving shared data problem. (5) (b) Explain about concurrency in Ada. 17.

(5)

Write about: (a) syntactic ambiguity (b) Parameter passing methods. (c) Information hiding.

(4) (3) (3) ****