Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a C++ program that reads a file input.csv, containing grades. Input.csv is ordered such that column 1 is name, column 2 is email, column

Write a C++ program that reads a file input.csv, containing grades. Input.csv is ordered such that column 1 is name, column 2 is email, column 3 is Student ID number, and column 4 is student's score. Use the Regex class to parse each row in input.csv. Create a hash table using students ID number as a key and students score as a value (key-value pair). Resolve collisions using the chaining method. Read another file, roster.csv containing students grades (= class grading book). Use the Regex to parse each row in roster.csv. Look up the hash table by using the parsed ID number and recover the corresponding quiz score. Finally, create a new file output.csv with appended scores.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

3. Cite examples of potential economies of scale and scope.

Answered: 1 week ago

Question

=+2 Is the decision sustainable in the long run?

Answered: 1 week ago