Model WT
Model WT
KCG College of Technology Department of Computer Science and Engineering Model Exam Web Technology-CS9225 Part-A (18*2=36)
Date:
1. What are the advantages and disadvantages of CGI. 2. Write down the methods in servlet life cycle. 3. Differentiate static web pages from dynamic web pages. 4. Give any three differences between ASP and JSP. 5. List out the various exceptions used in Server Side Programming. 6. Discuss four important methods of HTTPServlet class. 7. Write a XML schema for an address. 8. List and explain the XML syntax rules in detail. 9. Why should be namespaces used in XML? 10.Discuss briefly the various DOM methods. 11. What is tree based parsing and event based parsing? 12.Differentiate between DOM and SAX. 13.Describe the processing of XSLT document. 14.What are Cookies. 15.What it is useful to redirect a request to a different resource? 16.State the purpose of PHP. 17.Mention the significance of using PHP 18.Define Sessions Part-B (3*16=48) 19.a) Describe the servlet architecture and the various interfaces invoked by the servlet container. (8)
b) With suitable coding explain how cookies are created and sessions are tracked by Servlet. OR a) Write a servlet program for online Railway Reservation. b) Write a JSP program for Online Shopping. 20.a) Explain how XML parser works? (8) (8) (8) (8)
b) Write a XML document for displaying your context details(address, email, mobile no) OR a) Explain how XML is processed with the help of SAX.. b) Briefly explain XML schema with example. (8) (8)
21.a) Design your personal web page using forms and get the values, use all the form elements and show the concept of sessions. (8) b)How to access MYSQL data from PHP? OR (8)
a) Create an e-library application with a database (Hint: using XHTML/DHTML, Servlet, JSP/ASP. Whatever suitable for the application. (16)
Part-C (2*18=16) Answer any two. 22.How document manipulation is done with XML document object module and explain in detail the various methods of DOM. 23.Write an ASP code to display different image each time a user visits a page. 24.Write PHP script to count the number of visitors and display it on webpage every time it is loaded.