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

SET-B

UNIT-1

1 (a) Discuss issues in language designing with example.

(b) Explain analysis synthesis stages in language translation.

OR

1 (a) What is Parse tree ? Explain with example ;B

(b) Explain following .

(i) CFG

(ii) BNF Grammar.

UNIT-II

2 (a) What are Arrays ? Write address calculation functions tor an element of 2-1) array

(b) What is an elementary data type 9 Explain with their specification and implementation

OR

2 (a) Explain types and error checking. And also compare static

and dynamic checking.

(b) Explain followings with example :

(i) List

(ii) Union.

UNIT-III

3    (a) What is sequence control ? With the help of an example show

the sequence control between statements of a sub program.

(b) Define exception. How exception handler works, explain w iih example.

OR

3    (a) Explain subprogram with its definition and activation, (.live an example of recursive .subprogram.

(b) Define parameter. Explain methods for parameter transmission between subprograms.

UNIT-IV

4    (a) What is Information hiding ? Explain encapsulation with example.

(b) Discuss briefly the heap storage management for variable size elements.

OR

4 (a) What is the importance of storage management of data Explain Garbage collection

(b) Explain stack-based storage management with example.

 

UNIT-V

5. (a)Describe main characteristics of parallel programming ? What are their application areas ? flow expressions are evaluated in parallel programming language ? Explain.

OR

Explain following with example :

(a) Threads

(b) Monitor.

Leave a Comment