Web Programming                        CS 463/563                                              NAME_______________

Spring 2001                           FINAL Exam PART 1                      DATE____________

 

[This is an open book and open notes test (you may use anything already available on the web), but you MUST NOT request or receive help from anyone else either in person or over the Internet. Anyone caught cheating on this exam will receive a 0.]

 

Read each question carefully before you answer.  Work at a steady pace, and you should have ample time to finish.  The resulting web pages and image files must be e-mailed by 5:30 p.m. MST on Wed., May 2, 2001 to summers_wayne@ColumbusState.edu

BE SURE TO e-mail ALL FILES.

[Graduate students are expected to do a higher quality of work on this exam]

 

I. HTML, CSS and JavaScript [40 pts]          

 

Build a simple color picker. Your HTML document should have two frames. The upper frame contains a form that is used for data gathering. The lower frame shows the result of the color selections that have been created directly by JavaScript code in the top frame. This application is run totally on the client side.

 

The whole page is built around a simple frameset. When the page is initially loaded, display the form in the upper window and an empty HTML page in the lower window.

 

The top frame should have a form that allows the user to select a background color, a text color, a color for the table headings, and a color for the table data.

 

The JavaScript should be executed when the user presses the Submit button in the top frame. When the button is pressed, the bottom frame should be displayed with the selected background color, a heading, and a table using the selected colors.

 

II. ASP [40 pts]

Write HTML and ASP to help students schedule their time. The HTML form should have a text box for the student’s name, radio buttons for the days of the week, a check box to indicate if there is an exam this week. The student using the form should enter their name, push a radio button indicating the current day of the week, and mark the checkbox if they have an exam this week.

 

Assume that the student has classes on Monday and Wednesday, and that all homework assignments are due on Monday. The ASP document should display the following messages:

 

III. Perl [40 pts]

 

In this program, you will perform a very simple payroll calculation.

 

IV. Java [40 pts]

 

Redo either I, II, or III as an applet using the Java language.