0% found this document useful (0 votes)
22 views1 page

October 2020

Desc of kssf Ijj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views1 page

October 2020

Desc of kssf Ijj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

R15

H
Code No: 125AN
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
B. Tech III Year I Semester Examinations, October - 2020
U
PRINCIPLES OF PROGRAMMING LANGUAGES
(Computer Science and Engineering)
se
Time: 2 hours Max. Marks: 75
Answer any five questions
All questions carry equal marks
d
---

1.a) Give an unambiguous grammar for if-then-else.


Pa
b) Explain in detail about various language implementation methods. [7+8]

2.a) Compute the weakest precondition for the following sequences of assignment
statements and their post conditions:
pe
a = 2 * b + 1;
b=a-3
{b<0}
rB
b) Differentiate between functional and imperative languages. [7+8]

3.a) Discuss different data types in different programming languages.


b) Differentiate between pointers and reference types with examples. [7+8]
TE
4.a) Explain the problems associated with Unconditional Branching.
b) Describe the process of Array initialization. [7+8]
C
5.a) Describe the problem of passing multi-dimensioned arrays as parameters. Explain with
examples.
H
b) In what fundamental ways do the generic parameters to a Java 5.0 generic method
differ from those of C++ methods? [7+8]
-2
6.a) What are the design issues for subprograms? What are the differences between a
function and a procedure?
8-
b) What languages allow the user to overload operators? Give examples. [7+8]

7.a) How are instances of Ada generic classes and C++ template classes created? Explain
10
with examples.
b) How can exceptions explicitly raised in C++? Explain with an example. [7+8]
-
8.a) What is the difference between an ML val statement and an assignment statement in C?
20
b) How exceptions are handled in Python? [7+8]
2
---ooOoo---

You might also like