2
 MAY 2011 Master of Computer Application (MCA)  Semester 4 MC0078  Java Programming  4 Credits (Book ID: B0831 & B0832) Assignment Set  1 (40 Marks) Answer all Questions Each Question carries five marks Book ID: B0831 1. Write Java program to convert the Rupees to Dollars. 2. Discuss the following with suitable example programs for each: A) Data Types in Java B) Variables in Java 3. What are the difference between an interface and an abstract class? 4. Describe the following with respect to Exception Handling: A) Exception Classes B) Common Exceptions Book ID: B0832 5. What do you mean by Object Adapter? Explain with an example?  6. Define RMI. Define the architecture of RMI invocation. 7. Define the following terms: A) Socket B) Port C) Datagram Describe the steps in reading and writing data from sockets. 8. What is the advantage of CORBA over EJB?  

MC0078 Summer Drive Assignment 2011

Embed Size (px)

Citation preview

8/6/2019 MC0078 Summer Drive Assignment 2011

http://slidepdf.com/reader/full/mc0078-summer-drive-assignment-2011 1/2

 MAY 2011

Master of Computer Application (MCA)  – Semester 4

MC0078 – Java Programming  – 4 Credits

(Book ID: B0831 & B0832)

Assignment Set  – 1 (40 Marks)

Answer all Questions Each Question carries five marks

Book ID: B0831

1. Write Java program to convert the Rupees to Dollars.

2. Discuss the following with suitable example programs for each:

A) Data Types in Java

B) Variables in Java

3. What are the difference between an interface and an abstract class?

4. Describe the following with respect to Exception Handling:

A) Exception Classes B) Common Exceptions

Book ID: B08325. What do you mean by Object Adapter? Explain with an example?  

6. Define RMI. Define the architecture of RMI invocation.

7. Define the following terms:

A) Socket B) Port C) Datagram

Describe the steps in reading and writing data from sockets.

8. What is the advantage of CORBA over EJB? 

8/6/2019 MC0078 Summer Drive Assignment 2011

http://slidepdf.com/reader/full/mc0078-summer-drive-assignment-2011 2/2

 MAY 2011

Master of Computer Application (MCA) –

Semester 4

MC0078 – Java Programming  – 4 Credits

(Book ID: B0831 & B0832)

Assignment Set  – 2 (40 Marks)

Answer all Questions Each Question carries five marks

Book ID: B0831

1. Write a program to demonstrate the concept of I/O streams in Java.

2. How do you implements inheritance in java?

3. Explain 2-tier and N-tier architecture?? 

4. What are the difference between an interface and an abstract class?

Book ID: B0832 

5. Explain the working of struts with an example?

6. What is the difference between TCP and UDP? 

7. Explain the life cycle of a Servlet? 

8. Explain the importance, applications and working of Java Struts.