JNTU

JNTU B.Tech II PRINCIPLES OF PROGRAMMING LANGUAGES Previous Question Paper (April/May - 2023 - R13)

B.Tech | II | II | R13 | April/May - 2023

Answer PaperPaper Code: 114DJMaximum Marks: 75Time: 3 Hours

Note: i) Question paper consists of Part A, Part B. ii) Part A is compulsory, which carries 25 marks. In Part A, Answer all questions. iii) In Part B, Answer any one question from each unit. Each question carries 10 marks and may have a, b as sub questions.

Part A

125 marks
a

What is the difference between syntax and semantics?

2 marks

Answer

Syntax refers to the formal rules that define the structure or grammar of a programming language, such as how statements and expressions are formed. Semantics refers to the meaning of those syntactically correct constructs, defining what the program actually does when executed.

b

What are the uses of BNF and EBNF?

3 marks

Answer

BNF (Backus-Naur Form) and EBNF (Extended BNF) are used to provide a formal, precise notation for defining the syntax of programming languages. They serve as a standard for language designers to specify grammar rules and are essential for generating parsers and compilers that verify the structural correctness of source code.

c

What are named constants? Give an example?

2 marks

Answer

Sign in to view the complete answer paper.

d

List the issues related to aliasing.

3 marks

Answer

Sign in to view the complete answer paper.

e

What is local referencing environment?

2 marks

Answer

Sign in to view the complete answer paper.

f

Give an example for parameters that are subprograms.

3 marks

Answer

Sign in to view the complete answer paper.

g

How do you create a thread in Java? Give example?

2 marks

Answer

Sign in to view the complete answer paper.

h

List the applications of logic programming.

3 marks

Answer

Sign in to view the complete answer paper.

i

What are the features of ML?

2 marks

Answer

Sign in to view the complete answer paper.

j

What are the uses of module library?

3 marks

Answer

Sign in to view the complete answer paper.

Part B

210 marks
a

List and describe different language domains.

5 marks

Answer

Sign in to view the complete answer paper.

b

Discuss various language paradigms.

5 marks

Answer

Sign in to view the complete answer paper.

OR
310 marks
a

List and explain different phases of compilation process.

5 marks

Answer

Sign in to view the complete answer paper.

b

What is attribute grammar? Give an example.

5 marks

Answer

Sign in to view the complete answer paper.

410 marks
a

What are the different primitive data types provided by various languages? Discuss with examples?

5 marks

Answer

Sign in to view the complete answer paper.

b

Define binding, type checking, strong typing, and aliasing.

5 marks

Answer

Sign in to view the complete answer paper.

OR
510 marks
a

What is the need for iterative statements? Give examples.

5 marks

Answer

Sign in to view the complete answer paper.

b

What are user defined data types? Give the syntax and purpose of them.

5 marks

Answer

Sign in to view the complete answer paper.

610 marks
a

Discuss the design issues of sub programming.

5 marks

Answer

Sign in to view the complete answer paper.

b

What is static scope and dynamic scope? Explain the evaluation procedure.

5 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

Explain different parameter passing methods.

5 marks

Answer

Sign in to view the complete answer paper.

b

Discuss the design issues and advantages of overloaded sub programming.

5 marks

Answer

Sign in to view the complete answer paper.

810 marks
a

In detail, discuss the object oriented concepts in Ada 95.

5 marks

Answer

Sign in to view the complete answer paper.

b

What are the basic elements of Prolog?

5 marks

Answer

Sign in to view the complete answer paper.

OR
910 marks
a

How does concurrency is achieved by using Monitors? Discuss.

5 marks

Answer

Sign in to view the complete answer paper.

b

What is an exception? What is exception propagation?

5 marks

Answer

Sign in to view the complete answer paper.

1010 marks
a

Give the features of LISP.

5 marks

Answer

Sign in to view the complete answer paper.

b

Compare functional and imperative languages.

5 marks

Answer

Sign in to view the complete answer paper.

OR
1110 marks
a

In detail give the key concepts of scripting language.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write a short notes on uses of separate compilation.

5 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the solved question paper with answers of PRINCIPLES OF PROGRAMMING LANGUAGES from JNTU for B.Tech IT II II, April/May - 2023, R13.

For the question paper without answers, switch to the Question Paper tab.

Other papers in PRINCIPLES OF PROGRAMMING LANGUAGES

Loading Question Papers

Fetching data from database...