Professional Documents
Culture Documents
3. What are different methods for semantic description? Explain with examples. [16]
4. (a) What are Boolean types? How they are usually represented on a machine?
(b) Distinguish between explicit variable declaration and implicit variable decla-
ration. What is the danger associated with implicit declaration?
(c) What are the advantages and disadvantages of stack-dynamic variables? [5+5+6]
5. Explain two-way selectors, their design issues, problems with nesting selectors. How
various programming languages resolve the problem? [16]
6. (a) With an example explain how reliability and cost of execution conflict with
each other.
(b) What do you mean by orthogonality? How does it contribute to readability?
(c) Explain briefly various language categories. [4+4+8]
?????
1
Code No: 35014 R05 Set No - 2
III B.Tech I Semester Supplimentary Examinations,Nov/Dec 2009
PRINCIPLES OF PROG. LANGUAGES
Computer Science And Engineering
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
?????
?????
2
Code No: 35014 R05 Set No - 3
III B.Tech I Semester Supplimentary Examinations,Nov/Dec 2009
PRINCIPLES OF PROG. LANGUAGES
Computer Science And Engineering
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
?????
1. (a) Discuss about various programming domains and their associated languages.
(b) Give some reasons why computer scientists and professional software develop-
ers should study general concepts of language design and evaluation. [8+8]
2. (a) Explain two-way selectors and their design issues.
(b) Explain in detail relational expressions, Boolean expressions and short-circuit
evaluations. [8+8]
3. (a) Distinguish between pass-by-value and pass-by reference.
(b) Explain the characteristics of sub program. [8+8]
4. (a) What is the problem with case sensitive names?
(b) Write short notes on floating-point data type. What do you mean by precision
and range? Also give IEEE Floating-Point Standard 754 format for single-and-
double-precision representation.
(c) What is a variable? What are the attributes of a variable? Elaborate on each
of them. [4+6+6]
5. (a) Write about Function composition , construction and apply-to-all, in mathe-
matical functions.
(b) Write about simple functions in mathematical function. [8+8]
6. (a) Briefly discuss about different types of abstract data types.
(b) What are the languages design requirements for a language that supports
abstract data types?
(c) What is an ADA specification package? What is body package? [6+5+5]
7. (a) Write comparisons of Prolog with ML including two similarities and two Dif-
ferences
(b) Write a Prolog program that finds the maximum of list of numbers. [8+8]
8. (a) Distinguish between two mathematical models of a language description.
(b) What do you mean by static semantic rules? Give examples of programming
language structures or elements that can be described easily with attribute
grammars than with BNF.
(c) Describe the basic concept of denotational semantics. [5+5+6]
?????
3
Code No: 35014 R05 Set No - 4
III B.Tech I Semester Supplimentary Examinations,Nov/Dec 2009
PRINCIPLES OF PROG. LANGUAGES
Computer Science And Engineering
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
?????
?????