Академический Документы
Профессиональный Документы
Культура Документы
1
III B.Tech I Semester Supplimentary Examinations, November 2007
PRINCIPLES OF PROGRAMMING LANGUAGES
( Common to Computer Science & Engineering and Computer Science &
Systems Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
⋆⋆⋆⋆⋆
4. Define associative array. What are the different design and implementation issues
associated with associative arrays. [16]
⋆⋆⋆⋆⋆
1 of 1
Code No: RR310505 Set No. 2
III B.Tech I Semester Supplimentary Examinations, November 2007
PRINCIPLES OF PROGRAMMING LANGUAGES
( Common to Computer Science & Engineering and Computer Science &
Systems Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
⋆⋆⋆⋆⋆
2. What do you mean by program verification. Explain the steps involved in program
verification. [16]
3. Define string. Assuming yourself as a language designer, what are the different
string operations which you permit and why. [16]
4. Define array and record. Classify arrays based on storage allocation. What are the
advantages and disadvantages of allocating memory during compilation time and
run time. [16]
6. (a) Define abstract types. What are the language design requirements for a lan-
guage that supports abstract data types? [8]
(b) What are the differences between private and limited private types in Ada?
[8]
⋆⋆⋆⋆⋆
1 of 1
Code No: RR310505 Set No. 3
III B.Tech I Semester Supplimentary Examinations, November 2007
PRINCIPLES OF PROGRAMMING LANGUAGES
( Common to Computer Science & Engineering and Computer Science &
Systems Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
⋆⋆⋆⋆⋆
2. (a) In what way do operational semantics differ from denotational semantics. [8]
(b) What purpose do predicates serve in an attribute grammar. [8]
3. A variable is more than a name given to a memory location. What are the attributes
of a variable. Explain in detail. [16]
8. (a) Define Cambridge polish and lambda notation. Explain with examples. [8]
(b) What is S-Expression and how is evaluated. Give an example. [8]
⋆⋆⋆⋆⋆
1 of 1
Code No: RR310505 Set No. 4
III B.Tech I Semester Supplimentary Examinations, November 2007
PRINCIPLES OF PROGRAMMING LANGUAGES
( Common to Computer Science & Engineering and Computer Science &
Systems Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
⋆⋆⋆⋆⋆
1. Compare procedure oriented and object oriented programming. Explain the object
oriented features supported by C++. [16]
2. (a) How do you describe the meanings of programs using dynamic semantics. [8]
(b) How do you describe the meaning of program using operational semantics.
Explain with example. [8]
3. (a) What is strongly typed language. Give examples of strongly typed languages.
[6]
(b) What are the advantages and disadvantages of strongly typed languages. [10]
5. (a) Discuss about actual parameters, positional parameters and keyword parame-
ters. [8]
(b) Explain the general subprogram characteristics. [8]
7. (a) Explain basic concepts and design issues of exception handling. [8]
(b) Discuss how exception handlers are helpful in C++ exception handling. [8]
⋆⋆⋆⋆⋆
1 of 1