Set No. 1
Code No: R05321505
III B.Tech II Semester Supplimentary Examinations, Aug/Sep 2008 WEB TECHNOLOGIES (Computer Science & Systems Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ⋆⋆⋆⋆⋆ 1. (a) Explain the following terms related to CSS: i. ii. iii. iv. v. vi. vii. viii.
Font size Font weight Font strech Text decoration Text transformation Text alignment Padding Border style.
(b) Explain the various ways you can reference a color in CSS.
[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) Give the syntax of an XML document and explain how a basic XML document is created with an example. (b) Explain the following terms related to Document Type Definition: i. elements ii. attributes & entities iii. internal & external entities.
[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. (a) Develop a servlet that handles HTTP GET request. (b) Explain the methods of HttpSessionBindingEvent class.
[10+6]
6. (a) Develop a JSP to demonstrate content inclusion at translation time. (b) What is a Scriplet? Explain.
[10+6]
7. (a) Develop a JSP with a Bean in the application scope. (b) What is a scriplet? Write about scriplet elements. 8. (a) Discuss the four types of JDBC drivers. 1 of 2
[8+8]
Set No. 1
Code No: R05321505 (b) Give a note on javax.sql package. ⋆⋆⋆⋆⋆
2 of 2
[8+8]
Set No. 2
Code No: R05321505
III B.Tech II Semester Supplimentary Examinations, Aug/Sep 2008 WEB TECHNOLOGIES (Computer Science & Systems Engineering) 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) 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) Write an XML schema that provides tabulated information related to expected height(in cms) and weight(in kgs) for both male and f emale separately for the age groups starting with 5-10 years, 10-15 years, 15-20 years, and so on. (b) Give the merits and demerits of DTDs in XML.
[8+8]
4. Write about the following: (a) Bean methods (b) Bean properties (c) Bean events.
[4+8+4]
5. (a) What is MIME? What is meant by MIME types of file? Which is the method that can return the MIME type of file? (b) Explain the interface that enables servlet to log events and access information about their environment. (c) How to start a web browser and request a servlet.
[6+6+4]
6. (a) Write a note on Custom-tag libraries. (b) Discuss about usage of JavaBean Component in JSP.
[8+8]
7. (a) Develop a JSP with a Bean in the application scope. (b) What is a scriplet? Write about scriplet elements.
[8+8]
8. (a) Give a note on popular JDBC driver names. (b) Discuss about statement class. ⋆⋆⋆⋆⋆ 1 of 1
[8+8]
Set No. 3
Code No: R05321505
III B.Tech II Semester Supplimentary Examinations, Aug/Sep 2008 WEB TECHNOLOGIES (Computer Science & Systems Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ⋆⋆⋆⋆⋆ 1. (a) Explain what do you mean by Unordered lists with a relevant example. (b) Show how group and alignment of tables rows and columns is achieved using HTML. (c) How do you add a border to a create table?
[5+6+5]
2. (a) Develop a javascript to generate ‘ARMSTRONG NUMBERS’ between the range of 1 to 1000. [Eg: 153 is an Armstrong number, since sum of the cube of the digits is equal to the number i.e.,13 + 53 + 33 = 153] (b) Describe the various String Objects with suitable examples.
[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. ii. iii. iv.
ParameterDescriptor PropertyChangeEvent PropertyEditorManager PropertyEditorSupport.
(b) Write about EJB.
[8+8]
5. Explain the functionality of javax.servlet package for web servers. Discuss about various classes and interfaces of the package. [16] 6. (a) Give a note on fixed- template data. (b) Describe Model-View-Controller setup. (c) Write about javax.servlet.jsp.tagext package.
[6+5+5]
7. (a) Discuss about Dynamic content. (b) List the methods in Request object. 8. Explain how JDBC performs mapping between JAVA and SQL data types. ⋆⋆⋆⋆⋆
1 of 1
[8+8] [16]
Set No. 4
Code No: R05321505
III B.Tech II Semester Supplimentary Examinations, Aug/Sep 2008 WEB TECHNOLOGIES (Computer Science & Systems Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ⋆⋆⋆⋆⋆ 1. Explain the following terms related to HTML table: (a) Cell padding and spacing (b) Borders (c) Formatting content in Table cells (d) Nested tables.
[4+4+4+4]
2. (a) Create a javascript which has event handlers for the buttons “red”, “blue”, “green”, “yellow” 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) Give the syntax of an XML document and explain how a basic XML document is created with an example. (b) Explain the following terms related to Document Type Definition: i. elements ii. attributes & entities iii. internal & external entities.
[8+8]
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. (a) Explain the lifecycle of JSP. (b) Discuss the JSP standard actions.
[8+8]
7. (a) Develop a JSP to keep track number of users and display a message “You are nth visitor” where n is number of user. (b) Write a detail note on JSP escape sequences.
[10+6]
8. Write a program that lists all books and the authors for those books from technicallibrary database. [Assume database schema]. [16] 1 of 2
Set No. 4
Code No: R05321505 ⋆⋆⋆⋆⋆
2 of 2