MCS-024__merged
MCS-024__merged
APPLICATIONS/ BACHELOR OF
COMPUTER APPLICATIONS
Term-End Examination
December, 2023
MCS–024 : OBJECT ORIENTED TECHNOLOGIES
AND JAVA PROGRAMMING
each. 5
P. T. O.
[2] MCS-024
example of each. 5
P. T. O.
[4] MCS-024
MCS–024
No. of Printed Pages : 4 MCS-024
MASTER OF COMPUER
APPLICATIONS (MCA) (REVISED)/
BACHELOR OF COMPUTER
APPLICATIONS B.C.A. (REVISED)
Term-End Examination
June, 2023
MCS-024 : OBJECT ORIENTED TECHNOLOGIES
AND JAVA PROGRAMMING
JVM. 5
P. T. O.
[2] MCS-024
string. 7
programming. 7
two interfaces. 6
classes. 7
P. T. O.
[4] MCS-024
MCS–024 7,070
No. of Printed Pages : 3 MCS-024
MCS-024 1 P.T.O.
(e) What is classpath ? Explain the utility of
classpath, with the help of a suitable
example. 5
(f) Compare private and protected access
specifiers. Give suitable example for each. 5
(g) Differentiate between Method-overloading
and Method-overriding, with the help of a
suitable example. 5
(h) What is layout manager ? Explain any two
layouts in Java. 5
MCS-024 2
4. (a) Write a Java program to create a Teacher
class and derive PGT, TGT and PRT classes
from Teacher class. Define appropriate
construction for all the classes. Also define
a method to display information of Teacher.
Make necessary assumptions as required. 10
MCS-024 3 P.T.O.
No. of Printed Pages : 4 MCS-024
M. C. A. (REVISED)/B.C.A. (REVISED)
Term-End Examination
December, 2022
MCS-024 : OBJECT ORIENTED TECHNOLOGIES
AND JAVA PROGRAMMING
P. T. O.
[2] MCS-024
code. 5
[3] MCS-024
MCS–024
No. of Printed Pages : 3 MCS-024
MCS-024 1 P.T.O.
(e) What is an exception ? Write any three
actions that can be taken after an
exception occurs in a program. 5
(f) What are threads ? Explain how threads
are created by implementing Runnable
Interface. 5
(g) What is serialization ? Differentiate
between Transient and Volatile keyword. 5
(h) Discuss the architecture of Applet, with the
help of a suitable block diagram. 5
MCS-024 2
4. (a) What is the difference between & operator
and the && operator ? Give suitable
example for each. 5
MCS-024 3 P.T.O.
No. of Printed Pages : 3 MCS-024
MCS-024 1 P.T.O.
(e) What is an Interface ? Write a program to
show how a class implements two interfaces. 5
(f) What is Object Serialization ? Briefly
discuss the working of Object Serialization. 5
MCS-024 3 P.T.O.
No. of Printed Pages : 4 MCS-024
M. C. A. (REVISED)/B.C.A. (REVISED)
Term-End Examination
December, 2020
Weightage : 75%
Lot-II P. T. O.
[2] MCS-024
(i) Extends
(ii) Implements
using interface. 8
students”. 10
exception handling. 10
inheritance. 10
P. T. O.
[4] MCS-024
MCS–024 7,750
No. of Printed Pages : 4 I MCS-024
MCA (Revised) / BCA (Revised)
Term-End Examination
MCS-024 / 3060
(d) What is interface in Java? Write a java
program to exhibit, how to define and
implement interface. 5
-X-
MCS-024/9500
Write a program to generate a circle in an
(d)
[5]
applet ?
example ? [51
example. [5]
briefly. [5]
of not. - [51
(2)
(c) What is a layout manager ? Discuss the Flow
layout and grid layout, give suitable example for
each. [1 0]
(I) Socket
MCS-024/9500 (4)
0031
No. of Printed Pages : 3 MCS-0241
MCA (Revised) / BCA (Revised)
Term-End Examination, 2019
MCS-024 : OBJECT ORIENTED TECHNOLOGIES
AND JAVA PROGRAMMING
Time : Three Hours] [Maximum Marks : 100
(Weightage 75%
MCS-024 (2)
(c) What is JDBC ? What are the characteristics of
JDBC ? Write a program to demonstrate how
JDBC connection is established. [8]
(d) Package
MCS-024 3 10,000
No. of Printed Pages : 3 I MCS-024
MCS-024 1 P.T.O.
(f) Explain container class in Java. Give its
significance for Java GUI programming. 5
MCS-024 2
4. (a) What are the features of Object Oriented
Programming ? Explain encapsulation and
its advantages, with an example.
(b) How is String class different from
StringBuffer class ? Write a program in
Java to find the length of a given string. 7
MCS-024 3 12,000