RTU Previous Exam Papers BE CSE Fourth Semester
Principles of Programming Languages July 2011
1 (a) Discuss issues in language designing with example.
(b) Explain analysis synthesis stages in language translation.
1 (a) What is Parse tree ? Explain with example ;B
(b) Explain following .
(ii) BNF Grammar.
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
2 (a) Explain types and error checking. And also compare static
and dynamic checking.
(b) Explain followings with example :
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.
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.
4 (a) What is Information hiding ? Explain encapsulation with example.
(b) Discuss briefly the heap storage management for variable size elements.
4 (a) What is the importance of storage management of data Explain Garbage collection
(b) Explain stack-based storage management with example.
5. (a)Describe main characteristics of parallel programming ? What are their application areas ? flow expressions are evaluated in parallel programming language ? Explain.
Explain following with example :