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

Mca 2 Sem Object Oriented Programming Kca202 2023

Uploaded by

roushangupta919
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)
292 views

Mca 2 Sem Object Oriented Programming Kca202 2023

Uploaded by

roushangupta919
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

Printed Pages:02 Sub Code:KCA202

Paper Id: 238528 Roll No.

MCA
(SEM II) THEORY EXAMINATION 2022-23
OBJECT ORIENTED PROGRAMMING
Time: 3 Hours Total Marks: 100
Note: Attempt all Sections. If require any missing data; then choose suitably.

SECTION A

1. Attempt all questions in brief. 2 x 10 = 20


(a) How are objects implemented in Java?
(b) What are the limitations of static members?
(c) Write a java program to create a list.
(d) List out the types of constructors.
(e) Explain about try-catch with example.
(f) What is the advantage of static class in Java?
(g) List out various Layout Managers used in Java.
(h) Discuss Generic programming in java
(i) Define ServerSocket in java.
(j) Compare thread based and process based multitasking in java
90

2
13
_2
SECTION B

2.
P2

2. Attempt any three of the following: 10x3=30

24
3E

(a) Compare Java Runtime Environment and Java Virtual Machine.

5.
(b) Distinguish between Procedure Objected Programming and Object Oriented

.5
P2

Programming.
17
(c) What is meant by Stream and what are the types of Streams and classes of the
Q

|1
Streams?
(d) Write short note on following components:
7
:0

(i) Label
(ii) TextField
54

(iii) TextArea
:
08

(iv) List
(v) Choice
3

(e) Discuss Synchronizing threads and Daemon Threads.


02
-2

SECTION C
08

3. Attempt any one part of the following: 10x1=10


9-

(a) Explain in detail about Array with syntax and example.


|1

(b) Describe in detail about the types of inheritance in java.

4. Attempt any one part of the following: 10x1=10


(a) What do you understand by Layout manager? Illustrate three type of layout
available in Java with the help of suitable syntax.
(b) Explain event handling model in Java with proper example.

QP23EP2_290 | 19-08-2023 08:54:07 | 117.55.242.132


5. Attempt any one part of the following: 10x1=10
(a) What is Open Data Base Connectivity (JDBC)? How it is used in java data base
connectivity.
(b) Write short notes on the following:
(i) Toggle buttons
(ii) Combo box
(iii) Tabbed Panes
(iv) Scroll Panes

6. Attempt any one part of the following: 10x1=10


(a) What do you mean by Constructor? How many type of constructor availed in java?
Explain with suitable examples.
(b) What do you mean by generics in java? Explain advantage and disadvantage of
genetic programming in java.

7. Attempt any one part of the following: 10x1=10


(a) Which is the alternative approach to implement multiple inheritances in Java?
Explain, with an example?
(b) What do you mean by Exception? What is checked and unchecked exception?
Explain Exception chaining.
90

2
13
_2

2.
P2

24
3E

5.
.5
P2

17
Q

|1
7
:0
: 54
08
3
02
-2
08
9-
|1

QP23EP2_290 | 19-08-2023 08:54:07 | 117.55.242.132

You might also like