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

  Explaining class definition of subclass of square

Write down the class definition of subclass of Square called FancySquare which has a method called getDiagonal. The getDiagonal method gets no arguments.

  Travelling salesman problem

Travelling Salesman Problem on the L1-metric plane.

  Determining smallest possible number people in parade

Group of people are arranging themselves for parade. Determine the smallest possible number people?

  What is java adapter class

What is Java adapter class.

  Probability line is executed in nth iteration of for loop

What is the probability that line is executed during the nth iteration of the for loop? What is the exact expected number of executions of line?

  Using the irvine32 library functions

Create 32 random points which have (x, y) co-ordinates

  Program for insertion sort and selection sort algorithms

Write a program involving the insertion sort, merge sort and selection sort algorithms.

  Build a student record managing system application

Build a student record managing system application

  Prepare a presentation on backgrounds and fonts

Can you still read the text? Is it too narrow or thick? Is an icon hidden by the background? You should also include tips for choosing backgrounds and fonts.

  Program that asks for user-s age

Write a program that asks for user's age. Based on their response print "You can vote" (18 years old or older) or "You can't vote".

  Explaining object hierarchy in object-oriented programming

Study the concept of inheritance and the object hierarchy in object-oriented programming, and write a paper comparing these concepts with the concept of inheritence.

  Method takes string and integer as parameters

Write a method called multiConcat which takes a String and an integer as parameters. Return String made up of the string parameter concatenated with itself count times.

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