June - 2023 MCS-024

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

No.

of Printed Pages : 4 MCS-024

om
MASTER OF COMPUER

u.c
APPLICATIONS (MCA) (REVISED)/
BACHELOR OF COMPUTER

ur
APPLICATIONS B.C.A. (REVISED)
Term-End Examination

tG
June, 2023
en
MCS-024 : OBJECT ORIENTED TECHNOLOGIES
AND JAVA PROGRAMMING
m

Time : 3 Hours Maximum Marks : 100


ign

Weightage : 75%
Note : Question No. 1 is compulsory. Attempt any
ss

three questions from the rest.


UA

1. (a) Explain the basic features of object

oriented programming language. 5


NO

(b) Why is Java called machine independent

language ? Explain the functionality of


IG

JVM. 5

P. T. O.
[2] MCS-024

(c) Differentiate between constructor and

om
method, give example for both. 5

(d) What is an abstract class ? Explain the use


of abstract class with an example. 5

u.c
(e) What are cookies and session variables ?
Briefly discuss the utility of both. 5

ur
(f) Explain the different steps in the life cycle

tG
of an applet. 5

(g) Discuss the relationship between data


en
abstraction and encapsulation. 5
m
(h) Explain the usage of container in Java
Applet and Servlet. 5
ign

2. (a) Explain how exception handling is


performed in Java. Briefly discuss the
ss

concept of checked exception and


unchecked exception, with an example of
UA

each. 10

(b) Briefly discuss the concept of listener in


NO

Java. Write a program in java to


implement mouse motion listener, support
IG

your program with suitable comments. 10


[3] MCS-024

3. (a) What is string class ? How is it different

om
from String Buffer class ? Write a java

program to find the length of a given

u.c
string. 7

(b) What is servlet ? Explain how session

ur
handling is performed in servlet

programming. 7

tG
(c) What is an Interface ? Write a java
en
program to show how a class implements

two interfaces. 6
m

4. (a) What is RMI in Java ? Write the steps to


ign

create stub and skeleton. 7

(b) Write a java program to create a volume


ss

class. Derive cube and sphere classes from


UA

it. Define constructor for these three

classes. 7
NO

(c) What is Synchronization ? Explain how

methods are synchronized in Java, with


IG

the help of an example. 6

P. T. O.
[4] MCS-024

5. Write short notes on the following : 5×4=20

om
(a) Dynamic Binding

(b) Stream Tokenizer

u.c
(c) JDBC Drivers

ur
(d) Function Overloading

tG
en
m
ign
ss
UA
NO
IG

MCS–024 7,070

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