CEGP013091: 49.248.216.238 28/05/2024 13:36:05 Static-238
CEGP013091: 49.248.216.238 28/05/2024 13:36:05 Static-238
8
23
PB3632 [6261]-39 [Total No. of Pages :2
ic-
tat
S.E. (Computer Engineering)
5s
PRINCIPLES OF PROGRAMMING LANGUAGES
6:0
02 91
(2019 Pattern) (Semester- IV) (210255)
3:3
0
Time : 2½ Hours ] [Max. Marks : 70
41
8/0 13
Instructions to the candidates:
0
1) Attempt Q.1 or Q.2, Q.3 or Q.4, Q.5 or Q.6, Q.7 or Q.8.
5/2
.23 GP
8
C
23
4) Assume suitable data if necessary.
ic-
16
tat
8.2
5s
Q1) a) Explain why Java is secured, portable and Dynamic? Which of the concept
.24
6:0
in Java ensures these? [8]
91
49
3:3
b) What are strings in java? Explain following operations of class strings in
30
41
8
23
iv) To search a substring
.23
ic-
16
OR
tat
8.2
5s
Q2) a) What is constructor? Show with exmaple the use and overloading default,
.24
6:0
3:3
b) Explain with example how the access protection is provided for packages
16
in java? [9]
8.2
OR
.24
49
P.T.O.
Q4) a) What are uncaught exceptions? Illustrate with example the use of try( ),
8
23
catch( ) and throw( ) methods in exception handling? [9]
ic-
tat
b) Differentiate between character streams and byte streams with examples.
5s
[9]
6:0
02 91
3:3
0
41
Q5) a) Differentiate between process and thread. What are various stages of
8/0 13
thread lifecycle? [8]
0
5/2
.23 GP
8
OR
C
23
ic-
Q6) a) Explain is Alive( ) and join( ) methods in multithreading. [8]
16
tat
8.2
5s
b) Explain features of AngularJS and ReactJS? [9]
.24
6:0
91
49
3:3
30
41
8
OR
23
.23
Q8) a) What is predicate in LISP? Explain any 5 predicates with example. [9]ic-
16
tat
8.2
5s
6:0
91
49
3:3
30
41
01
02
5/2
GP
8/0
CE
82
.23
16
8.2
.24
49
[6261]-39 2