Program to processes the test data

Assignment Help Programming Languages
Reference no: EM1352304

Q1) The History teacher needs help in grading a true/false test. The students' ID's and test answers are stored in a file (dont worry about the file). The first entry in the file contains answers to the test in this form.

T F F T F F T T T T F F T F T F T F T F

Every other entry in the file is the students ID, followed by a blank, followed by the students responses.
For example, the entry

ABC54301 T F T F T F T T T F T F T F F T T F T

indicates that the students ID is ABC54301 and the answer to question 1 is true, the question for number is false, and so on. The student did not answer question 9. The exam has 20 questions. Each correct answer is awarded two points, each wrong answer gets -1 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, and 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, 50.99 -0 F. Finally show the number of students who took this test.

Reference no: EM1352304

Questions Cloud

Organizational behavior concepts : Look for best practices to support/contradict your opinions and what are the latest theories on these subjects
Transaction analysis of various accounts : Transaction Analysis-Various Accounts, pages 285-286. This illustrates transaction analysis needed for the development of the liabilities on the balance sheet.
Issues in cross-cultural psychology : Help to Create a Clear Outline to remember my purpose/goal, which is to create & present a 12-Slide PowerPoint Presentation on Issues in Cross-Cultural Psychology. That way I can use the Outline as a jumping-off point for my presentation.
What is the speed of the bullet : A 2.50 g bullet, traveling at a speed of 465 m/s, strikes the wooden block of a ballistic pendulum. The block has a mass of 275 g. What is the speed of the bullet/block combination immediately after collision.
Program to processes the test data : 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, and followed by the test grade.
Disadvantages to group decision making : What are the advantages and disadvantages to group decision making and how can an organization use more than one type of organizational design?
The overall financial yield for each segment : The ABC Resort is considering hosting a prestigious corporate awards convention next year that will require 55 percent of the total rooms in the resort for 8 days and seven nights during the resort's peak season.
Define if you should open the retail shop in this vacant : Define if you should open the retail shop in this vacant space and Include the break-even transactions, CM%, and the break-even dollar amount.
Case study-scenario of an adolescent girl : Create a case study/scenario of an adolescent girl in which you describe the persons, (her) physical changes and her experiences and the effect those changes on her sexuality, relationships, and self-concept.

Reviews

Write a Review

Programming Languages Questions & Answers

  Use of various bash commands

Assignment On: This work will require scripting the use of various bash commands and / or small programs that involve directory and file structures.

  Solve the programming problem

Solve the programming problem

  Write temperature conversion program

You will write a temperature conversion program. GUI and event handling setup must be done in the constructor of the class that implements the GUI.

  Writing program of long term parking

Write an enitre program about the long term parking, and calculate the parking total fare.

  Development of the current strategic potential of airline

Evaluate the organisation's current external and internal strategic position

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Two-level memory cache hierarchy

Explain how you would pipeline the four following pairs of statements.

  Advantages and disadvantages for windows login

The Windows login can be a user or a group with users defined to the group. What do you think the advantages and disadvantages are for each type?

  Explaining exception handling using program

Use exception handling appropriately. Use comments to illustrate the various concepts applied / utilized in the solution.

  Creating main function that opens the input file

Create a main function that opens the input file, reads each line, and based on first character in input line, calls the [A]dd function or [M]ultiply function.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Defining method dashedline with one parameter

Write a definition of method dashedLine, with one parameter, an int .

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