Rajiv Gandhi Proudyogiki Vishwavidyalaya 2011 B.E Computer Science and Engineering cs-602 principle of programming language - exam paper
Monday, 28 January 2013 03:00Web
Rajiv Gandhi Technological University, Bhopal (MP)
B.E. (Sixth Semester) exam , June-2011
(Computer Science & Engg. Branch)
PRINCIPLES OF PROGRAMMING LANGUAGES [ CS- 602(N) ]
Time : 3 Hours Maximum Marks: 100 Minimum 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) discuss the steps of compilation in PLL ? [10]
Q.2 (a) discuss the difference ranging from in kind coherence and kind equivalence ? [10]
(b) What do you mean by Aliasing and Overloading ? [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) discuss the phases of grammar ? [10]
(b) Why pointer is necessary in any programming languages ?[10]
Q.5 (a) What is the scope of a loop parameter in ADA ?compare it with static and dynamic
scope ? [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. |