Web Technologies

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Code No: R05311202

Set No. 1

III B.Tech I Semester Regular Examinations, November 2007 WEB TECHNOLOGIES (Information Technology) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks 1. (a) What are the benets of using styles compared with placing formatting directly into the text of the Web page? (b) What is a stylesheet class? (c) Describe the dierent ways that styles can be added to a page. [5+5+6]

2. (a) Write a javascript to display the denomination of the amount deposited in the bank in terms of 100s, 50s, 20s, 10s, 5s, 2s & 1s. (Eg: If deposited amount is Rs.163, the output should be 1-100s, 1-50s, 1- 10s, 1-2s & 1-1s) (b) What is function? Explain how parameters are passed to functions in javascript. [8+8] 3. (a) What is a namespace? Describe how a namespace is created with a relevant example. (b) Dene an XML schema. Show how an XML schema can be created. [8+8]

4. (a) What is a Bean development kit? Also explain the use of JAR les in relation with java beans. (b) Explain the design patterns for the bean events. [8+8]

5. Explain the functionality of javax.servlet.http package by discussing about the methods and interfaces of this package. [16] 6. (a) Give a note on xed- template data. (b) Describe Model-View-Controller setup. (c) Write about javax.servlet.jsp.tagext package. 7. (a) Develop a JSP with a Bean in the application scope. (b) What is a scriplet? Write about scriplet elements. [8+8] [6+5+5]

8. Develop a JSP to act as a simple search engine with the support of necessary database. Web page will accept the topic name and JSP will be activated by a submit button click. JSP will open relevant page with a set of relevant URLs for that topic. [16]

1 of 1

Code No: R05311202

Set No. 2

III B.Tech I Semester Regular Examinations, November 2007 WEB TECHNOLOGIES (Information Technology) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks 1. (a) What are the benets of using styles compared with placing formatting directly into the text of the Web page? (b) What is a stylesheet class? (c) Describe the dierent ways that styles can be added to a page. [5+5+6]

2. (a) Describe the basic process of event-driven computation in creating javascript. (b) Explain how does parameter passing work in javascript? (c) Write a javascript that reads six integers and displays the largest and smallest integers from the given integers. [5+5+6] 3. (a) Explain the working of XML processors in detail. Also mention the pupose of XML processors. (b) Explain how XLST works with neat illustrations. [8+8]

4. Take the T ickT ock Bean available in BDK, build an application which controls the Colors Bean. Develop the necessary code to exhibit the bound properties of java beans with the above mentioned beans. [16] 5. What is a servlet? Explain lifecycle of a servlet. Illustrate with an example program. [16] 6. (a) Write about the JSP processing. (b) Explain the components of JSP. 7. (a) Discuss about Dynamic content. (b) List the methods in Request object. [8+8] [8+8]

8. Develop a JSP to act as a simple search engine with the support of necessary database. Web page will accept the topic name and JSP will be activated by a submit button click. JSP will open relevant page with a set of relevant URLs for that topic. [16]

1 of 1

Code No: R05311202

Set No. 3

III B.Tech I Semester Regular Examinations, November 2007 WEB TECHNOLOGIES (Information Technology) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks 1. (a) Create a simple HTML page which demonstrates the use of the various types of lists. Try adding a denition list which uses an unordered list to dene terms. (b) Write a program to construct a binary tree and to traverse the same in postorder. [8+8] 2. (a) Write a javascript to display the denomination of the amount deposited in the bank in terms of 100s, 50s, 20s, 10s, 5s, 2s & 1s. (Eg: If deposited amount is Rs.163, the output should be 1-100s, 1-50s, 1- 10s, 1-2s & 1-1s) (b) What is function? Explain how parameters are passed to functions in javascript. [8+8] 3. (a) With a suitable example explain the creation of namespaces in XML. (b) Explain the various types of XML schema data types used. [8+8]

4. (a) What is a Java bean? Java bean is a reusable platform-neutral software component-justify this statement. (b) Explain the highlighting features of java bean. 5. Discuss how servlets can be used to extend a web servers functionality. [8+8] [16]

6. (a) What are the limitations of Servlets? How JSP over comes these Problems. (b) Discuss about Tomcat Server. 7. (a) Discuss about Dynamic content. (b) List the methods in Request object. [8+8] [8+8]

8. Write a program to update the salaryRs.6000/- for an employee name like P. Ramu using prepared statement. [16]

1 of 1

Code No: R05311202

Set No. 4

III B.Tech I Semester Regular Examinations, November 2007 WEB TECHNOLOGIES (Information Technology) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks 1. (a) Write a CSS rule that places a background image halfway down the page, tilting it horizontally. The image should remain in place when the user scrolls up or down. (b) Create a HTML document that has your image and your friends image with a specic height and width. Also when clicked on the images it should navigate to their respective proles. [8+8] 2. (a) Describe the primitive data types that Javascript uses. (b) Write a script that reads an integer and determines and displays whether it is an odd or even number. [16] 3. (a) What is a namespace? Describe how a namespace is created with a relevant example. (b) Dene an XML schema. Show how an XML schema can be created. 4. (a) Explain the signicance of the bound property in Java beans. (b) With an example try to explain the bound properties related to Java beans. [8+8] 5. (a) Write a program to demonstrate URL redirecting. (b) Explain session tracking using Http Session. 6. (a) Write a note on Custom-tag libraries. (b) Discuss about usage of JavaBean Component in JSP. 7. (a) Write a JSP that handles empty form values. (b) Give a detail note on JSP action used for Java Bean manipulation. [8+8] [8+8] [8+8] [8+8]

8. Write JDBC program to display the result of any query on a student table in a JTable component. [16]

1 of 1

You might also like