RGPV Question Papers BE Principles Of Programming Languages VI Sem June 2011

RGPV Question Papers BE

Principles Of Programming Languages VI Sem June 2011

Note:- Attempt any five question .All questions carry equal marks.
Q.1 (a) Explain object oriented programming and logic programming with examples? [10]
(b) What do you mean by Aliasing and Overloading ? [10]
Q.2 (a) Explain the difference between in type coherence and type equivalence ? [10]
(b) Explain the steps of compilation in PLL ? [10]
Q.3 (a) Consider the example program, discuss the call by reference and call by value : [10]
Swap ( a[i] , a[j] )
What happens if i = j ?
Swap ( int x , int y )

{x = x + y ;

y = x – y ;

x = x – y ;}

(b) Explain design issues of sub program and parameter passing methods ? [10]
Q.4 (a) What is the scope of a loop parameter in ADA ?compare it with static and dynamic  scope ? [10]
(b) Why pointer is necessary in any programming languages ? [10]
Q.5 (a) Explain the phases of grammar ? [10]
(b)Which language treat all parameters (Operator) having the same priority in what order the operations performed ? [10]
Q.6 (a) Discuss the effect of the global variable on the writ ability and readability of large program ?[10]
(b) What do you mean by co- routines ? Explain. [10]
Q.7 (a) Explain procedure of encapsulation & message passing in programming language ?[10]
(b) Write the working procedure of exception handling in C++ ? [10]
Q.8 Write short notes on any four of the following : [20]
(a) Functional programming languages
(b) Java threads
(c) Fundamentals of sub programs
(d) Parse tree
(e) Error handling

1 thought on “RGPV Question Papers BE Principles Of Programming Languages VI Sem June 2011”

Leave a Comment