CSCI 571 Fall 2006

Homework Grading Guideline



Homework #3: Imitating a Web Page Using HTML

Total points: 10

You may not use any special tools to create your pages. Graders will view the source code and verify that you wrote the HTML directly.

1) Hyperlinks - 4 points: There are twelve links. Students should implement the links by having them all point to a single web page at your site. The single web page should be divided into twelve portions, each separated by a horizontal rule.

2) Layout - 3 points: All components (text, align, images) were properly placed.

3) Font style, size and color - 3 points: If there is no big difference from the jpeg image, you get 1 point for each part.

The grader will load your page using the Firefox browser and set the page to the same size as the jpeg image in the assignment's description.

Homework #4: XML Exercise

Total points: 10

Part 1

1). Heading(Both parts) + Form text box and Button(Both parts) (1 point, -0.5 if anything is missing).

2). XML parsing:
     (a) Given the following XML documents
http://www-scf.usc.edu/~csci571/2006Fall/hw4/form1.xml
http://www-scf.usc.edu/~csci571/2006Fall/hw4/form2.xml
     the HTML/Javascript code should produce similar web page as shown in description of Part1 (4 points)
     (b) Test on a new valid XML document with the same Tags as listed in the Assignment description. page  (1 point).
     Test on an invalid XML document should generate an error message to pop up and explain the reason why this xml is invalid
in IE (1 point, -0.5 if any of the item in the provided image is missing).

Part 2

1).Given the same XML documents as in Part 1
http://www-scf.usc.edu/~csci571/2006Fall/hw4/form1.xml
http://www-scf.usc.edu/~csci571/2006Fall/hw4/form2.xml
     the HTML/Javascript code should produce similar web page as shown in description in Netscape and Firefox (1.5 + 0.5(for the test page) points)
Note 1:Its not a separate part altogether.While your solution may work in Netsacpe and Firefox, it must work in IE as well.
Note 2: The 0.5 point "for the test page" stands for the explaination in Part 1 section 2.b and tested in Netscape and Firefox.
2). Generates alert message if an error is encountered in XML document for NS or Firefox (0.5 point)
3) README file (0.5 point)
     README file should include students name, class ID, Homework URL, a brief description of the HTML pages and the JavaScript code, and other issues student
thinks that will be helpful for the graders to understand their homework.

4). Source code submission:
     Students should submit their source code and the README file electronically to csci571 account so that it can be graded by graders and compared to all other students' code via the MOSS code comparison tool.
     You will lose 10% if anything is missing in submission; 20% if you don't submit the files.


Homework #6: Server Side Script in Perl

Please make sure your Apache web server is running for the grader to check 
your homework.

Total points: 10

1) Establish account: 2 points

Your web page should contain all the required entries and use Javascript to validate the input for the 
following items, (1 point)
(a) The user entered data in ALL of the fields; 
(b) The two passwords given by the user are identical;
(c) The zip code contains exactly 5 digits.

Your program must check and make sure that the login name that the user 
has chosen is unique, and if not you must return an error message asking 
for a new login name (1 point)
 
2) Login: 6 points

User authentication (0.5 point) 
Display the welcome message containing the user's name and address (0.5 
point)
Display the movie information(4 points)
(a) The drop down list contains all the movie titles sorted in alphabetic 
order. There should not be any duplicated entries (1 point)
(b) Use Javascript to monitor mouse click evens on the drop down list, 
rather than using a submit button (1 point)
(c) Display the detailed description of the movie (1 point)
(d) Display the names of all the cinemas in which the movie is playing, 
their addresses, and show times of the movie. And display the link of the 
page where the movie information is extracted (1 point)

Convert movie information into an XML (1 point)

3) Save user list in an XML file: 1 point

4) README file: 1 point

README file should include students name, class ID, Homework URL, a brief 
description of the HTML/Javascript and Perl scripts, and other issues you 
think will be helpful for the graders to understand your homework. Please 
only use plain text. 

4) Source code submission

Students should submit their HTML/Javascript, Perl scripts, the XML file 
and the README file electronically to csci571 account so that the 
assignment can be graded and compared to all other students' code via the 
MOSS code comparison tool. You will lose 10% if anything is missing; 20% 
if you do not submit the files.
 

Homework #8: XSLT


Total points: 10

1) Output 1: 2 points

2) Output 2: 2 points

3) Output 3: 2 points

4) Output 4: 2 points

5) Miscellaneous: 2 points

6) For each part, you get 50% of the points if your result works for 
IE 6.0, and another 50% if it also works for Firefox 1.5.

7) Source code submission

Students should submit their XML and XSL files electronically to csci571 account so that the 
assignment can be graded and compared to all other students' code via the MOSS code comparison 
tool. You will lose 10% if anything is missing; 20% if you do not submit the files.