Rajiv Gandhi Proudyogiki Vishwavidyalaya 2011 B.E Computer Science and Engineering cs-602 principle of programming language - Question Paper
Monday, 28 January 2013 02:45Web
Rajiv Gandhi Technological University, Bhopal
C.S.(Sixth Semester) EXAM, June-2011
PRINCIPLES OF PROGRAMMING LANGUAGES [ CS- 602(N) ]
Time: three Hrs Max Marks: 100 Min Marks: 35
Note:- Attempt any 5 ques. .All ques. carry equal marks.
Q.1 (a) discuss object oriented programming and logic programming with examples? [10]
(b) What do you mean by Aliasing and Overloading ? [10]
Q.2 (a) discuss the difference ranging from in kind coherence and kind equivalence ? [10]
(b) discuss the steps of compilation in PLL ? [10]
Q.3 (a) Consider the example program, explain 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) discuss design problems 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) discuss the phases of grammar ? [10]
(b)Which language treat all parameters (Operator) having the identical priority in what order the operations performed ? [10]
Q.6 (a) explain the effect of the global variable on the writability and readability of large
program ?[10]
(b) What do you mean by co- routines ? discuss. [10]
Q.7 (a) discuss 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 4 of the subsequent : [20]
(a) Functional programming languages
(b) Java threads
(c) Fundamentals of sub programes
(d) Parse tree
(e) fault handling
Earning: Approval pending. |