Question

program to calculate the final mark of every student from data file

hello there I was given task to read and calculate final mark of students with 68 rows (no name for the student )with 8 column(T1,T2,T3,HW1,HW2,HW3,HW4,PRJ) from a DAT. file.I managed to read the file but stuck on how to calculate final mark of the student and the final mark column should be at the 9th column when the programs displays.

the following are  the sample data of student:

T1  T2  T3  HW1 HW2 HW3 HW4  PRJ 
55   56  70   5      6       7        8        70    
56   77  78   10    0       0        7        67
67   90   0     3      10     5       5.5     50
60   71   80   7.5   5       8       7.5     65

0 0
Add a comment Improve this question Transcribed image text
Request Professional Answer

Request Answer!

We need at least 10 more requests to produce the answer.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the answer will be notified once they are available.
Know the answer?
Add Answer to:
program to calculate the final mark of every student from data file
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Similar Homework Help Questions
  • Create a program (Lab9_Act1_Write.py) that will read in data from the keyboard and store it in...

    Create a program (Lab9_Act1_Write.py) that will read in data from the keyboard and store it in a file. Your program should prompt the user for the name of the file to use and then request values be entered until the user is done. This data should be written to two files: a text file, user_file_name.txt and a comma separated value file, user_file_name.csv. To help you with decision making, we suggest that you ask the user to input data representing students’...

  • using java Program: Please read the complete prompt before going into coding. Write a program that...

    using java Program: Please read the complete prompt before going into coding. Write a program that handles the gradebook for the instructor. You must use a 2D array when storing the gradebook. The student ID as well as all grades should be of type int. To make the test process easy, generate the grade with random numbers. For this purpose, create a method that asks the user to enter how many students there are in the classroom. Then, in each...

  • Student stress at final exam time comes partly from the uncertainty of grades and the consequence...

    Student stress at final exam time comes partly from the uncertainty of grades and the consequences of those grades. Can knowledge of a midterm grade be used to predict a final exam grade? A random sample of 200 BCOM students from recent years was taken and their percentage grades on assignments, midterm exam, and final exam were recorded. Let’s examine the ability of midterm and assignment grades to predict final exam grades. The data are shown here: Assignment Midterm FinalExam...

  • Question 6 (lab 07) /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. *...

    Question 6 (lab 07) /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package lab07; /** * * @author ckandjimi */ public class Lab07 { /** * @param args the command line arguments */ public static void main(String[] args) { int outcome = methodX(5); System.out.printf("Result from Method X= %d",outcome); String [] studentNames = {"Kingston","John","Nangula","Daniela"}; int Test01[] =...

  • Excel File Edit View Insert Format Tools Data Window Help AutoSave Template-ACC 213 Lab 10 for...

    Excel File Edit View Insert Format Tools Data Window Help AutoSave Template-ACC 213 Lab 10 for Chapter 12 pre Home Insert Draw Page Layout Formulas Review Data View Conditional Formatting Arial A A 10 General Format as Table Paste B I U Aw +8 Cell Cell Styles f G104 A. E F 1 Lab #10-Chapter 12 Satement of Cash Flows Name 3 Instructions 1, Calouate the yearoveryear dferenoe in column D, then whether the change was an "norease" or "deoreaseee...

  • Assume I have a table. The values inside the table are determined by y and x...

    Assume I have a table. The values inside the table are determined by y and x variables. But in this case it is t and p (or temperature and pressure). Those values for t and p don't correlate to my array in code ( for example on column = 0 the temperature= -120). That's what a and b are for. I want to be able to input a value between two rows or columns and use a y=mx+b equation to...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT