Lab 1 - Perl
In lab today:
Tim Gradl your lab TA will assign time slices to each of you for turning in your
homeworks. Then you will start the Perl assignment below.
To Do:
You are to write a CGI program in Perl that handles the following:
-
Students will go to a Web page enter their name and then answer 10 mulitple choice questions.
- When they submit their answers it will call a perl cgi script (Perl cgi scripts are saved as .cgi not .pl) that will do the following:
- Read in the correct 10 answers from a file.
- Match up the correct answers with the input answers and grade the quiz.
- Then write the results out to a file. Output: Name, answers, score, date and time.
- Make sure all your permissions are set properly, and your cgi files are saved in ~/www/cgi-bin/
What to turn in:
January 31rst you will demo your program for Tim Gradl during your time slice of lab time.