University of Madras - Syllabus of Bachelor of Science (BSc) Computer Science - Semester VI - Practical VIII - Web Application Lab
UNIVERSITY OF MADRAS
B.Sc. DEGREE COURSE IN COMPUTER SCIENCE
SEMESTER SYSTEM WITH CREDITS
(Effective from the Academic Year 2003-2004)
Semester VI - Practical VIII - Web Application Lab
Lecture Lab: 4
Duration: 2 hrs
Maximum Marks: 50
Credits: 2
1. Create a simple page introducing yourself, how old you are, what you do, what you like and dislike. Modify the introduction to include a bullet list of what you do and put list the 5 things you like most and dislike as numbered lists. Create another page about your favourite hobby, and link it to (and from) your main page. Center something, and put a quote on one of your pages.
2. Put an existing image on a web page. Create a table, use a heading and at least one use of row span/col span. Colour a page and some text within the page. Link to another site.
3. Create a new file called index.html.
Put the normal HTML document structure tags in the file. Give it a title.
At the bottom of the page (i.e. the last thing between the body tags) put the following:
A horizontal rule.
A link to your email address (with your name between the tag); remember to put the link to your email address within address tags.
A line break.
The date. (I have this same structure at the bottom of this page).
Above this block (which is called the footer), put a title in heading tags.
Add some text describing yourself (you can split this into multiple headings and paragraphs if you wish.
4. Write a script to create an array of 10 elements and display its contents.
5. Write a function in Javascript that takes a string and looks at it character by character.
6. Create a simple calculator using form fields. Have two fields for number entry & one field for the result. Allow the user to be able to use plus, minus, multiply & divide.
7. Create a document and add a link to it. When the user moves the mouse over the link, it should load the linked document on it s own. (User is not required to click on the link).
8. Create a document, which opens a new window without a toolbar, address bar, or a status bar that unloads itself after one minute.
9. Create a document that accepts the user's name in a text field form and displays the same the next time when the user visits the site informing him that he has accessed the site for the second time, and so on.
10. Create a Web form for an online library. This form must be able to accept the Membership Id of the person borrowing a book, the name and ID of the book, and the name of the book's author. On submitting the form, the user (the person borrowing the book) must be thanked and informed of the date when the book is to be returned. You can enhance the look of the page by using various ASP.NET controls.
11. Display an advertisement at the bottom of the Web form that you created in question 10.
12. Create an array containing the titles of five new movies. Use this array as a data source for a drop down list control. The page must be capable of displaying the selected movie title
to the user when the user clicks on the submit button.
13. Create a virtual directory in IIS. Create a global.asax file and include the "Session_Start" and "Session_End" and, "Application_BeginRequest" and "Application_EndRequest"
events. Write a simple ASP.NET page and execute it in the browser. What is the output that you get?