I need to write a script that will load a data file and total the scores of the
ID: 1826800 • Letter: I
Question
I need to write a script that will load a data file and total the scores of the 5 questions for each of the 40 students. It begins by separating the data such that the first column is Question1, the second column is Question2, the third column is Question3, the fourth column is Question4, the fifth column is Question5, and then calculating the total score by adding the corresponding elements of each vector (to get a homework score out of 100 for each of the students). The approach I started is to use a for loop to do this. The data is as follows. 12 24 23 25 24 20 20 24 11 20 25 17 20 24 17 23 15 25 20 15 0 0 22 17 0 9 23 21 15 23 19 24 20 0 24 18 20 24 23 20 21 25 20 23 25 23 22 17 23 22 24 21 15 24 21 20 20 0 20 20 17 19 23 25 23 15 23 24 22 24 0 24 20 21 20 23 20 17 20 25 24 25 15 24 22 12 22 0 12 21 20 21 23 20 20 25 20 24 25 23 23 24 20 23 24 0 12 25 0 20 9 20 22 9 25 19 25 21 19 22 18 23 20 18 21 21 0 19 15 20 23 9 24 24 22 24 19 12 20 21 20 18 20 17 20 17 23 25 15 9 15 24 23 0 19 0 20 0 23 18 23 25 9 24 15 24 22 19 20 24 20 21 18 25 20 25 20 21 22 17 22 17 23 21 15 21 19 24 20 11 20 21 20 19 10 19 13 25 25 5Explanation / Answer
its not written properly.. unable to understand
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.