Friday, May 21, 2010

kuk paper PL

KURUKSHETRA UNIVERSITY QUESTION PAPERS
PAPER-1
UNIT 1

1.(a) What is the need for studying a variety of different programming languages? Also discuss the features of a good programming language. (10)
(b) Differentiate translator, compiler and interpreters. (10)

2.(a) What is the purpose of declaration statement? (5)
(b) Discuss the implementation of enumerated data-types. (5)
(c) What is the effect of type conversion on run time storage representation of the data object?

(5)
(d) Discuss the specification of Boolean data types. (5)

UNIT 2

3.(a) What is the vector data structure? What are the attributes of a vector? What operations are specified on vectors?
Discuss the implementation of vectors in detail. (15)
(b)Discuss the implementation of record. (5)
4.Write short notes on following:
a. Declaration and type checking of data structure
b. Type definitions
c. Generic subprograms
d. Operations on data structures. (5x4=20)

UNIT 3
5. Compare and contrast the following parameter transmission in terms of execution efficiency and power to produce side effects:
a. Call by Value
b. Call by Value-Result
c. Call by Reference (20)
6. What do you understand by sequence control? Discuss sequence control using structured control statements. What are the disadvantages of structured control statements? (20)

UNIT 4

7. Discuss heap storage management in detail. Also tell about variable and fixed size elements.
(20)
8. Write short notes on following:
a. Procedural and non-procedural Programming Languages
b. Functional and object-oriented Programming languages
c. Static Storage Management
d. Major run time elements requiring storage. (5x4=20)

No comments:

Post a Comment