Mahatma Gandhi University (MGU) 2011 M.C.A MODEL Java and Web Programming - Question Paper
Saturday, 18 May 2013 10:30Web
MAHATMA GANDHI UNIVERSITY
MCA DEGREE exam
MODEL ques. PAPER
(2011 Revised Syllabi)
Third Semester
MCA 301 Java and Web Programming
Time : 3 hours Maximum : 75 Marks
Part A
ans any ten ques..
every ques. carries three marks.
• discuss java class constructors.
• discuss how break statement can be used in the form of goto statement.
• How can an interface be extended?
• discuss the Thread class in Java.
• discuss any two utility classes.
• Write a program to play an audio file in an Applet.
• How are values passed to an Applet?
• elaborate Layout Managers?
• Write a note on URL class.
• Write a note on Event classes.
• Write a javascript code to check whether a textfield is empty or not.
• Write a note on HTTPRequest class.
(10 x three = 30 marks) Part B
All ques. carry equal marks.
• A. Why is Java so important and discuss its advantages.
OR
B. discuss the concept of class, inheritance and inner classes.
• A. discuss the various keywords used for exception handling.
OR
B. How is thread programming implemented in Java?
• A. discuss with an example how events can be handled in Java.
OR
B. How are Menu programs implemented in Java?
• A. Write a complete program in Java for inserting a record into a database and
discuss it.
OR
B. discuss the subsequent classes
• URL
• URLConnection
• A. Write short notes on
• Life cycle of a Servlet
• Cookies
• Session Tracking
OR
B. Briefly explains how to write a JSP page.
(5 X nine = 45 marks)
Earning: Approval pending. |