HW9-Fall10 - is course section The last two characters are...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Math 338 Fall 2010 Name Kafai – HW 9 Due 12/1/2010 Consider the data set: M100101 Armann 10 10 10 10 8 9 13 15 10 M100102 Ellery 8 10 7 6 10 1 7 12 15 M100103 Anna 7 5 10 4 10 10 12 9 11 M100104 Tomo 9 8 10 5 10 5 10 14 12 M100301 Glenn 9 6 11 13 2 4 6 5 9 10 10 M100302 Duc 14 12 10 12 9 10 10 8 10 10 10 M100303 Woo 14 15 12 9 8 7 9 10 5 9 10 M100304 Olson 10 10 12 11 5 10 7 9 8 10 10 M100305 Ma 12 15 14 10 10 10 10 10 9 10 9 M100306 Garcia 14 13 15 11 9 10 8 10 10 6 10 The first line (and every three lines after that) has a variable which start with M and has length 7. This is the ID for each student. The first 4 characters are for the course name. The next character
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: is course section. The last two characters are unique for each student. If the student is in section 1 then the next line of the data is quiz grades (out of 10) and the next line is homework grades (out of 15). If the student is in section 3 then the next line of the data is homework grades (out of 15) and the next line is quiz grades (out of 10). Create two data sets from data above, one for section 1 and another one for section 2. Print the two data sets with appropriate labels and formats with all variable included....
View Full Document

This note was uploaded on 09/19/2011 for the course MATH 338 taught by Professor Staff during the Spring '08 term at S.F. State.

Ask a homework question - tutors are online