JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech II PRINCIPLES OF PROGRAMMING LANGUAGES Previous Question Paper (December - 2018 - R13)

B.Tech | II | II | R13 | December - 2018

Answer PaperPaper Code: 114DJMaximum 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.

Part A

125 marks
a

Define syntax and semantics.

2 marks

Answer

Syntax refers to the formal rules that define the structure and arrangement of symbols, tokens, and statements in a programming language. Semantics defines the meaning of those syntactically correct constructs, specifying the actions the computer performs when the code is executed.

b

What is Parse tree?

3 marks

Answer

A Parse tree is a hierarchical, graphical representation of the derivation of a string according to the rules of a context-free grammar. The root represents the start symbol, internal nodes represent non-terminal symbols, and leaf nodes represent terminal symbols, illustrating how a compiler parses source code.

c

What is strong typing?

2 marks

Answer

Sign in to view the complete answer paper.

d

Explain about guarded commands.

3 marks

Answer

Sign in to view the complete answer paper.

e

What is a co routine?

2 marks

Answer

Sign in to view the complete answer paper.

f

What is the scope and life time of a variable?

3 marks

Answer

Sign in to view the complete answer paper.

g

Define Message Passing.

2 marks

Answer

Sign in to view the complete answer paper.

h

What are the advantages of monitors?

3 marks

Answer

Sign in to view the complete answer paper.

i

What are the data types supported in python?

2 marks

Answer

Sign in to view the complete answer paper.

j

Differentiate between procedural and data abstraction.

3 marks

Answer

Sign in to view the complete answer paper.

Part B - Unit I

210 marks
a

Explain about the factors that influence the language design.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain about various programming domains.

5 marks

Answer

Sign in to view the complete answer paper.

OR
310 marks
a

Explain about the process of compilation.

5 marks

Answer

Sign in to view the complete answer paper.

b

Distinguish between general language generator and general language recognizer.

5 marks

Answer

Sign in to view the complete answer paper.

Unit II

410 marks
a

What are the design issues for logically controlled loop statements?

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain the problems associated with unconditional branching.

5 marks

Answer

Sign in to view the complete answer paper.

OR
510 marks
a

What is short circuit evaluation? Explain.

5 marks

Answer

Sign in to view the complete answer paper.

b

Describe the process of array initialization.

5 marks

Answer

Sign in to view the complete answer paper.

Unit III

610 marks
a

Explain in detail about generic subprograms.

5 marks

Answer

Sign in to view the complete answer paper.

b

Distinguish between static scoping and dynamic scoping with an example.

5 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

Explain how subprogram names are passed as parameters. Illustrate with an example.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain design issues that are involved in functions.

5 marks

Answer

Sign in to view the complete answer paper.

Unit IV

810 marks
a

Explain the basic concepts of exception handling? What are the design issues for exception handling systems?

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain in brief about Exception handling in C++.

5 marks

Answer

Sign in to view the complete answer paper.

OR
910 marks
a

What are the language design issues for abstract data types?

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain in detail Java Threads.

5 marks

Answer

Sign in to view the complete answer paper.

Unit V

1010 marks
a

Explain in detail procedural abstraction in python.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain in detail scope and bindings in python.

5 marks

Answer

Sign in to view the complete answer paper.

OR
1110 marks
a

Differentiate between functional and imperative languages.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain data abstraction in python.

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 JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD for B.Tech IT II II, December - 2018, 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...