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

MCA (Revised) : Time: 3 Hours Maximum Marks: 100 Note: Question 1 Is Compulsory. Attempt Any Three From The Rest

This document outlines the questions for an exam on Object Oriented Technologies and Java Programming. It includes 8 short answer questions (parts a-h) worth 5 points each on topics like multithreading, inheritance, exception handling, and packages. It also includes 4 longer answer questions worth between 3-10 points on topics like exception vs error, method overloading vs overriding, constructors, serialization, and more. The document provides guidance to attempt 1 compulsory question and 3 out of the remaining questions.

Uploaded by

Nitin Nilesh
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)
178 views3 pages

MCA (Revised) : Time: 3 Hours Maximum Marks: 100 Note: Question 1 Is Compulsory. Attempt Any Three From The Rest

This document outlines the questions for an exam on Object Oriented Technologies and Java Programming. It includes 8 short answer questions (parts a-h) worth 5 points each on topics like multithreading, inheritance, exception handling, and packages. It also includes 4 longer answer questions worth between 3-10 points on topics like exception vs error, method overloading vs overriding, constructors, serialization, and more. The document provides guidance to attempt 1 compulsory question and 3 out of the remaining questions.

Uploaded by

Nitin Nilesh
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

MCS-024

No. of Printed Pages : 3

MCA (Revised)
Term-End Examination

June, 2012
MCS-024 : OBJECT ORIENTED
TECHNOLOGIES AND JAVA
PROGRAMMING
Maximum Marks : 100

Time : 3 hours
Note :

1.

Question 1 is compulsory. Attempt any three from


the rest.

(a)

What is multithreading ? Explain how does


it help Java in its performance ?

(b)

Differentiate between throw and throws ?

(c)

What is Inheritance ? Briefly explain


importance of super keyword in Java ?

(d)

What are shift operators ? How many types


of shift operators are available in Java ?

(e)

Briefly explain benefits of stream classes.

(f)

Explain URL rewriting with an example.

(g)

Explain how exception handling is done in


Java, with the help of an example.

(h)

What is a package in Java ? Explain how


package is created in Java.

MCS-024

P.T.O.

2.

(a) Distinguish between the following terms


2.5x4=10
with examples :
(i) Exception and Error
(ii) Method overloading and overriding
(iii) Final and Finally
(iv) Instance variables and class variables.
(b) What is constructor ? Explain constructor
overloading in Java with an example.

3.

(a) What is the common usage of serialization?


(b) What is the result of compiling and running
the following program ?
public class test

10

3
5

Public static void main (string args[ ])


int i = -1;
i = i>>1 ;
system.out. println (i) ;

(c)

Explain use of keyword this with the help


of program ?
(d) Create a class with in this package "Amount
Inwords" to convert amount into words.
(Consider amount not to be more than
100000)
MCS-024

3
9

4.

5.

(a) What is URL ? Explain two constructor for


URL, in Java.net package. Explain how you
may connect to a URL in Java.

(b)

Write an applet that draws circle, a line, and


a polygon inside the applet's visible area.

(c)

Compare the different layout managers in


brief.

(a) Write a serulet program that fetches all data


from client and stores it in a database
successfully.

(b)

What do you mean by an event ? Explain


different components of an event.

(c)

What are the different types of AWT


components ? How are these components
added to the container.

MCS-024

You might also like