R09 - December, 2011 - Regular Examinations - Set - 1.

 B. Tech IIIYear I Semester Examinations, December-2011

PRINCIPLES OF PROGRAMMING LANGUAGES

(COMPUTER SCIENCE AND ENGINEERING)

Time: 3 hours Max. Marks: 75

Answer any five questions

All questions carry equal marks

---

1.a) Explain in detail about various languageevaluation criteria and the characteristics that affect them.

b) Explain the process of compilation. [7 8]

2.a)Distinguish between language generators and language recognizers.

b)Give grammar for simple assignment statements.

c)Give an unambiguous grammar for if-then-else. [15]

3.a) What do you mean by axiomatic semantics? Give theweakest precondition for a sequence of statements.

b) Explain about stack dynamic variables and explicitheap dynamic variables.

[7 8]

4.a)Explain about subscript bindings and various array categories.

b)Explain about heap management of a single size and variable size segments.

[7 8]

5.a)What do you mean by type coercion?

b)Explain about iteration based on data structures.

c)What are guarded commands? [15]

6.a)Explain about generic sub programs.

b) Explain how various implementation models ofparameter passing are actually implemented. [7 8]

7.a)Explain about parameterized abstract data types with an example in C .

b)Explain in detail about monitors. [7 8]

8.a)Discuss about exception handling in C .

b)Give applications of logic programming. [7 8]

--ooOoo--

  • Created
    Sep 29, 2012
  • Updated
    Sep 29, 2012
  • Views
    3,939