Nov Dec 2024
Nov Dec 2024
7
23
PC2815 [Total No. of Pages : 3
ic-
tat
[6352]-39
0s
S.E. (Computer Engineering)
7:4
PRINCIPLES OF PROGRAMMING LANGUAGES
02 91
9:3
(2019 Pattern) (Semester - IV) (210255)
0
40
Time : 2½ Hours] 0/1 13 [Max. Marks : 70
Instructions to the candidates:
0
2/2
1) Answer four questions Q.1 or Q.2, Q.3 or Q.4, Q.5 or Q.6, Q.7 or Q.8.
.23 GP
7
C
23
ic-
Q1) a) Explain following features of Java in detail. [6]
16
tat
i) Platform Independence
8.2
0s
ii) Object – Oriented
.24
7:4
91
49
9:3
iii) Dynamic Programming
30
40
b) Explain one dimensional and multi - dimensional array used in Java with
01
02
7
23
OR
.23
ic-
16
7:4
91
49
9:3
i) final
01
02
ii) finalize()
2/2
GP
0/1
iii) references
CE
72
P.T.O.
49
[6352]-39 1
Q3) a) Define Inheritance and list the advantages. Explain the types of Inheritance
7
23
in Java with suitable Java code. [9]
ic-
b) Explain following concepts with example. [8]
tat
0s
i) abstract classes
7:4
02 91
9:3
ii) Method Overloading
0
40
iii) 0/1 13
Package
0
2/2
.23 GP
iv) Interface
E
OR
72
7
C
23
Q4) a) Describe Exception. Write any two examples of exception. Explain
ic-
16
tat
8.2
handling. [9]
0s
.24
7:4
b) Elaborate the significance of keyword “Super” in Java. Demonstrate with
91
49
9:3
suitable example. [8]
30
40
01
02
2/2
GP
7
23
b) List the features of JavaScript. Write short note angular JS. List its
.23
ic-
advantages and disadvantages. [9]
16
tat
8.2
0s
OR
.24
7:4
91
9:3
30
40
i) getPriority()
01
02
ii) setPriority()
2/2
GP
0/1
iii) notifyAll()
CE
72
b) List and elaborate features of React JS, Angular JS, Vue JS. [9]
.23
16
8.2
.24
49
[6352]-39 2
Q7) a) Describe Functional Programming. Enlist its features. Also list the
7
23
commonly used functional programming languages. [6]
ic-
b) Write sequences of CAR’s and CDR’s that will pick the atom of the
tat
following s- [6]
0s
expression:
7:4
02 91
9:3
i) (Monday Tuesday Wednesday Thursday)
0
40
ii) ((Monday Tuesday) (Wednesday Thursday))
0/1 13
iii) (((Monday) (Tuesday) (Wednesday) (Thursday)))
0
2/2
.23 GP
7
OR
C
23
ic-
Q8) a) Explain the following functions with suitable examples. [6]
16
tat
i) CAR ()
8.2
0s
ii) CDR ( )
.24
7:4
91
iii) cons ( )
49
9:3
30
i) NUMBERP
2/2
GP
ii) ZEROP
0/1
iii) PLUSP
CE
72
7
iv) EVENP
23
.23
ic-
v) ODDP
16
tat
vi) MEMBERP
8.2
0s
7:4
91
9:3
30
40
01
02
2/2
GP
… … …
0/1
CE
72
.23
16
8.2
.24
49
[6352]-39 3