Every other entry in the file is the student ID, followed by a blank, followed by the student's responses. For example, the entry:
ABC54301 TFTFTFTT TFTFTFFTTFT
indicates that the student ID is ABC54301 and the answer to question 1 is True, the answer to question 2 is False, and so on. This student did not answer question 9. The exam has 20 questions, and the class has more than 150 students. Each correct answer is awarded two points, each wrong answer gets one point deducted and no answer gets zero points. Write a program that processes the test data. The output should be the student's ID, followed by the answers, followed by the test score, followed by the test grade. Assume the following grade scale: 90%-100%, A; 80%-89.99%, B; 70%-79.99%, C; 60%-69.99%, D; and 0-59.99%, F.
Recently Asked Questions
- Each of two companies needs to issue $10 million in 5-year debt on the same date. Company A is quoted a market rate of 13% for fixed rate debt and LIBOR + 200
- You are given the following data regarding Chinese and American foreign exchange and money market rates: the spot exchange rate is $1 = ¥6.24, the 1-year
- Given: C = $4.00, P = $6.00, S = $42, K = $45, T = 3 months, r = 8%. The option contracts are written on 100 units of the underlying asset. (Show work.) What