May Jun 2022-4
May Jun 2022-4
May Jun 2022-4
8
23
P651 [Total No. of Pages : 2
ic-
[5869]-280
tat
S.E. (Computer Engineering)
4s
PRINCIPLES OF PROGRAMMING LANGUAGES
0:3
02 91
(2019 Pattern) (Semester - IV) (210255)
8:3
0
20
Time : 2½ Hours] 4/0 13 [Max. Marks : 70
0
Instructions to the candidates:
7/2
.23 GP
8
3) Assume suitable data if necessary.
C
23
ic-
16
tat
Q1) a) Describe primitive data types. List the primitive data types in Java and
8.2
4s
their respective storage capacity. [6]
.24
0:3
b) Write short notes on Java Virtual Machine(JVM) with diagram. [6]
91
49
8:3
c) State the uses of the final keyword in Java? [6]
30
OR
20
8
iii) To extract a character from a string
23
.23
b) Explain Java’s role in Internet. Justify the following features of Java. [6]
tat
8.2
i) Secure
4s
0:3
91
iii) Distributed.
49
8:3
Q3) a) State the difference between character and byte stream in Java. Give any
4/0
two input and any two output classes for character streams. [6]
CE
80
OR
.24
[5869]-280 P.T.O.
49
1
Q4) a) Define is inheritance. List the advantages of Inheritance. Explain Simple
8
23
inheritance in java with example. [6]
ic-
b) Elaborate the significance of key word “Super” in Java. Demonstrate
tat
with example for Super keyword in Java constructor. [6]
4s
c) State the importance of finally blocks. Illustrate the ways finally block
0:3
differ from finalize() method. [5]
02 91
8:3
Q5) a) Interpret the terms multitasking and multiprocessing and multithreading
0
20
4/0 13
in Java with example. [6]
b) List the Features, advantages and limitations of Angular JS. [6]
0
7/2
c) Write the JavaScript code to create Login page Form. [6]
.23 GP
OR
E
8
C
23
b) Elaborate the terms getPriority() and setPriority() methods with example.
ic-
[6]
16
tat
c) Explain the uses of isAlive() and Join() methods in Java thread with
8.2
4s
example. [6]
.24
0:3
91
49
Q7) a) Describe Functional Programming. Enlist its features. Also list the
8:3
30
b) Write sequences of CAR’s and CDR’s that will pick the atom pear our
01
02
8
23
c) Explain the concept of “Structures” in Prolog with example. [5]
.23
OR
ic-
16
tat
Q8) a) Describe Logical Programming. Enlist its features. Also list the commonly
8.2
4s
0:3
concept. [6]
8:3
30
i) NUMBERP
01
02
ii) ZEROP
7/2
GP
iii) PLUSP
4/0
iv) EVENP
CE
80
v) ODDP
.23
16
8.2
.24
[5869]-280
49