Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 2

February 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

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 different types of control statements?

4. Describe the following with respect to Exception Handling:


A) Exception Classes B) Common Exceptions

5. What is the difference between bound property and constraint property?

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?


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

10. How do you implements inheritance in java?


11. Draw and explain the JDBC Application Architecture?

12. What are the difference between an interface and an abstract class?
13. Explain the working of struts with an example?

14. What is the difference between JavaBeans and NetBeans?

15. Explain the life cycle of a Servlet?

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

You might also like