CS463/563 Final Exam (Spring 2000)

All solutions must be e-mailed by 5:30 p.m. MDT on Wednesday (May 3, 2000) to summers_wayne@ColumbusState.edu

ALL WORK MUST BE YOUR OWN.

All programs must be completed documented and all HTML must be correct to receive full credit.

(50 pts.) #1. Create an ASP application that allows the user to customize a Web page. The application must first ask the user for their name and e-mail address. The application should then display a collection of background and foreground colors, font sizes and typefaces to select from and a collection of images to display as a banner at the top of the page. Once the user has made the selections, customize a greeting page based on the preferences selected by the user and display it. [You may use asia.nmhu.edu to test your asp page]

(50 pts.) #2. Write a perl program that uses CGI and HTML forms to read in the last name, e-mail address, and mailing address (street, city, state, zip) of the user. Validate the information using your perl script and respond with an HTML page indicating which fields were incorrect.

(50 pts.) #3. a) Write an applet that displays your name. Place a box around your name at interfals of 10, 20, 30, and 40 pixels. Write the HTML file that "executes" your applet. b) Modify your applet to allow the user to specify the name to be displayed via a parameter passed from the HTML document.

(50 pts.) #4. Write a HTML document that allows the user to create Shakespearean insults. Your HTML document should contain a form with three SELECT elements. The first SELECT element should contain the following five words (artless, craven, errant, fawning, and puny), the second SELECT element should contain the following five phrases (boil-brained, dizzy-eyed, hasty-witted, onion-eyed, and rough-hewn), and the third SELECT element will contain the following five words (baggage, dewberry, haggard, measle, and miscreant). Use Javascript to construct a Shakespearean insult by combining one word from each of the three columns and prefacing it with "Thou art a(an)."
Example: if the first words are selected from each element, your Javascript program would display "Thou art an artless, boil-brained baggage."