Write down a program that processes the test data

Assignment Help Computer Engineering
Reference no: EM1336419

The history teacher at your school needs help grading a True/False test. The students' IDs and test answers are stored in a file.
The first entry in the file contains the answers to the test form:

TFFTFFTTTTFFTFTFTFTT

Every other entry in the file is the student's ID, followed by a blank, followed by the student's response. Fore example, the entry:

ABC54301 TFTFTFTT TFTFTFFTTFT

indicates that the student's 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 -1 point, and no answer gets 0 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.

Reference no: EM1336419

Questions Cloud

Why relational database was the best choice : create a relational database containing information about music performers, their recordings, and the composers of the music they recorded.
Why the file manager should grant such requests : why the file manager should grant such requests.
Communications and flow of information : Communications and Flow of Information - Explain in a narrative style the flow of information in your company
Explain the marketing mix- price : Explain The Marketing Mix- Price and Explain both situations as fully as possible including any effect on your opinion of or attitude towards the brand explaining why you bought the thing you thought was over-priced
Write down a program that processes the test data : Write down 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; ..
Divorce case : Harold Homes is a family law paralegal. His best friend, Isabel Ivory is getting a divorce. Isabel asks Harold to help her prepare the papers to file for divorce. Is it ethical for Harold to do this?
Scheduling company wide resources : Explain how outsourcing project work can help alleviate some of the common problems associated with multiproject resource scheduling
Suppose two computers in each scenario need to exchange : What could you speculate regarding the time required to perform the transfer in each scenario? Explain your reasoning and support it with estimated calculations.
Computing the portfolio risk : The covariance between the two stocks is -0.35. Find the portfolio risk if: the stocks are weighted equally in the portfolio.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Write down a little man computer program

Write down a Little Man Computer program.

  Find out the length of the string

In the absence of three consecutive erroneous input attempts, your user should have the opportunity to continue running the program until directly deciding to terminate.

  What are the reasons of project failure

Make sure to contain how and why project was initiated, what setting up was done, how plan went wrong and what was done to solve the trouble. What are the reasons of project failure

  Evaluates and contrast tcp and ud

Describe the need for the Transport Layer. Recognize the role of the Transport Layer as it provides the end to end transfer of data between applications.

  Describe different structures and areas within brain

make sure to discuss the location in the brain, their functions, disorders/pathology related to damage to these structures, and other important information in regards to these structures.

  Explaining troubleshooting

AV software has removed the malware from highly infected system. After first reboot, an error message is showed which consists of a reference to the strange DLL file which is missing. Explain two options you must use in order to start troubleshoot..

  Design a new villian value called badguy

Also suppose the existence of a function copyVillian (as declared below) that takes two Villian params, one called orig and the other called copycat, and makes copycat a deep copy of orig.

  Words might appear multiple times in the entered text

write down a program that allows the user to enter a line of text. I then need to use the stringTokenizer to break the input into words. I have to Put these words into a link list and then print them out in alphabetical order.

  Detecting problem behind slow system booting

Suppose you have observed that your system is performing slower than the usual. Which system resources are likely to be at the root of the problem?

  Find out what tasks are assigned to each phase

A project includes Analysis, Definition, Design, Implementation, Maintenance, and Support phases. How do we determine what tasks are assigned to each phase.

  What tools you would need to conduct the site

what tools you would need to conduct the site survey and why each is required.

  Explain the modified scorecard approach

express the Value Based Management approach of demonstrating business value. Explain the Modified scorecard approach to measuring IT value. What is the benefit of this approach? Describe the concept of  balanced score card.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd