JNTU

JNTU B.Tech III Year PRINCIPLES OF PROGRAMMING LANGUAGES Previous Question Paper (November/December - 2017 - R13)

B.Tech | III Year | I | R13 | November/December - 2017

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

Note: This question paper contains two parts A and B. 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 and may have a, b, c as sub questions.

Part A

125 marks
a

List the principal phases of compilation.

2 marks

Answer

The principal phases of compilation are: Lexical Analysis, Syntax Analysis, Semantic Analysis, Intermediate Code Generation, Code Optimization, and Code Generation.

b

Explain the features of denotational semantics.

3 marks

Answer

Denotational semantics defines the meaning of a program by mapping it to mathematical objects. Its key features include: it is based on recursive function theory, it uses a formal mathematical notation to describe program state changes, and it focuses on the denotation (the mathematical value) of program constructs rather than the sequence of execution steps.

c

Explain about guarded commands.

2 marks

Answer

Sign in to view the complete answer paper.

d

Differentiate between user defined and primitive data types with an example.

3 marks

Answer

Sign in to view the complete answer paper.

e

Explain about the local referencing environments.

2 marks

Answer

Sign in to view the complete answer paper.

f

Explain the design issues for functions.

3 marks

Answer

Sign in to view the complete answer paper.

g

Explain the parts of smalltalk class.

2 marks

Answer

Sign in to view the complete answer paper.

h

Distinguish between Competitive Synchronization and Cooperation synchronization.

3 marks

Answer

Sign in to view the complete answer paper.

i

What is the type inferencing used in ML.

2 marks

Answer

Sign in to view the complete answer paper.

j

What are the applications of functional programming languages.

3 marks

Answer

Sign in to view the complete answer paper.

Part B

210 marks
a

Distinguish between ambiguous grammer and attribute grammar with an example.

5 marks

Answer

Sign in to view the complete answer paper.

b

Construct the parse tree for the simple statement.

A := B * (A + C)
5 marks

Answer

Sign in to view the complete answer paper.

OR
310 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 important factors influencing the writability of a language.

5 marks

Answer

Sign in to view the complete answer paper.

410 marks
a

Describe about the pointers in FORTRAN 90, Ada, pascal with an example.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write the syntax and semantic rule of an attribute grammer for simple assignment statements.

5 marks

Answer

Sign in to view the complete answer paper.

OR
510 marks
a

Explain about the control structures with an example.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain the different types of Union with an example.

5 marks

Answer

Sign in to view the complete answer paper.

6

Explain the different parameter passing methods with an example.

10 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

What is an overloaded subprogram explain with an example.

5 marks

Answer

Sign in to view the complete answer paper.

b

What are the characteristics of co-routine feature? List the languages which allow coroutines.

5 marks

Answer

Sign in to view the complete answer paper.

810 marks
a

What is semaphore. Explain the different types of semaphores.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain the design issues of an exception handling system.

5 marks

Answer

Sign in to view the complete answer paper.

OR
910 marks
a

Explain about the data abstraction for SIMULA 67.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain how to handle the exceptions in C++.

5 marks

Answer

Sign in to view the complete answer paper.

1010 marks
a

Write a function that computes the sum of numbers using vectors in LISP.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain the different types of data types used in Python.

5 marks

Answer

Sign in to view the complete answer paper.

OR
1110 marks
a

Explain how to handle exceptions in Java with an example.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain about the fundamentals of functional programming languages.

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 Year I, November/December - 2017, 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...