Vous êtes sur la page 1sur 4

Code No: R5311203 1

III B.Tech I Semester(R05) Supplementary Examinations, May 2009


WEB TECHNOLOGIES
(Information Technology)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
?????

1. (a) What are the benefits of using styles compared with placing formatting directly into the
text of the Web page?
(b) What is a stylesheet class?
(c) Describe the different ways that styles can be added to a page. [5+5+6]

2. (a) Create a javascript which has event handlers for the buttons “red”, “blue”, “green”, “yel-
low” and “orange” which must produce messages stating the chosen favorite color.The
event handler must be implemented as a function, whose name must be assigned to the
onclick attribute of the radio button elements. The chosen color must be sent to the event
handler as a parameter.
(b) Insert an image into a web page. Write a script which displays a message when the mouse
is over the image. The co-ordinates of the mouse should be displayed if click is attempted
on the image. [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. 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. Explain the functionality of javax.servlet.http package by discussing about the methods and
interfaces of this package. [16]

6. (a) Differentiate between servlets and JSPs.


(b) Write a JSP expression to insert current date and time in to a web page. [8+8]

7. (a) Discuss about Dynamic content.


(b) List the methods in Request object. [8+8]

8. Explain the process of getting/accessing metadata for a resultset. [16]

?????
Code No: R5311203 2
III B.Tech I Semester(R05) Supplementary Examinations, May 2009
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 definition list which uses an unordered list to define terms.
(b) Write a program to construct a binary tree and to traverse the same in post-order. [8+8]

2. (a) Describe the major differences between Java and Javascript.


(b) Write a javascript which asks the user to enter two integers, obtains the numbers from the
user and outputs HTML text that displays the larger number followed by the words“LARGER
NUMBER” in an information message dialog. If the numbers are equal, output HTML
text as “EQUAL NUMBERS”.
[8+8]

3. Design an XML schema for hospital information management. Include every feature available
with schema. [16]

4. Explain in detail about the BeanBox with suitable examples to bring out the features of this
BDK utility. [16]

5. Write a servlet that generates HTML page and explain the process of generation of HTML
page. [16]

6. Explain the anatomy of a JSP page. [16]

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. Write a program that lists all books and the authors for those books from technical-library
database. [Assume database schema]. [16]

?????
Code No: R5311203 3
III B.Tech I Semester(R05) Supplementary Examinations, May 2009
WEB TECHNOLOGIES
(Information Technology)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
?????

1. (a) What are the different types of lists in HTML? Explain how these lists are created in
HTML with suitable examples.
(b) Explain how a basic table is created using HTML. [8+8]

2. (a) Create a javascript which has event handlers for the buttons “red”, “blue”, “green”, “yel-
low” and “orange” which must produce messages stating the chosen favorite color.The
event handler must be implemented as a function, whose name must be assigned to the
onclick attribute of the radio button elements. The chosen color must be sent to the event
handler as a parameter.
(b) Insert an image into a web page. Write a script which displays a message when the mouse
is over the image. The co-ordinates of the mouse should be displayed if click is attempted
on the image. [8+8]

3. Design an XML schema for hospital information management. Include every feature available
with schema. [16]

4. (a) Explain the following given classes and their usage:


i. ParameterDescriptor
ii. PropertyChangeEvent
iii. PropertyEditorManager
iv. PropertyEditorSupport.
(b) Write about EJB. [8+8]

5. Discuss how servlets can be used to extend a web server’s functionality. [16]

6. List and explain the attributes of the page directive. [16]

7. Create a login form for a mail server and JSP to validate and to perform appropriate actions.
[16]

8. Write a JDBC program to update the bonus attribute of employee table, if an employee is in
top 10 in sales. [16]

?????
Code No: R5311203 4
III B.Tech I Semester(R05) Supplementary Examinations, May 2009
WEB TECHNOLOGIES
(Information Technology)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
?????

1. Create a HTML document that has five frames.There must be two rows of frames, the first
with three frames and the other with two frames. The frames in the first row must have equal
width. The left frame in the second row must be 50 percent of the width of the display. Each
of the frames in the top row must display a document that has a form. The left top frame
must have two test boxes, each 30 characters wide, labeled Name and Address. The middle top
frame must have five radio buttons with color name labels. The right top frame must have four
checkboxes, labeled with four kinds of car equipment such as a CD player and air conditioning.
The two bottom frames must have images of two different cars. The top row of frames must
use 20 percent of the height of the display. [16]

2. (a) Describe the major differences between Java and Javascript.


(b) Write a javascript which asks the user to enter two integers, obtains the numbers from the
user and outputs HTML text that displays the larger number followed by the words“LARGER
NUMBER” in an information message dialog. If the numbers are equal, output HTML
text as “EQUAL NUMBERS”.
[8+8]

3. (a) Create an XML schema for recipe book.


(b) What is Document object model? Explain the various DOM methods used with javascript.
[8+8]

4. (a) Compare and contrast in detail two important concepts of Java-Java applets & Java Beans.
(b) What are the constrained properties related to a beam? Give an instance of it. [10+6]

5. (a) What are basic steps in building and testing a simple servlet?
(b) Give a note on servlet API. [8+8]

6. (a) Write about fixed- template text.


(b) What are directives? Explain.
(c) List the comment styles supported by JSP. [6+5+5]

7. (a) Develop a JSP with a Bean in the application scope.


(b) What is a scriplet? Write about scriplet elements. [8+8]

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

?????

Vous aimerez peut-être aussi