Rajasthan Technical University 2009-4th Sem B.Tech Computer Science and Engineering (back) Principles of programing language - Question Paper
Rajasthan tech. Univercity
B.Tech 2nd Year
2009
Principles of programing language
The candidate should ensure mat this question
paper contains 3 printedpagps.
II B.E. (IV SEMESTER) (BACK) EXAMINATION, 2009
(New Four Year Semester Scheme) [Branch : Computer Engineering)
Paper II
PRINCIPLES OF PROGRAMMING LANGUAGE
Time Allowed : Three Hours Maximum Marks 80
(1) No supplementary answer-book will be given to any candidate. Hence the candidates should write the answer precisely in the Main answer-book only.
(2) All the parts of one question should be answered at one place in the answer-book. One complete question should not be answered at different places in the answer-book.
Turn over
Attempt any five questions.
All questions carry equal marks.
1. (a) What are the main features of good programming
language? ' 8'
(b) Define Virtual Computer. Discuss various types of translators in brief. 2+6
2. (a) Explain the concept of syntax and semantics.
Discuss the implementation of sets, list and records. 4+4
(b) Take one short program you have written in an imperative language (i.e., FORTRAN, C and PASCAL language) and rewrite it to be applicative. 8
3. (a) After language design and implementation, what
are the four bindings that can take place in a
program? 8
(b) Describe the implementation and specifications of structured data type. 8
4. Differentiate between (any two):
(i) static and stack based storage management
(ii) implicit and explicit sequence control
(iii) Co-routines and Sub programs
(iv) activation record and activation record instance.
4x4
5. (a) What do you understand by environment of a pro
gramming language? Discuss the effects of various environments of the languages. 3+5
(b) Explain the concept of local referencing environment. 8
6. (a) Explain sequence control methods for recursive
programs. 8
(b) Differentiate between Encapsulaton and Abstraction taking a suitable example. 4+4
7. (a) Explain the heap storage management with
suitable example.
(b) Describe the storage management scheme for variable size elements. 8
8. (a) How does embedded system differ from batch pro
cessing environment? 4+4
(>) What are the design issues of UNION type in C and PASCAL ? 8
II BE 4102 3 200
Attachment: |
Earning: Approval pending. |