The PRE Tag: Tables The Cheap Way

Course:  Freshman Anatomy  
Instructor: Silmans   
Term:  Spring '99

Name__________Test_One__Test_Two__Test_Three__Test_Four___Percent
Bobby Smith      19        18         17         18         90
Sue Miller       12        15         17         16         75
Mary Jones       16        17         19         16         85
Lou Redburt      19        19         19         19         95
Jerry Lugest     14        12         10         12         60
Tina Eggbert     20        19         20         20         98


You will create a table similar to the one above the red line. Your table, however, will include information for eight students, five tests, average test score given as a percent, and final grade. You should vary your test scores and actually calculate the percent. You can use a calculator or do it by hand.

To calculate an average for a series of test scores:
1. Add up all the test scores. For Bobby Smith this is: 19 18 17 +18 -- 72 2. Calculate the total possible points: 20*4=80. 3. Divide total points scored by total possible points. 72/80=.9 4. Multiply the quotient by 100. .9*100=90


This assignment requires the use of the PRE tag. PRE stands for preformatted. You use it when you want an area on the web page to look just the way you typed it in on the source page. You can look at the source for this page to see how to use the PRE tag.