Writing a java program

Assignment Help Data Structure & Algorithms
Reference no: EM1380473

The history teacher at your school requires help grading a True/False test. The students' IDs and test answers are stored in a file document.
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: EM1380473

Questions Cloud

Illustrate what changes if any would you recommend : Illustrate what do you think of a screening process like this. Specifically, illustrate what do you think are its pros also cons. Would you recommend a procedure like this. If so, illustrate what changes, if any, would you recommend.
Explain how would being conscious of this positivity ratio : Explain how would being conscious of this positivity ratio change your interactions with colleagues, direct reports, friends or children.
Discuss whether or not it is important for average manager : Average business manager is not likely to know about or use Federal Registry. Discuss whether or not it is important for average manager in today's business climate to use Federal Registry on a regular basis.
Explain why do these countries provide bulk of fdi : Then identify top-ten (or -20) foreign MNEs that have undertaken inbound FDI in your country. Explain why do these countries also companies provide bulk of FDI into country.
Writing a java program : The history teacher at your school requires help grading a True or False test. The students' IDs and test answers are stored in a file document.
Explain impact of globalization also information technology : Compare also contrast three different types of entrepreneurs also state which you are most likely to emulate should you begin a small business. Assess impact of globalization also information technology on creation of small businesses.
Illustrate what approach can we adopt when implementing : Please support your answer with examples of current organisational changes for example Qantas, Samsung, Toyota. Transition to change may be challenging illustrate what approach can we adopt when implementing change.
Question about lan and wan : Think about the following two scenarios two computers are connected to a LAN using a total of 20-feet of cable, and two computers are connected over the Internet and are 8000 miles from each other.
Illustrate what tradeoffs did you contemplate : When faced with challenges, illustrate what information did you use to make your decision also illustrate what tradeoffs did you contemplate.

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Design benefits election system-service request from huffman

Individual project for this course is in form of Service Request from Huffman Trucking. It is essential for student to access Service Request: SR-ht-001. Design a Benefits Election System.

  Design algorithm to receive two integer items from terminal

Design an algorithm that will receive two integer items from a terminal operator, and display to the screen their sum, difference, product and quotient.

  Write algorithm find intersection of two singly-linked list

Write an algorithm (pseudocode) to find the intersection of two singly-linked lists. Assume that the data in each list are in nondecreasing order.

  Documentation and proper design procedures

Determine the main reason that make many developers skip over the documentation and proper design process? As a manager, discuss how do you ensure that the proper database design process are followed by database development teams?

  Use of primitives helps remove ambiguities in algorithm

Explain the distinction between an ambiguity in a proposed algorithm and an ambiguity in the representation of an algorithm. Describe how the use of primitives helps remove ambiguities in an algorithm's representation.

  Explain benefits of isdn

Sometimes ISDNs are used in locations that do not support DSL or cable modem connections. Your selections may be analog modems or an ISDN connection in those remote locations.

  Write algorithm for program to compute the sum of number

Write an algorithm for a program which will satisfy following requirements: - Asks a user how many numbers they want to calculate.

  Computing hash value for message

For a message, he computes the hash value H = (VChar 1 x VChar 2 x VChar 3 ...x VChar N) mod(26).

  Different applications of data structure

What are the different applications of Data Structure

  Explain method for combining two trees-heap-order property

Assume two binary trees, T 1 and T 2 , hold entries satisfying heap-order property. Explain method for combining T 1 and T 2 into a tree T whose internal nodes hold union of entries

  Write algorithm to find median value using queries

As queries are expensive, you would like to calculate median using as few queries as possible. Provide the algorithm which finds median value using at most O(log n) queries.

  Generalize 2-3 algorithms for insert and delete

Generalize the 2-3 algorithms for INSERT and DELETE to K-J trees, where non-leaf vertices have between K and J children for fixed integers K >=2, and J>= 2K-1.

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