Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a program that reads the student information from a tab separated values (tsv) file and creates a text file that contains student information
Write a program that reads the student information from a tab separated values (tsv) file and creates a text file that contains student information together with the course grades of the students. Each row of the tsv file contains the Last Name, First Name, Midterm1 score, Midterm2 score, and the Final score of a student. A sample of the student information is provided in Studentinfo tsv. Assume the number of students is at least 1 and at most 20. The program performs the following tasks: Read the file name of the tsv file from the user. Open the tsv file and read the student information Compute the average exam score of each student. Assign a letter grade to each student based on the average exam score in the following scale A: 90- > my Home - Looking Glass NM zy Section 8.8 - CS 172: Computer Science I learn.zybooks.com Homework Help - Q&A from Online Tutor... What's the difference between a Premier... =zyBooks My library > CS 172: Computer Science I home > 8.8: LAB: Course Grade Computation and the contents of StudentInfo.tsv are: Barrett Edan 70 45 59 Bradshaw Charlton Reagan 96 97 88 Caius 73 94 80 Mayo Tyrese 88 61 36 Stern Brenda 90 86 45 the file report.txt should contain: Barrett Edan Bradshaw Charlton Reagan 96 97 Caius 73 94 70 45 59 F 88 A 80 B Mayo Tyrese 88 61 36 D Stern Brenda 90 86 45 C 423062.2712980.qx3zqy7 LAB ACTIVITY 8.8.1: LAB: Course Grade Computation Submission Instructions Downloadable files Student Info.tsv Download Compile command javac CourseGrade.java We will use this command to compile your code Upload your files below by dragging and dropping into the area or choosing a file on your hard drive. CourseGrade.java Drag file here or + C Post a new question EzyBooks catalog ? Help/FAQ Katie Alemar 0/10
Step by Step Solution
★★★★★
3.49 Rating (162 Votes )
There are 3 Steps involved in it
Step: 1
This program reads student information from a TSV Tab Separated Values file com...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started