Sunteți pe pagina 1din 1

Enrollment no. Total no. of pages: . B.TECH.

/ DUAL
DEGREE COMPUTER SCIENCE/IT III SEMESTER PRINCIPLES OF PROGRAMMING
LANGUAGE (CP-203) MAIN/BACK EXAM NOV. /DEC. 2016 Time: 3 Hours Maximum
Marks: - 60 Instructions to candidate: Attempt over all 5 questions selecting one
question from each unit. All questions carry equal marks. UNIT I Q1. (a) What is
compilation? Explain the analysis and synthesis phase of compilation during source
code to object Code (2+4) (b) Define Binding and Binding Time. After Language
design and implementation what are the different types of binding take place in a
programme (2+4) OR Q.2 (a) what do you mean by a good programming language?
Explain various properties used to make a good programming language (2+4) (b)
What do you mean by a parsing? Briefly explain Context free Grammar and BNF
grammar with suitable examples on it. (2+4) UNIT II Q3. What is Data Types?
Explain the specification and implementation of Elementary Data types with
suitable examples on it. (2+5+5) OR Q4 a) What do you mean by an Array .How
Multidimensional Array is implemented Explain it with suitable program on it (2+4)
b) Briefly explain the following mechanism of type during programming with
suitable examples i)Type Checking ii) Type Conversion (3+3) UNIT III Q5. Define
recursion. Differentiate between the execution of a simple and a recursive
subprogram. Give a simple as well as recursive solution for finding even and odd of
any number . (2+5+5) OR Q6a) what are the various mechanism to control a
Sequence used in programming language. Discuss it with suitable example. (2+4)
b) What do you mean by an Activation Record. When it will be created and
destroyed during Programming. Compare Code Segment with an Activation Record
(2+4) UNIT IV Q7 a) What Do you mean by a Encapsulation . Explain it with suitable
programme on it to show its feature.(2+4) b) What do you mean by a Garbage
Collection Technique? Explain Mark and Sweep Process to Accumulate Garbage
(2+4) OR Q8. What Do You Mean By a Storage Management Techniques? List and
Explain various Technique that is available with suitable example on it. (2+5+5)
UNIT V Q9. What do you mean by a parallel programming? Explain different types of
parallel processing used in programming Language with suitable example on it
(2+5+5) OR Q10.Briefly Explain the following with suitable examples on it:- A)
Threads B) Message Passing (6+6)

S-ar putea să vă placă și