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

Design program that will read a message string

Write down a JavaScript program that will read a message string and a number from text boxes on a Web page. The program will then use those values to display some informatio

What the best approach to integrating domain-specific needs

What is the best approach to integrating domain-specific needs? Why is this approach better than others? What makes today's technological environment a Digital World? What is

Create a separate xsl template for each field

Create an XSLT file named lab5.xslt that reads an XML file containing student records and generates HTML output. Create an XSL template named student, and then create a sepa

Several pieces of code to practice programming practices

Create several pieces of code to practice programming practices - create a local SVN repository and show that you using this repository for correct use and create SEPERATE DIR

What is cascading style sheets (css)

Cascading Style Sheets (CSS), a multi-featured specification for HTML, offers designers an expedient, powerful process to control formatting and layout of Web pages.

Discuss the security implication

Discuss the security implication of always-on technologies like DSL in remote home offices. What concerns are there? Are they justified? Is the technology worth the security

Create an array that contains the days of the week

Create an array that contains the days of the week. Create a loop to print the content above. Write a 150 word summary of the information. Include examples and real world appl

Prepare a schedule showing the annual depreciation

Prepare a schedule showing the annual depreciation and end of year accumulated depreciation for the first three years of the assets life under the straight line method, the

Reviews

Write a Review

 
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