Você está na página 1de 5

DMI COLLEGE OF ENGINEERING PALANCHUR, CHENNAI.

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING MODEL EXAM II IT2353 - WEB TECHNOLOGY UNIT-1 PART -A 1. Give the HTTP request message structure. 2. List the goals of SGML. 3. State the use of web server logs and list the contents of a message log. 4. Explain the three types of XHTML DTDs along with their usage. 5. Write down HTML tags to explain frame within a frame. 6. Define URI,URL and URN. 7. Develop a HTML page to use image as a link to another page. 8. How would you insert an image file named elephant.jpg at the very top of a web page. PART - B 1. Explain in detail the working of the following internet protocols i) ii) TCP/IP HTTP (8) (8) (8) (8)

2. i) Explain about the HTTP request message. used on forms.

ii) What is the significance of using forms on the web page? Enlist various components

3. i) How to create user interactive web pages using form elements and form objects? Develop a student registration form using HTML form elements. (Assume your own fields.) ii) Explain briefly about the HTTP response message 4. Explain in detail about web servers with its features. (8) (8) (16)

UNIT -2 PART A 1. What is meant by navigator object? 2. What is meant by function overloading? 3. Comment on the statement. Each object of a class has its own instance of static member variable. 4. Explain array creation in JavaScript with example. 5. Give the difference between alert box and confirm box. 6. For the following form, write down the JavaScript code to swap the contents of two text boxes. <FORMNAME=DaForm> Input text1:<INPUT TYPE=TEXT NAME=A> Input text2:<INPUT TYPE=TEXT NAME=B> </FORM> 7. Develop a JavaScript page to demonstrate an If condition by which the time on your browser is less than 10; you will get a Good morning greeting. 8. What is class selector in CSS? Give example. PART B 1.(a) List and explain in detail the various selector strings. (8)

(b) Use a one-dimensional array and write a script to solve following problem. Read in 20 number, each of which is between 1 and 100. As each number is read, print it only if it is not a duplicate of a number that has already been read. (8) 2.(a) Create a web page to get the student details for admission process with necessary validation using JavaScript and CSS. (8) (b) Discuss in detail about the basic XHTML syntax and semantics. 3.(a) Explain how functions can be written in JavaScript with an example. (b) Explain in detail about the CSS box model. (8) (8) (8)

4.(a) Develop a javascript to generate Armstrong numbers between the range 1 to 100. (6) (b) Explain about the Built-in objects in javascript. (10)

UNIT 3 PART A 1. List some HTML intrinsic attributes. 2. What are the commonly used methods of ServletRequest interface? 3. Name the methods and properties of window object in JavaScript. 4. Explain in brief the interaction between a web server and a servlet. 5. What is the difference between doGet () and doPost ()? 6. Define Cookies. 7. What are the life cycle methods of servlets. 8. Develop a DHTML page to change the background color using mouse over event on three squares containing different colors. PART B 1. (i)Explain about the document tree in detail. (ii)Explain DOM event handling in detail. 2. (i)Explain the servlet operation in detail with a sample servlet program. (ii) Write a program to invoke servlet from applet. (8) (8) (8) (8)

3. (i)Create a script that repeatedly flashes an image on the screen. Do this by changing the visibility of the image. Allow the user to control the blink speed. (8) (ii)Define cookies and explain how to create cookies and retrieve its value with an example. (8)

4. (i) Write a DHTML to shake the window of a button click. Make use of two buttons one button used to start the shaking and another button used to stop the shaking of window. (8) (ii)Explain about servlets and concurrency in detail. (8)

UNIT - 4 PART - A 1. What is meant by namespace? 2. What is DTD? Explain it with suitable examples. 3. What is XSL and why it is used? 4. Explain in brief about java scriptlet. 5. Define two types of XML parsers. 6. Give the two types of location paths. 7. Define AJAX. 8. List any three advantages of java Servlet over JSP. PART - B 1. i) Write a simple java program for displaying the contents of XML document using SAX API. ii) Explain in detail about JavaBeans technology basics. (8) (8)

2. i) Describe various tags from the JSTL tag library with syntax and example for each. (8) ii) Explain in detail about XPATH. 3. i) List and explain the XML syntax rules in detail. ii) Consider a database table with the following structure: OnlineExamination(Seat_no, name, marks) Write a JSP to display the student marks who attended the Online Examination. 4. i) Explain how an XML document can be displayed on a browser. ii) Explain the template-based transformation with the example XSLT document. (10) (6) (10) (8) (6)

UNIT-5

PART-A 1. What is meant by WSDL? 2. Define serialization. 3. Compare DTD and schema. 4. Define JAX-RPC. 5. Write short notes on UDDI. 6. State the difference between HTTP and SOAP. 7. Define Service endpoint interface. 8. What are the rules to be followed while writing the interface file for a web service?

PART - B 1. Explain in detail the XML schema, built in and user defined data type in detail. operating systems. ii) Explain the SOAP elements in detail. with examples. ii) Describe the WSDL with suitable examples. 4. i) Explain the method of creating web service with illustrative example. ii) Explain how SOAP is related to HTTP protocol with example. (16) (8) (8) (8) (8) (10) (6)

2. i) Explain instructions for obtaining and installing software for WindowsXP and Linux

3. i) What is serializable objects. Explain how to read and write serializable objects in java

Você também pode gostar