JNTU

JNTU B.Tech III PRINCIPLES OF PROGRAMMING LANGUAGES Previous Question Paper (January/February - 2023 - R13)

B.Tech | III | I | R13 | January/February - 2023

Answer PaperPaper Code: 115ANMaximum Marks: 75Time: 3 hours

Part A is compulsory (25 Marks). In Part B, answer any one question from each unit (50 Marks).

Part A

125 marks
a

Specify influences on Language design.

2 marks

Answer

Language design is primarily influenced by computer architecture (the von Neumann bottleneck), programming methodologies (structured, object-oriented, functional), and the need for efficiency, reliability, and maintainability.

b

Illustrate ambiguous grammar with an example.

3 marks

Answer

A grammar is ambiguous if it can generate more than one distinct parse tree for a single string. For example, the expression grammar: <expr> → <expr> + <expr> | <id> is ambiguous because the string a + b + c can be parsed as (a + b) + c or a + (b + c).

c

Write short notes on guarded commands.

2 marks

Answer

Sign in to view the complete answer paper.

d

Compare record and union.

3 marks

Answer

Sign in to view the complete answer paper.

e

What are called recursive subprograms?

2 marks

Answer

Sign in to view the complete answer paper.

f

Write about generic subprograms in Ada and C++.

3 marks

Answer

Sign in to view the complete answer paper.

g

List applications of Logic programming.

2 marks

Answer

Sign in to view the complete answer paper.

h

Specify Inference process of prolog.

3 marks

Answer

Sign in to view the complete answer paper.

i

Define data abstraction.

2 marks

Answer

Sign in to view the complete answer paper.

j

List and summarize module libraries in python.

3 marks

Answer

Sign in to view the complete answer paper.

Part B

210 marks
a

Explain the process of compilation in each phase of a compiler.

5 marks

Answer

Sign in to view the complete answer paper.

b

Define BNF Grammar? How parse tree is generated for grammars? Explain with examples.

5 marks

Answer

Sign in to view the complete answer paper.

OR
310 marks
a

Describe the steps involved in the language evaluation criteria.

5 marks

Answer

Sign in to view the complete answer paper.

b

List and differentiate programming paradigms.

5 marks

Answer

Sign in to view the complete answer paper.

410 marks
a

Explain Categories of Arrays with suitable examples.

5 marks

Answer

Sign in to view the complete answer paper.

b

What do you mean by binding and binding time? Describe about various classes of binding times?

5 marks

Answer

Sign in to view the complete answer paper.

OR
510 marks
a

Discuss implementation of expressions and statements in C and C++ with examples.

5 marks

Answer

Sign in to view the complete answer paper.

b

Differentiate between static type checking and dynamic type checking and give their relative advantages.

5 marks

Answer

Sign in to view the complete answer paper.

610 marks
a

Illustrate stack based implementation of subprograms.

5 marks

Answer

Sign in to view the complete answer paper.

b

Elaborate design issues of subprograms and operations with example.

5 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

Explain about Co-Routines with an example.

5 marks

Answer

Sign in to view the complete answer paper.

b

Discuss about pass-by-result and pass-by-value-result parameter passing methods, with a detailed programming example for each.

5 marks

Answer

Sign in to view the complete answer paper.

810 marks
a

Illustrate concept of abstraction and encapsulation with suitable examples.

5 marks

Answer

Sign in to view the complete answer paper.

b

Elaborate how message passing helps in concurrency control? Explain with an example.

5 marks

Answer

Sign in to view the complete answer paper.

OR
910 marks
a

List and discuss different types of propositions present in logic programming.

5 marks

Answer

Sign in to view the complete answer paper.

b

Discuss about exception handling in Java with example.

5 marks

Answer

Sign in to view the complete answer paper.

1010 marks
a

Discuss in detail about Scheme functional programming language.

5 marks

Answer

Sign in to view the complete answer paper.

b

Give a comparison between functional and imperative languages.

5 marks

Answer

Sign in to view the complete answer paper.

OR
1110 marks
a

List and discuss in detail about data types in python with examples.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain the data objects in LISP.

5 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the question paper of PRINCIPLES OF PROGRAMMING LANGUAGES from JNTU for B.Tech ITE III I, January/February - 2023, R13.

For the solved question paper with answers, switch to the Answer Paper tab.

Other papers in PRINCIPLES OF PROGRAMMING LANGUAGES

Loading Question Papers

Fetching data from database...