Sei sulla pagina 1di 6

ANNA UNIVERSITY: CHENNAI – 600 025

B.E. / B.Tech. DEGREE EXAMINATIONS, APRIL / MAY 2014


COMPUTER SCIENCE AND ENGINEERING
SIXTH SEMESTER
CS2358: INTERNET PROGRAMMING LAB

TIME: 3 HOURS MARKS: 100

1. a. Create a HTML application with frames, links, tables and other tags for a Super
market and also do the necessary client side validation using Java script.
Document the functional requirements you are considering. (90)
b. Viva- Voce – 10 marks

2. a. Create a web page containing details about your college using DHTML. Use at
least five hyperlinks. Also embed images in the web page you are creating.
Document the functional requirements you are considering. (90)
b. Viva- Voce – 10 marks

3. a. Create a web page containing details about the placement cell in your college
using DHTML. Use at least five hyperlinks. Also embed images in the web page
you are creating. Document the functional requirements you are considering. (90)
b. Viva- Voce – 10 marks
4. a. Create a web page using cascading style sheets for an Automobile Company
which markets and sells cars. Use at least five hyperlinks. Also embed images in
the web page you are creating. Document the functional requirements you are
considering. (90)
b. Viva- Voce – 10 marks

5. a. Develop a web application for an Inventory Control System using JSP. Use
cookies as part of the web application and perform appropriate validations.
Document the functional requirements you are considering. (90)
Note: Your application must access a database.
b. Viva- Voce – 10 marks

6. a. Develop a web application for a Railway Reservation System using JSP. Use
cookies as part of the web application and perform appropriate validations
Document the functional requirements you are considering. (90)
Note: Your application must access a database.
b. Viva- Voce – 10 marks

7. a. Develop a web application for a Library Management System using JSP. Use
cookies as part of the web application and perform appropriate validations.
Document the functional requirements you are considering. (90)
Note: Your application must access a database.
c. Viva- Voce – 10 marks
8. a. Develop a web application for a Banking System using JSP. Use cookies as part
of the web application and perform appropriate validations. Document the
functional requirements you are considering. (90)
Note: Your application must access a database.
b. Viva- Voce – 10 marks

9. a. Consider a case where we have two web services: an airline service and a travel
agent. The travel agent is searching for an airline. Implement this scenario using
web services and database. Document the functional requirements you are
considering. (90)
b. Viva- Voce – 10 marks

10. a. Hamen’s Automobiles provides a facility through which customers can reserve
date and time slots in advance and send their cars to service. Implement this
scenario using web services and database. Document the functional requirements
you are considering. (90)
b. Viva- Voce – 10 marks
11. a. Create an XML document for the following relations for a company database
application: (45)
EMPLOYEE (ENO, NAME, GENDER, DOB, DOJ, DESIGNATION,
BASIC, DEPT_NO, PAN, SENO)
PAN – Permanent Account Number
SENO – Supervisor Employee Number
DEPARTMENT (DEPT_NO, NAME, MENO)
MENO - Manager Employee Number
PROJECT (PROJ_NO, NAME, DEPT_NO)
WORKSFOR (ENO, PROJ_NO, DATE_WORKED, HOURS)

Each department has a manager managing it. There are also supervisors in each
department who supervise a set of employees. A department can control any
number of projects. But only one department can control a project. An employee
can work on any number of distinct projects on a given day. The primary keys are
underlined.

b. For the XML document created, create a style sheet and display the document
in a browser. (45)
c. Viva- Voce – 10 marks
12. a. Create an XML document for the following relations for a banking application:
(45)
CUSTOMER (CID, CNAME)
ACCOUNT (ANO, ATYPE, BALANCE, CID)
An account can be a savings account or a current account. Check ATYPE in ‘S’
or ‘C’. A customer can have both types of accounts.
TRANSACTION (TID, ANO, TTYPE, TDATE, TAMOUNT)
TTYPE CAN BE ‘D’ OR ‘W’
D- Deposit; W – Withdrawal
The primary keys are underlined.
b. For the XML document created, create a style sheet and display the document
in a browser. (45)
c. Viva- Voce – 10 marks

13. a. Develop a java application for the following scenario using applets: (90)
Hamen’s Book shop maintains the inventory of books that are being sold at the
shop. The list includes details such as author, title, price, publisher and stock
position. Whenever a customer wants a book, the sales person inputs the title and
author and the system searches the list and displays whether it is available or not.
If it is not, an appropriate message is displayed. If it is, then the system displays
the book details and requests for the number of copies required. If the requested
copies are available, the total cost of the requested copies is displayed; otherwise
the message “Required copies not in stock” is displayed.
b. Viva- Voce – 10 marks
14. a. Develop a Java application using servlets for a banking system. Document the
functional requirements you are considering. (90)
b. Viva- Voce – 10 marks

15. a. Develop a Java application using servlets for a library management system.
Document the functional requirements you are considering. (90)
b. Viva- Voce – 10 marks

********

Potrebbero piacerti anche