Kurukshetra University 2008-4th Sem B.Tech ester. - Question Paper
Wednesday, 03 July 2013 10:50Web
BT-4/J08
Programming Language
Paper: CSE-204-E
choice II
Time--Three Hours][Maximum marks--100
Note:- students are needed to attempt 5 ques. in all by selecting at lowest 1 ques. from every unit.
UNIT 1
ques. one a) what is the need for studying a variety of various programming languages? Also explain the features of a good programming language. 15.
b) differentiate translator, compiler and interpreters. 5
ques. two a) what is the purpose of declaration statement? 5
b) explain the implementation of enumerated data kinds. 5
c)what is the effect of kind conversion on run time storage representation of the data-object? 5.
d) explain specification of boolean data kinds. 5
UNIT 2
ques. three a) what is the vector data structure? elaborate the attributes of a vector? what operations are specified on vectors? 15.
b) explain the implementation of records. 5
ques. four write short notes on subsequent :
i. declaration and kind checking of data structure
ii. kind definitions
iii. generic subprograms
iv. operations on data structures. 5X4=20
UNIT 3
ques. five compare and contrast the subsequent para meter transmission in terms of execution efficiency and power to produce side effects:
i. call by value
ii. call by value-result
call by reference. 20
ques. six what do you understand by sequence control? explain sequence contol using structured control ? explain sequence control using structures control statements. elaborate the disadvantages of structured control statements? 20.
unit 4
ques. seven explain heap storage management in detail. also tell about variable and fixed size elements. 20
ques. eight write short notes on following:
i. procedural and non procedural programming languages
ii. functional and object oriented programing languages
iii. static storage management
iv. major run time elements requiring storage. 5X4=20
Earning: Approval pending. |