0% found this document useful (0 votes)
119 views

TYBSC CS CS 355 Object Oriented Programming Using Java I

Uploaded by

ankitsinght1326
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)
119 views

TYBSC CS CS 355 Object Oriented Programming Using Java I

Uploaded by

ankitsinght1326
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/ 2

Total No. of Questions : 5] SEAT No.

38
P-1304 [Total No. of Pages : 2

ic-
tat
[6055]-305

5s
T.Y. B.Sc.

2:0
31 1
1
0:3
COMPUTER SCIENCE

6/2 02
CS-355: Object Oriented Programming using Java - I
1
(2019 Pattern) (Semester - V) (CBCS) (Paper - V)
02
8 2 P0
A

Time : 2 Hours] [Max. Marks : 35


0/0
8.7 CA

Instructions to the candidates :

38
1) All questions are compulsory.
7.3

ic-
2) Figures to the right indicate full marks.

tat
5s
.24

2:0
49

Q1) Attempt any Eight of the following : [8 × 1 = 8]


11
0:3
02

a) What is javadoc?
31
01
02

b) What are command line argument?


6/2
AP

c) Define Constructor.
0/0
CA
82

d) List any two wrapper classes.

38
7.3

-
e) Write the use of extends key word. tic
8.7

sta
.24

f) Define functional interface.


:05
49

11
:32

g) List any two uncheck exception.


02
10

h) How to open file in read mode?


23
1
8 2 P0
/20

i) What is AWT?
06
A
0/

j) Give the names of any two Adaptor class.


CA
7.3
8.7
.24

P.T.O.
49
Q2) Attempt any FOUR of the following : [4 × 2 = 8]

38
a) Differentiate between String and StringBuffer class.

ic-
tat
b) State any four features of java.

5s
c) What is polymorphism? How to implement it at compile time?

2:0
31 1
1
0:3
d) How to define and handle user defined exception?

6/2 02
e) What is listener? How to inherit it in program?
1
02
8 2 P0
A

Q3) Attempt any TWO of the following : [2 × 4 = 8]


0/0
8.7 CA

a) Write a java program to copy the content from one file to another file,

38
7.3

while copying change the case of alphabets.

ic-
tat
b) Write a java program using swing to accept details of employee (eno,

5s
.24

ename, esal) and display it by clicking on a button.

2:0
49

11
c) Define abstract class shape with abstract method area (). Write a java
0:3
02

program to calculate area of circle.


31
01
02

Q4) Attempt any Two of the following : [2 × 4 = 8]


6/2
AP
0/0

a) Write a java program to give Red colour at the background of TextField


CA
82

by clicking on a button.

38
7.3

-
b) Explain the uses of super keyword with example. tic
8.7

sta
c) What is string? Explain its any three method with an example.
.24

:05
49

11
:32

Q5) Attempt any ONE of the following : [1 × 3 = 3]


02
10
23
1

a) Explain the execution process of java program.


8 2 P0
/20

b) Explain MVC architecture in details.


06
A
0/
CA


7.3
8.7
.24
49

[6055]-305 2

You might also like