RTU Previous Exam Papers BE CSE Fourth Semester Principles of Programming Languages July 2011

RTU Previous Exam Papers BE CSE Fourth Semester

Principles of Programming Languages July 2011

UNIT-I

 (a) Explain different attributes of a good programming language.

(b)Explain binding and binding time with example.

OR

(a) Explain structure and operation of a computer.

(b) Explain different language paradigms.

 

UNIT – II

2 (a) Explain specification and implementation of elementary data type.

(b)Explain type checking and differentiate between type conversion and type coercion.

OR

(a)  Explain specification of structured data types.

(b) Explain type equivalence with example.

UNIT – III

(a)Explain subprogram definition and invocation.

(b) Describe sequence control method for recursive subprogram.

OR

(a)  Explain Exception and Exception handler.

(b) Explain sequence control of conditional statements.

UNIT – IV

(a)  What is scope, life time and visibility of a variable, compare local, non local and global reference environment.

(b) Explain different parameter passing mechanism.

OR

(a)  Define tasks and task management. Explain different task synchronization methods.

(b) Explain static and dynamic scope with a suitable example.

UNIT – V

(a) Explain storage management phases.

(b) Explain static and stock based storage management.

OR

(a) Explain heap storage management for variable size element.

(b) Discuss problems in recovery phase, reference count and garage collection.

 

Leave a Comment