JNTU

JNTU B.Tech III PRINCIPLES OF PROGRAMMING LANGUAGES Previous Question Paper (May/June - 2019 - R13)

B.Tech | III | I | R13 | May/June - 2019

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

Part A is compulsory which carries 25 marks. Answer all questions in Part A. Part B consists of 5 Units. Answer any one full question from each unit. Each question carries 10 marks.

Part A

125 marks
a

Explain about the Virtual Machine.

2 marks

Answer

A Virtual Machine is a software-based emulation of a physical computer system. It provides an abstraction layer between the hardware and the software, allowing programs to run in a platform-independent environment by executing intermediate code (like bytecode) rather than machine-specific instructions.

b

What are the uses of attribute grammar?

3 marks

Answer

Attribute grammars are primarily used to:

  • Define the static semantics of a programming language.
  • Perform type checking and ensure language constraints that cannot be expressed by context-free grammars.
  • Facilitate the translation process by associating semantic attributes with grammar symbols to store information during parsing.
c

Explain about the problems in unconditional branching.

2 marks

Answer

Sign in to view the complete answer paper.

d

Explain about the enumerated data type.

3 marks

Answer

Sign in to view the complete answer paper.

e

What are the characteristics of subprograms?

2 marks

Answer

Sign in to view the complete answer paper.

f

Explain about coroutines.

3 marks

Answer

Sign in to view the complete answer paper.

g

Why does Java not have a destructors?

2 marks

Answer

Sign in to view the complete answer paper.

h

What are the applications of logic programming?

3 marks

Answer

Sign in to view the complete answer paper.

i

Describe the scoping rule in ML.

2 marks

Answer

Sign in to view the complete answer paper.

j

Explain about the fundamentals of FPL.

3 marks

Answer

Sign in to view the complete answer paper.

Part B

210 marks
a

Explain about the preconditions and postconditions of a given statement mean in axiomatic semantics.

5 marks

Answer

Sign in to view the complete answer paper.

b

Describe the steps involved in the language evaluation criteria.

5 marks

Answer

Sign in to view the complete answer paper.

OR
310 marks
a

Explain the different categories of languages.

5 marks

Answer

Sign in to view the complete answer paper.

b

Draw and explain the flow chart for compilation process.

5 marks

Answer

Sign in to view the complete answer paper.

410 marks
a

Explain about the mixed-mode assignments that are used in Ada and Java Languages.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain about the type compatibility with an example.

5 marks

Answer

Sign in to view the complete answer paper.

OR
510 marks
a

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

5 marks

Answer

Sign in to view the complete answer paper.

b

Define an array? Explain how to initialize an array? Explain the different types of arrays.

5 marks

Answer

Sign in to view the complete answer paper.

610 marks
a

Describe about the static and dynamic scope of variables with an example.

5 marks

Answer

Sign in to view the complete answer paper.

b

Define sub program. What are the distinct categories of subprograms.

5 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

Explain about the generic subprograms in Ada with an example.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain about the semantic models of parameter passing.

5 marks

Answer

Sign in to view the complete answer paper.

810 marks
a

Explain about the concurrency in Ada 95.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain the basic elements of prolog.

5 marks

Answer

Sign in to view the complete answer paper.

OR
910 marks
a

Explain how to handle the exceptions in Ada.

5 marks

Answer

Sign in to view the complete answer paper.

b

What are the design issues of abstract data types.

5 marks

Answer

Sign in to view the complete answer paper.

1010 marks
a

Explain about the internal representation of two LISP lists.

5 marks

Answer

Sign in to view the complete answer paper.

b

Describe the scoping rule in common LISP and Haskell.

5 marks

Answer

Sign in to view the complete answer paper.

OR
1110 marks
a

Compare the functional programming languages with imperative languages.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write a LISP function Fib(n) that computes nth Fibonacci number.

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 CSE III I, May/June - 2019, 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...