Download as pdf or txt
Download as pdf or txt
You are on page 1of 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?


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.

You might also like