Number of lines of student data

Assignment Help Basic Computer Science
Reference no: EM131868427

Need help writing a java program that will read in a data file of student marks , and calculate and display the final mark for each student along with some other statistics. The first line in the file for each student will contain the student id number, an assignment mark, a test mark, and an exam mark as seen in the file below. The marks are all out of 100. You will read in the data for each student, calculate their final mark, and then print out their id, the assignment, test, and exam mark along with their computed final mark.

notes:

1) the first line in the file contains the number of lines of student data

2) the data in the lines that follow contain the id, assignment mark, test mark, and exam mark for each student.

Here is the content of a sample input file:
5
202346   34.7	85.1	60.0
321189   80.8	52.4	90.2
293498   43.2	64.1	37
205476   75.4	67.6	92.6
389972   23.3   87.2    41.5

Reference no: EM131868427

Questions Cloud

Provide er diagram with appropriate attributes : Provide E/R diagram with appropriate attributes. You may make any reasonable choice of data types. Remember to include any constraints.
Currently has debt outstanding with market value : Joe's Party Supply, Inc., currently has debt outstanding with a market value of $30.5 million and a yield to maturity of 6%.
Number of inputs of the circuit implementing the expression : Let the cost of an expression be the total number of gates plus the total number of inputs of the circuit implementing the expression.
Use option-based methods of compensation : Do you think that companies are over- or under-incentivized to use option-based methods of compensation?
Number of lines of student data : The marks are all out of 100. You will read in the data for each student, calculate their final mark, and then print out their id, the assignment
Why do providers focus on money more than patient care : Does profit in healthcare encourage providers to do more than what is necessary? Do providers focus on money more than focusing on patient care?
Patient files in the electronic medical records : You have access to all the patient files in the Electronic Medical Records (EMR). Your dilemma is that you have a professional responsibility
Personal information only in the cloud : Suppose that right now you begin storing all your personal information only in the cloud.
What features does it have that would benefit each company : What features does it have that would benefit each company? What features does it not have that each company would need?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Define the purpose of the systems analyst

Define the purpose of the systems analyst and why it is important in the overall systems analysis process. Write this post to an audience of IT specialists.

  Completing the laboratory assignment

After successfully completing the laboratory assignment you should be able to:

  Write the windows cli commands that will clear the screen

Write the Windows CLI commands that will clear the screen; turn off command echo;and display the current IPaddress,subnet mask, and default gateway

  Three different people to watch the same event

How is it possible for three different people to watch the same event, and actually see three different things (actually recall different occurrences)?

  Two command line arguments

The program must take two command line arguments and then print these arguments. The program must also print a banner withyour first and last name.

  Systems analysis and design

At the conclusion of the preliminary investigation, Susan and Gray will deliver a written summary of the results and deliver a brief presentation to Personal Trainer's management team.

  Programming example election results

In the Programming Example Election Results, the class candidateType contains the function calculateTotalVotes.

  Problem regarding the responsible for security

As a DBA, you are responsible for security. Provide three (3) reasons to complete a security baseline, and describe the key ways that the Security Compliance Manager can help achieve a company's security goals.

  Write a program that creates a child process

demonstrate that the two processes alternately execute for 1 second of CPU time. (Note carefully the advice given in Section 35.3.2 about preventing a runaway realtime process from hogging the CPU.)

  Select a relatively modern cpu

Select a relatively modern CPU (something made in the past two years) made by either Intel or AMD. Make this selection based on characteristics.

  Cost and measurement analysis

Identify two non-current assets and comment on how Yahoo values these two assets in the balance sheet. Does the Yahoo have other alternatives as to how they could value the two assets?

  Problem regarding the audio and html5

HTML5 supports several formats of audio. However, there is no single format that is compatible with every browser. Analyze two different ways that this issue can be addressed. Select the best solution for this issue and explain why you chose it.

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