MCS-024

No. of Printed Pages : 3

MCA (Revised) Term-End Examination

0

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 ?

5

(b)

Differentiate between throw and throws ?

5

(c)

What is Inheritance ? Briefly explain importance of super keyword in Java ?

5

(d)

What are shift operators ? How many types of shift operators are available in Java ?

5

(e)

Briefly explain benefits of stream classes.

5

(f)

Explain URL rewriting with an example.

5

(g)

Explain how exception handling is done in Java, with the help of an example.

5

(h)

What is a package in Java ? Explain how package is created in Java.

5

MCS-024

1

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

2

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.

8

(b)

Write an applet that draws circle, a line, and a polygon inside the applet's visible area.

5

(c)

Compare the different layout managers in brief.

7

(a) Write a serulet program that fetches all data from client and stores it in a database successfully.

8

(b)

What do you mean by an event ? Explain different components of an event.

6

(c)

What are the different types of AWT components ? How are these components added to the container.

6

MCS-024

3

Object Oriented Technologies and Java Programming.pdf ...

(d) What are shift operators ? How many types. of shift operators are available in Java ? 5. (e) Briefly explain benefits of stream classes. 5. (f) Explain URL rewriting with an example. 5. (g) Explain how exception handling is done in 5. Java, with the help of an example. (h) What is a package in Java ? Explain how. package is ...

22KB Sizes 1 Downloads 132 Views

Recommend Documents

Object Oriented Technologies and Java Programming.pdf ...
Page 1 of 3. No. of Printed Pages : 3 I MCS-024. MCA (Revised). Term-End Examination. December, 2011 oO. MCS-024 : OBJECT ORIENTED.

Object Oriented Technologies and Java.pdf
show the tcp connection establishment and. data transfer. - o 0 o -. MCS-024 2. Page 2 of 2. Main menu. Displaying Object Oriented Technologies and Java.pdf.

OBJECT ORIENTED PROGRAMMING WITH JAVA - 04 13.pdf ...
... about TCP/IP socket with suitable example. ************. Page 2 of 2. Main menu. Displaying OBJECT ORIENTED PROGRAMMING WITH JAVA - 04 13.pdf.

OBJECT ORIENTED PROGRAMMING WITH JAVA - 11 13.pdf ...
after discussion or example and encourage self-study. The early chapters ... Displaying OBJECT ORIENTED PROGRAMMING WITH JAVA - 11 13.pdf. Page 1 of 2.

Search-Based Test Case Generation for Object-Oriented Java ...
Jul 16, 2008 - Java Software Using Strongly-Typed Genetic Programming. José Carlos ..... ObjectVector of JDK 1.4.2), the statistics show a clear re- duction in ...

Object Oriented Programming Structure of Java ...
Structure of Java ... ➢because the Java compiler thinks it possible that ..... Th f ti ll. h i i J. ▻ The function-call mechanism in Java supports this possibility, which is ...

Search-Based Test Case Generation for Object-Oriented Java ...
tal principle of OO programming known as data encapsulation. The goal of the evolutionary search is to find MCS that define interesting state scenarios for the variables which will be passed, as arguments, in the call to the MUT. The input domain thu