CS506 Final paper 23 February 2013

Total Questions: 52
Total Marks: 80
Total MCQs: 40 (Each of 1 Mark)
Total Short Questions: 4 (Each of 2 Mark)
Total Short Questions: 4 (Each of 3 Mark)
Total Long Questions: 4 (Each of 5 Mark)

• What are advantages of jsp over PHP? 2
• Why use client side validation? 2
• Character oriented vs. byte oriented stream? 2
• Does JSP support run time exception handling if yes then how? 2
• Advantages of JSP over servlet? 3
• Difference between variable declared inside declaration part and scriplet part? 3
• Why not use ==operator to compare string object of equal value? 3
• Why need expression languages? 3
• What does it means method or class abstract? 5
• Why need JSP as we have servlet? 5
• What impact have java bean object can produce when it store in session objects? 5
• Difference between page centric and page with beans approach? 5

Another Paper:

Total Questions: 52
Total Marks: 80
Total MCQs: 40 (Each of 1 Mark)
Total Short Questions: 4 (Each of 2 Mark)
Total Short Questions: 4 (Each of 3 Mark)
Total Long Questions: 4 (Each of 5 Mark)

1.Write down java code to create a dialogue box. (5)
2.What is package? How are they organized? (5)
3.Differentiate between value binding and method binding. (5)
4.What is expression in JSP? (5)
5.What are the participants of MVC model and what are their responsibilities? (3)
6.Can an arraylist contain heterogeneous objects? If yes then why? (3)
7.How can we read cookies from client? (3)
8.EJBs and JSP/Servlets run on which type of server? (3)
9.How JSP pages are informed about error pages? (2)
10.What happens if a class does not provide a constructor in a class? (2)
11.What are two ways of request dispatching? Explain. (2)
12.What type of problems persists with struts framework? (2)

 

DOWNLOAD SOLUTION HERE
loading...