When submitting this lab, submit a java file called Student TestScores, and create the following structure in Eclipse: Package Name: week 10 Class Name: Student TestScores Some problems require data from a file be loaded into memory but processed later. To simulate this scenario, write a program that uses the Scanner to open a file and read each line, storing the data into a multi-dimensional array. In this assignment, you will read in all the data from the Student Test Grades.csv file and store it in a multi-dimensional array. Then you will display the data to the console in the form of letter grades as shown in the example run. • Create an ArrayList of String arrays: ArrayList class Roster = new ArrayList(); • Read each row of the "Student Test Grades.csv" file into your program as Strings using while(file.hasNext()) • Convert each read-in String to a String[] array using the String.split(".") method Add the String[] array to the classRoster ArrayList . . When you have finished loading all the data into the ArrayList, close the file. Now it's time to loop through the classRoster ArrayList and display the data while converting the numeric scores into letter grades. • Loop through all the elements of the classRoster ArrayList To help with readability, temporarily store each element in the classRoster ArrayList in a variable you can easily access. .
When submitting this lab, submit a java file called Student TestScores, and create the following structure in Eclipse: Package Name: week 10 Class Name: Student TestScores Some problems require data from a file be loaded into memory but processed later. To simulate this scenario, write a program that uses the Scanner to open a file and read each line, storing the data into a multi-dimensional array. In this assignment, you will read in all the data from the Student Test Grades.csv file and store it in a multi-dimensional array. Then you will display the data to the console in the form of letter grades as shown in the example run. • Create an ArrayList of String arrays: ArrayList class Roster = new ArrayList(); • Read each row of the "Student Test Grades.csv" file into your program as Strings using while(file.hasNext()) • Convert each read-in String to a String[] array using the String.split(".") method Add the String[] array to the classRoster ArrayList . . When you have finished loading all the data into the ArrayList, close the file. Now it's time to loop through the classRoster ArrayList and display the data while converting the numeric scores into letter grades. • Loop through all the elements of the classRoster ArrayList To help with readability, temporarily store each element in the classRoster ArrayList in a variable you can easily access. .
Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter6: Arrays
Section: Chapter Questions
Problem 5GZ
Related questions
Question
100%
Please may you assist me with this question in Java language
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning