Saturday, 8 September 2012

III BSc Paper IV Web Technologies

B.Sc.(Computer Science): III Year
THEORY PAPER – IV
(Elective – 1)
Web Technologies
UNIT-1 : HTML Basics 18 hrs
Introduction: HTML, XML, and the World Wide Web.
HTML: Basic HTML, The Document body, Text, Hyperlinks, Adding more formatting, Lists,
Tables, Using colors and images, Images.
More HTML: Multimedia objects, Frames, Forms-towards interactivity, The HTML document
Head in detail, XHTML- An evolutionary markup.
UNIT-2 : Introduction to the Style Sheets and Java Scripts. 18 hrs
Cascading Style Sheets: Introduction, Using styles: Simple examples, Defining your own styles,
Properties and values in styles, Style sheets- A worked example, Formatting blocks of
information, Layers.
An introduction to Java Script: What is dynamic html, Java Script, Javascript—The basics,
Variables, String manipulation, Mathematical functions, Statements, Operators, Arrays,
Functions.
UNIT-3 : Objects in Java Script and DHTML. 18 hrs
Objects in Java Script: Data and objects in java script, Regular expressions, Exception Handling,
Built in objects, Events.
Dynamic HTML with Java Script: Data validation, Opening a new window, Messages and
Confirmations, The status bar, Writing to a different frame, Rollover buttons, Moving images,
Multiple pages in a single download, A text-only menu system, Floating logos.
UNIT-4 : ASP and XML. 18 hrs
Active Server Pages and Java: Active Server Pages, Java.
XML: Defining Data for Web applications: Basic XML, Document type definition, XML
schema, Document Object Model, Presenting XML
Good Design: Structure, Tables versus Frames, Accessibility, Internationalization, Exercises.
UNIT-5 : Web Based Softwares and Protocols. 18 hrs
Useful Software: Web browsers, Perl, Web servers, mod_perl, Databases, Accessing your ISP,
Exercises.
90 hrs
(3 hrs/ week)
12
Protocols: Protocols, IP and TCP, Hyper Text Transfer Protocol, Common Gateway Interface,
The Document Object Model, introducing the Document Object Model, Exercises.
Case Study: The plan, The data
Prescribed Book:
1. Chris Bates, Web Programming Building Internet Applications, Second Edition, Wiley
(2007)
Reference Books:
1. Paul S.Wang Sanda S. Katila, An Introduction to Web Design Plus Programming,
Thomson(2007).
2. Robert W.Sebesta, Programming the World Wide Web, Third Edition, Pearson
Education (2007).
3. Thomas A.Powell, The Complete Reference HTML & XHTML, Fourth Edition, Tata
McGraw Hill (2006).
4. Abders Moller and Michael Schwartzbach, An Introduction to XML and Web
Technologies, Addison Wesley (2006).
5. Joel Sklar, Principles of Web Design, Thomson (2007).
6. Raj Kamal, Internet and Web Technologies, Tata McGraw Hill (2007).
7. Deitel, et al.,Internet and World Wide Web: How to Program, 3
rd Edition, PHI (2008).
8. Gopalan & Akilandeswari, Web Technology: A Developer’s Perspective, PHI (2008).
13
B.Sc(Computer Science): III Year
PRACTICAL PAPER – IV
(Elective – 1)
Web Technologies Lab
Lab Cycle
1. Write a HTML program illustrating text formatting.
2. Illustrate font variations in your HTML code.
3. Prepare a sample code to illustrate links between different
sections of the page.
4. Create a simple HTML program to illustrate three types of lists.
5. Embed a real player in your web page.
6. Embed a calendar object in your web page.
7. Create an applet that accepts two numbers and perform all the
arithmetic operations on them.
8. Create nested table to store your curriculum.
9. Create a form that accepts the information from the subscriber of
a mailing system.
10. Design the page as follows:
90 hrs
(3 hrs/ week)
14
11. Using “table” tag, align the images as follows:
12. Divide the web page as follows:
13. Design the page as follows:
15
14. Illustrate the horizontal rulers in your page.
15. Create a help file as follows:
16. Write a Java Script to accept the first, middle and last names
of the user and print the name.
17. Evaluate the following:
a) “10”+”90”
b) (10<8)>10:8
c) J=(i++)+(--i)+(++i)+(i++) where i=2
18. Write a Program in Java Script to add two numbers.
19. Write a script to find the factorial of a given number using
functions.
20. Write a script to print all primes with in the given range.
21. Write a program to sort the array elements using “Bubble Sort”
technique.
22. Write a program in Java Script to implement “Binary Search”
16
technique.
23. Write a script to print all perfect numbers with in the given
range.
24. Write a script to evaluate the following expression:
1+2/2! +3/3! +……+n/n!
25. Write a program to implement “Stack” operations.
26. Write a script to print Fibonacci series recursive functions.
27. Using a ternary operator, write a script to validate the
withdrawal transaction of a customer. If he with draws more than
his balance, such a transaction should be disallowed.
28. Write a script to wish the user “Good Morning” at different
hoursof the day.
B.Sc(Computer Science): III Year: Lab-4.1 (Continued)
29.Prompt the user for the cost price and selling price of an
article and output the profit or loss percentage.
30.Create a customer profile for data entry of customers in a hotel.
The profile should prompt for the name, address, gender, age,
room type, mode of payment of the customer.
31.Create a student registration system with the following fields:
Name, Regdno, Gender, street, city, state, pincode, stdcode, phone, dbirth, college,
experience, course code. Create a main object called “Stu_info” with all the fields and
“College” and “Experience” as sub objects with in the main object. Create separate object
definition for College and Experience with the following fields:
College: Name, Location, Degree
Experience: Employer, Location, Duties and Period
32.Write a script to read information of ‘n’ students from the user
and store them into the table as follows:
33.Write the script for the various validations given below:
17
a. Candidate code should be generated
b. Date of Birth should not be null and age should be more than 21.
c. All alphabet fields should be validated.
d. All number fields should accept only numbers.
e. Total experience should be calculated and displayed after accepting input for the
“From” and “To” fields in the table.
34. Create a bio-data format with the following fields:
Name, candidate code, Date of birth, Gender, Address1, Address2, Phone, Passport
number, Qualification and Percentage.
Also, create the following fields for entering present employment details:
Company name Company Address1, Address2, Address3, Phone, Fax, E-mail, Total
Experience and Project details.
Create a table with the columns given below in a 3 row structure:
Employer name, Location, From, To, Field
35. Create a web page for a shopping mall that allows the user to tick off his purchases and obtain
a
bill with the total being simultaneously added up. The web page must follow the
specifications as
given below:
a.The entire web page must be divided into four portions. The top most portion states the
name of the mall, the middle portion of the web page is divided vertically into two, the
types of the items available in the mall are displayed on the left side and a detailed
description of each item with the prices are available on the right. Finally, the bottom
most portion of the web page must display the cash memo with the total along side.
b.Each item in the left hand frame must have a link to the file containing its detailed
description, which must be displayed in the right hand frame. Ensure that the user is able
to perceive only that portion of the file that is related to the item on which he clicked.
Prior to the link being activated, the right hand frame must display a friendly message
that gives an idea about its latter contents.
36. Design a simple calculator.
37. Write a DHTML program to give different colors for different heading tags.
38.Using DHTML, invert the behavior of <h1> to <h6> tags.
39.Create an inline style sheet for your web page.
40. Create an external style sheet for creating a font family.
18
41. Illustrate the creation of embedded style sheet.
42. Illustrate the procedure of creating user-defined classes.
43. Write an ASP script to send the information accepted from the user and send it to a CGI
script.
44. Write an ASP script to update the student information with some number ‘n’ in the table.
45. Delete the desired student’s record from the table using the ASP Script.