You are on page 1of 5

Code No: 35026 R05 Set No - 1

III B.Tech I Semester Supplimentary Examinations,Nov/Dec 2009


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

1. Write a servlet that generates HTML page and explain the process of generation
of HTML page. [16]
2. Write a JDBC program for a employee database to perform the following tasks.
- Interface base salary by 10%
- If the employee birthday is in the current month add Rs.500/- to the
gross salary.
Assume employee table with necessary fields. [16]
3. Explain the mechanism to include resources dynamically and to forward request to
other JSPs? [16]
4. (a) Explain the lifecycle of JSP.
(b) Discuss the JSP standard actions. [8+8]
5. (a) Develop a javascript to determine whether a given number is a ‘PERFECT
NUMBER’ or not. [Eg: 6 is a perfect number, since its factors including 1(but
not the number itself) sum to the number i.e., 1+2+3 = 6]
(b) ‘Javascript is referred to as Object based programming language’- support the
statement with relevant examples. [8+8]
6. (a) Create a form for the super market bill which includes controls like checkboxes,
radio buttons, border, submit button and reset button.
(b) What is CSS? Explain with an example to clearly illustrate the creation of
CSS rule for a given text. [8+8]
7. (a) Create an XML schema for a catalog of four-stroke motorbikes, where each
motorbike has the following child elements-make, model, year, color, engine,
chasis number and accessories. The engine element has the child elements
engine number, number of cylinders, type of f uel. The accessories element
has the attributes like disc brake, auto − start & radio, each of which is
required and has the possible values yes and no. Entities must be declared
for the names of three popular motorbike makes.
(b) Describe the Document object model. [8+8]
8. 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]

?????

1
Code No: 35026 R05 Set No - 2
III B.Tech I Semester Supplimentary Examinations,Nov/Dec 2009
WEB TECHNOLOGIES
Information Technology
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
?????

1. What is a framework? Why is it useful for application development? Explain in


detail struts framework. [16]
2. Write a JSP that allows the user to select an item from a list and to press submit
button later prints the item on web page. [16]
3. (a) Explain the basic structure of an XML document and highlight the advantages
of XML over HTML.
(b) Explain the usage of the following XSL elements:
i. apply-templates
ii. attribute
iii. eval
iv. template
v. value-of
vi. choose. [8+8]
4. (a) What is BeanInfo Interface? Explain the importance of a BeanInfor Interface.
(b) Create a simple code which utilizes the BeanInfo interface effectively. [8+8]
5. (a) Explain how would you create an Ordered list.
(b) Create a HTML table with columns for a country-name, national sport, na-
tional flower, national animal and national tree. There must be at least five
states as rows in the table. [6+10]
6. (a) Define Dynamic HTML. Elaborate in what way is Dynamic HTML different
from HTML.
(b) Write a javascript which must have a paragraph of at least 10 lines of text
that describes your college. The paragraph must be centered on the page and
have only 20 characters per line. A light gray image of your college must be
superimposed over the center of the text as a nested element. [8+8]

7 Develop a JSP to maintain a guest book, that enables users to place their first
name, last name and e-mail address in to a guest-book database. After submitting
their information, users see a web page containing all the users in the guest book.
Each e- mail address is display as a hyperlink. [16]
8.
7. (a) What is MIME? What is meant by MIME types of file? Which is the method
that can return the MIME type of file?

2
Code No: 35026 R05 Set No - 2
(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]

?????

3
Code No: 35026 R05 Set No - 3
III B.Tech I Semester Supplimentary Examinations,Nov/Dec 2009
WEB TECHNOLOGIES
Information Technology
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
?????

1. Explain JSP application design with suitable example? [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 num-
bers from the user and outputs HTML text that displays the larger number
followed by the words“LARGER NUMBER” in an information message dia-
log. If the numbers are equal, output HTML text as “EQUAL NUMBERS”.
[8+8]
3. (a) Develop a JSP with a Bean in the application scope.
(b) What is a scriplet? Write about scriplet elements. [8+8]
4. Create a HTML document that has he a form with the following controls:
(a) A text box to collect the customer’s name.
(b) Four checkboxes, one each for the following items:
i. Four HTML textbooks for Rs.1000.
ii. Eight XML textbooks for Rs.2000.
iii. Four Javabeans books for Rs.2500.
iv. Eight UML textbooks for Rs.1500.
(c) A collection of three radio buttons that are labeled as follows:
i. Cash
ii. Cheque/DD
iii. Credit card. [5+6+5]
5. (a) Explain the core interface provided in javax.servlet.http package.
(b) How to handle HTTP requests and responses. [8+8]
6. Explain how JDBC performs mapping between JAVA and SQL data types. [16]
7. With the help of an XML schema for the super market information management
explain every feature available in schema. [16]
8. “A BeanInfo Interface is used by the developer”- show how this statement is justified
and explain with an example how BeanInfo serves the purpose. [16]

?????

4
Code No: 35026 R05 Set No - 4
III B.Tech I Semester Supplimentary Examinations,Nov/Dec 2009
WEB TECHNOLOGIES
Information Technology
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
?????

1. (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. [8+8]

2. (a) Explain why javascript is called as an object-based programming language.


Also give the advantages of the Object concept in javascript.
(b) Write a script which simulates the String method indexOf and use it in a
script. [8+8]

3. Explain JSP scripting components with examples. [16]

4. (a) Create a DTD for a catalog of four-stroke motorbikes, where each motorbike
has the following child elements-make, model, year, color, engine, chasis
number and accessories. The engine element has the child elements engine
number, number of cylinders, type of f uel. The accessories element has
the attributes like disc brake, auto − start & radio, each of which is required
and has the possible values yes and no. Entities must be declared for the
names of the popular motorbike makes.
(b) Give the advantages and disadvantages of XML schemas. [8+8]

5. (a) List and explain the steps followed to test the servlet program.
(b) Describe in detail ServletResponse interface of javax.servlet package. [8+8]

6. (a) Create a registration form for creating a new savings account in a bank. In-
clude the features like checkboxes, radio buttons and other control widgets.
(b) What is a frame? What is the advantage of using a frame? Clearly explain
the creation of frames with an example. [8+8]

7. 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]

8. (a) Write a note on Custom-tag libraries.


(b) Discuss about usage of JavaBean Component in JSP. [8+8]

?????

You might also like