II B.Tech - II Sem Model Papers Set - 4 Principles of Programming Languages Small Questions
II B.Tech - II Sem Model Papers Set - 4 Principles of Programming Languages Small Questions
II B.Tech - II Sem Model Papers Set - 4 Principles of Programming Languages Small Questions
SMALL QUESTIONS
BIG QUESTIONS
b) Discuss in detail how subprograms with stack and dynamic local variables are
implemented.
b) What is exception handling ? How exceptions are handled in C++ and JAVA ?
SMALL QUESTIONS
d) What is the differences between the deep-access method for nonlocal access in
dynamic scoped languages and the static-chain method for static-scoped languages.
BIG QUESTIONS
4. a) What are the different models of parameter passing methods ? How are they
implemented ? Give example for each.
SMALL QUESTIONS
d) List out the actions involved in semantics of a simple subprogram and semantics of
return of simple program.
BIG QUESTIONS
2. a) What are the syntactic structure or element that can be described using BNF
notation ? Why BNF is called a meta language ? Give examples.
7. a) What are clauses, terms and structures in Prolog ? What are facts, rules and queries
SMALL QUESTIONS
b) What are the difficulties in using an attribute grammar to describe all of the syntax
and static semantics of a contemporary programming languages ?
g) What is resolution ?
BIG QUESTIONS
3. a) What are the design issues and primary design issues for names ? Explain in detail.
b) Define Union. What is the difference between record and union ? Explain how
union is supported by different programming languages ?
4. a) Define subprogram. Also list its general characteristics and explain its categories ?