R09 - December, 2011 - Regular Examinations - Set - 2.
B. Tech III Year I Semester Examinations, December-2011
PRINCIPLES OF PROGRAMMING LANGUAGES
(COMPUTER SCIENCE AND ENGINEERING)
Time: 3 hours Max. Marks: 75
Answer any five questions
All questions carry equal marks
---
1.a) Explain about various programming domains.
b) What are the factors that influence the basic design of programming languages?
[7 8]
2.a) Give BNF and EBNF versions of an expression grammar.
b) Explain about attribute grammars in detail. [7 8]
3.a) What do you mean by denotational semantic? Give denotational semantics of a simple logical loop.
b) Distinguish between static scoping and dynamic scoping with an example.[7 8]
4.a) Explain about user defined ordinal types.
b) What are the primary design issues particular to pointers? [7 8]
5.a) What do you mean by a functional side-effect?
b) What are the design issues of multiple selection constructs? [7 8]
6.a) Explain about different semantics models of parameter passing and implementation models of parameter passing.
b) Illustrate coroutines with example. [7 8]
7.a) Explain in detail about semaphores.
b) Discuss about exception handling in Java. [7 8]
8.a) Explain about LISP.
b) Discuss about basic elements of Prolog. [7 8]
--ooOoo--
PRINCIPLES OF PROGRAMMING LANGUAGES
(COMPUTER SCIENCE AND ENGINEERING)
Time: 3 hours Max. Marks: 75
Answer any five questions
All questions carry equal marks
---
1.a) Explain about various programming domains.
b) What are the factors that influence the basic design of programming languages?
[7 8]
2.a) Give BNF and EBNF versions of an expression grammar.
b) Explain about attribute grammars in detail. [7 8]
3.a) What do you mean by denotational semantic? Give denotational semantics of a simple logical loop.
b) Distinguish between static scoping and dynamic scoping with an example.[7 8]
4.a) Explain about user defined ordinal types.
b) What are the primary design issues particular to pointers? [7 8]
5.a) What do you mean by a functional side-effect?
b) What are the design issues of multiple selection constructs? [7 8]
6.a) Explain about different semantics models of parameter passing and implementation models of parameter passing.
b) Illustrate coroutines with example. [7 8]
7.a) Explain in detail about semaphores.
b) Discuss about exception handling in Java. [7 8]
8.a) Explain about LISP.
b) Discuss about basic elements of Prolog. [7 8]
--ooOoo--
-
CreatedSep 29, 2012
-
UpdatedSep 29, 2012
-
Views2,610