Write a program that imports a file with the answer key student id\'s, and the s
ID: 3545844 • Letter: W
Question
Write a program that imports a file with the answer key student id's, and the student's answers to a true/false test. The exam has 20 questions and the answer key is: TFFTFFTTTTFFTFTFTFTT (Which is the first entry in the file). The class has more than 150 students. Each correct answer is worth 2 points, each wrong answer is -1 point, and no answer is 0 points. The program should implement arrays to process the data. The program should output the student's ID, folllowed by the answers, followed by the test score, followed by the test grade(grade based on standard 100-90 = A, 89.99-80 = B...)
After the answer key each line in the imput file is formatted as:
ABC54301 TFTFTFTT FTFTFTTTFTF (the blank space indicates no answer to the question)
All student id's are assumed equal in length
Explanation / Answer
When is it due ?
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.