Assignment 1

Home Up Lab 1 Assignment 1 Lab 2 Assignment 2 Lab 3 Assignment 3 Assignment 4 Research Paper

Points: 100

Due: 9/13/00 

Submission Instruction: You are to publish your result on the ISU server, with a clearly labeled link to this assignment from your home page. Also, clearly label your answers.

[HTML]

1. Enhance your home page with the following:

Image as link ("thumbnail" or to another page)
mailto: link to allow easy email to you
Form
  1. Setup a form that contains all of the elements given below. Use the EchoAll service discussed in class to echo the user's input when the Submit button is pressed. (Recall that you can invoke a program to echo the elements of a form by including the action field in the <form> tag, i.e., <form method="get" action="http://appsrv.acs.ilstu.edu/355/servlet/EchoAll">

Text, Password, Checkbox, Radio, Submit, Reset, Hidden (make up a value fro this), Selection, Multiple line text input

Table
  1. Create a table that has COLSPAN and ROWSPAN. Make up the headings and data.

[JavaScript]

  1. Write a JavaScript program to compute the average of "N" test scores. List the scores that are higher than the average. Prompt the user for the value of N and the individual scores.
  2. Write a JavaScript program to evaluate any given arithmetic expression. Allow the user to enter a well formed expression and display the result in a text field. Hint: use the "eval" function
  3. Write a JavaScript program that prompts for an employee name, SSN, rate of pay, and hours worked, and computes the total pay for the employee. If the hours worked is greater than 40, compute by using 1.5 times regular rate for the hours above 40.
  4. Create a form that contains a text input for name, a radio button for sex, and a text input for zip code. Do the following validations: (a) Make sure the fields are non-empty. (b) For zip code, check for format in either (i) ddddd or (ii) ddddd-dddd where d represents a digit.
  5. Write a JavaScript program that will display one page when it is during the regular business hours (8 a.m. to 5 p.m.) and a different page during off hours.

[WWW/Internet: General]

  1. What does MIME stand for? Give a benefit for having MIME type.
  2. Who "invented" the WWW?
  3. What are application servers?
  4. There are at least two interpretations for the acronym ASP in the context of the web. What are they? Briefly explain.