0% found this document useful (0 votes)
24 views3 pages

Nov Dec 2023

.

Uploaded by

poorvadhepe9
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)
24 views3 pages

Nov Dec 2023

.

Uploaded by

poorvadhepe9
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/ 3

Total No. of Questions : 8] SEAT No.

8
23
P-9114 [Total No. of Pages : 3

ic-
tat
[6179]-239

2s
S.E. (Computer Engineering)

4:5
02 91
PRINCIPLES OF PROGRAMMING LANGUAGES

9:3
0
(2019 Pattern) (Semester - IV) (210255)

30
6/1 13
Time : 2½ Hours] [Max. Marks : 70
0
2/2
.23 GP

Instructions to the candidates :


1) Answer Q.1 or Q.2, Q.3 or Q.4, Q.5 or Q.6, Q.7 or Q.8.
E

2) Figures to the right indicate full marks.


82

8
C

23
3) Neat diagrams must be drawn wherever necessary.

ic-
4) Make suitable assumptions whenever necessary.
16

tat
8.2

2s
Q1) a) Justify the meaning of each characteristic of java in the statement ''java
.24

4:5
is simple, architecture -neutral ,portable, interpreted and robust and
91
49

9:3
secured programming language.'' [6]
30
30

b) Define String in Java programming. Explain the following operations of


01
02

class string in Java with example.1. To find the length of a string. 2. To


2/2

compare two strings 3. Extraction of character from a string


GP

[6]
6/1

c) Define Constructor. Show the example about overloading of default,


CE
82

8
23
.23

parameterized, and copy constructors. [6]


ic-
16

tat
OR
8.2

2s
.24

4:5

Q2) a) Write a program to print the area of a circle by creating a class named
91

'Area' having two methods. First method named as 'setRadius' takes the
49

9:3

radius of the circle as a parameter and the second method, named as get
30
30

'Area' returns the area of the circle. The radius of circle is entered through
01
02

the keyboard? [6]


2/2
GP

b) Explain the Garbage Collection concept in Java Programming with code


6/1

example. [6]
CE
82
.23

c) Explain command line arguments and variable length arguments in Java


with an example. [6]
16
8.2

P.T.O.
.24
49
Q3) a) Elaborate the significance of the keyword '' super '' in Java. With code

8
23
example of each case. [6]

ic-
b) Explain in brief the interface and package in Java with code examples.[6]

tat
2s
c) Create a custom Exception class. You need to consider two integer

4:5
inputs that the user must supply, You will display the sum of the integers

02 91
9:3
if and only if the sum is less than 100. If it is not less than 100, throw

0
your custom exception [5]

30
6/1 13
OR
0
2/2
.23 GP

Q4) a) Elaborate on the significance of the keyword '' final'' in java. With code
example of each case. [6]
E
82

8
C

23
b) Explain various Exception Handing mechanism in java [6]

ic-
16

tat
c) Write a program to create interface A in a package; in this interface we
8.2

2s
have two methods meth1 and meth2. Implements this interface in another
.24

4:5
class named MyClass by importing your package. [5]
91
49

9:3
30
30

Q5) a) Explain different ways to implement Threads in Java? With code example.
01
02

[6]
2/2
GP
6/1

b) Explain the below methods in detail [6]


CE
82

8
23
i) Isalive
.23

ii) Notify ic-


16

tat
8.2

2s

iii) GetPriority
.24

4:5
91

c) List the Features, advantages and limitations of Vue JS [6]


49

9:3
30
30

OR
01
02

Q6) a) Explain the uses of is Alive() and join() methods in the java thread with
2/2
GP

examples. [6]
6/1
CE

b) Explain the thread life cycle model in Java. [6]


82
.23

c) Write a short note on React JS and Angular JS. [6]


16
8.2
.24

[6179]-239 2
49
Q7) a) Explain the features of LISP programming. [6]

8
23
b) Explain the following Equality predicates using a suitable example. [6]

ic-
i) EQUAL

tat
2s
ii) EQ

4:5
iii) EQL

02 91
9:3
iv) =

0
30
c) 6/1 13
Explain the following number predicates using a suitable example. [5]
0
i) NUMBERP
2/2
.23 GP

ii) ZEROP
E

iii) PLUSP
82

8
C

23
iv) EVENP

ic-
16

v) ODDP

tat
8.2

2s
OR
.24

4:5
Q8) a) Explain the following functions with suitable examples. [6]
91
49

9:3
i) CAR()
30
30

ii) CDR()
01
02

iii) FIRST()
2/2
GP

b) Describe Logical Programming. Enlist its features. Also, list the


6/1

commonly used Logical programming languages. [6]


CE
82

8
23
c) Evaluate the following forms of LISP. [5]
.23

i) (car (cdr ‘(1 2 3 4 5))) ic-


16

tat
8.2

2s

ii) (car (cdr ‘(a (b c) d e)))


.24

4:5

iii) (car (cdr (cdr ‘(1 2 3 4 5 6 7 ED))))


91
49

9:3
30
30
01


02
2/2
GP
6/1
CE
82
.23
16
8.2
.24

[6179]-239 3
49

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy