Indicates that the student id is abc54301

Assignment Help Basic Computer Science
Reference no: EM13161783

Discussing one and two dem. arrays-The history teacher at your school needs help in grading a True/False test.

The students' IDs and test answers are stored in a file. The first entry in the file contains answers to the test in the form:

TFFTFFTTTTFFTFTFTFTT

 

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

ABC54301 TFTFTFTT TFTFTFFTTFT

 

indicates that the student 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 one point deducted, and no answer gets zero 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: EM13161783

Questions Cloud

50 element array of integers with random numbers : write a java code to instantiate and initialize a 50 element array of integers with random numbers in the range of 45 through 256 inclusive.
Develop a web-scraping program : Develop a web-scraping program that can obtain the html contents from a URL and parse the contents to extract data to be used as the source data for a system integration document. This needs to be done in Visual Studio, preferrably VB, C#, or C++.
Data structures class : data structures class this project will give you an introduction. There are two important data structures that you will learn and use. The first is a stack, it is a LIFO (Last In First Out) structure. You can think of it like a a stack of plates in y..
Design a prgram using python : Design a prgram USING PYTHON that students can use to calculate what score they need on final exam to get a certan final grade for a course.
Indicates that the student id is abc54301 : Indicates that the student 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 corre..
Write java code to read integers from an input file : write java code to read integers from an input file and write only the odd numbers to an output file. the two file names will be provided on the command line as the input file followed by the output file.
List all the registration system stakeholders : 1. List all the registration system stakeholders. How is each group affected?
Recent prostate cancer screening test : On a recent prostate cancer screening test, Dale received positive results. It is known that this typescreening test will show 99% positive for people who have cancer
More registers appears to be a good thing : More registers appears to be a good thing, in terms of reducing the total number of memory accesses a program might require. Using the arithmetic expression S = (A+B)-(C+D)

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Explaining concept of internet-first printing presses-mass

A number of historians explain concept of the internet as parallel to concept of first printing presses - mass communication.

  Strategic advantages voip brings to businesses

Write down some of the strategic advantages the VoIP brings to businesses that adopt it? Prior, voice and data networks were separate and typically maintained by separate groups.

  Executing critical section in mutual exclusion protocol

In Lamport's mutual exclusion protocol, if process i is implementing critical section.

  Expalining protocols essential in data communications

What is meant by protocol? Why are protocols essential in data communications?

  Create application to declares array of ten houseplant

Design an application that declares an array of 10 HousePlants. Prompt the user for data for each of the HousePlants, then display all values.

  Explaining reliable information systems staff member

How many information systems staff member do you think Reliable can reasonably afford to employ? what mix of skills would they need?

  Storing and compiling a large amount of data

Because information systems are able to store and compile a large amount of data, many people worry that, their private data will end up in the wrong hands. Explain your position.

  Describing equivalence relation

Let X = Z × (Z {0}). Define the relation  on X by (x, y)  (z, t) ↔ xt = yz for every (x, y), (z, t) ∈ X. Show that this is an equivalence relation on X.

  Question about flight function

An airline vice president in charge of operations requires to determine whether the current estimates of flight times are accurate. because there is a larger possiblity of variations due to wether and air traffic in the longer flights.

  Provide permission to get financial amounts

System to have employees register and provide permission to get financial amounts from dental insurance and retirement companies.

  As a beginning business analyst

As a beginning business analyst, you have been tasked by the project manager to develop the system requirements related to the handling of outstanding purchase orders.

  Explaining actionscript developer

What do you believe the following comment means for ActionScript developer: "you are used to having to define object methods and properties in class structure before using them in instance.

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