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

Reg. No:..

F 2371 Name:..
MCA (AFFILIATED COLLEGES) DEGREE MODEL EXAMINATIONS
DECEMBER 2012
Fourth Semester
JAVA AND WEB PROGRAMMING
(2007 admission onwards)
Time: Three Hours Maximum: 75 marks
Part A
Answer any ten questions.
Each question carries 3 marks.

1. What for break statement is used in Java? Give an example.
2. Explain any three event listener interfaces.
3. What is an Adapter class?
4. Explain the Thread class in Java.
5. What are Layout Managers?
6. Write a note on Event classes.
7. Write a note on HTTPRequest class.
8. What are salient features of Java?
9. Give the difference between Method Overloading and Method Overriding.
10. Write a note on access modifiers
11. Different types of JDBC drivers.
12. Explain the difference between Servlets and JSP. (10*3=30 marks)

Part B
Answer all questions.
All full questions carry equal marks.
.
13. List the characteristic features of java language. How java is associated with internet?
OR
14. Explain different types of operators in Java with examples.
15. Discuss overloading of methods with an example program.
OR
16. How is thread programming implemented in Java?
17. Discuss about abstract classes and Interfaces with examples.
OR
18. Discuss Java's user defined exceptions with an example program.
19. What is applet? Give different types of GUI Layout Managers in Java and explain any two of them
in detail with example programs.
OR
20. Discuss about JDBC connection class and statements
21. Briefly explains how to write a JSP page.
OR
22. Write about Servlet life cycle in detail. (5*9=45 marks)

You might also like