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

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

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

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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