Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

PLEASE!!! If the image cannot open, i posted what the image said just below the

ID: 3783329 • Letter: P

Question

PLEASE!!! If the image cannot open, i posted what the image said just below the image!!!

The backstory

Odracir Razalas teaches a programming language called SULP-SULP-EES at IELEISULL (a 4-year university located in a place known as Ainrofilac, ASU). He hopes that by disclosing some grading guidelines in his syllabus, students know precisely how many points they need to score in their exams, assignments, etc., to earn the grade they want. However, for some reason at the end of the quarter some students seem to have trouble computing their final scores.

The following image is taken from the class syllabus

If the image cant read, it said that there are two shceme, shceme a is 25% hw+20%mid1+20%mid2+35%final, and the scheme b is 25%hw+30%best of two mid+44%final,final grade will pick highest of these two

In addition, regarding the homework assignment he wrote:

"There will be 7 or 8 homework assignments throughout the quarter. No late homework will be accepted for any reason but your lowest homework score will be  dropped. "

Your job is to write a library file that helps students compute their final score once the quarter is over.

The assignment

You are to implement a library file (.h) containing the function compute_overall_score. This function should receive two string variables as parameters. The first parameter correspond to the name of a text file that contains the grades earned by a student throughout the quarter. On the other hand, the second parameter contains the name of a log file where information will be sent.

This is (in principle) a very simple assignment. Since the idea behind it is to make sure you review some (or most) of the concepts from 10A. You need to make sure your project follows the rules below:

Your project should use a three-file layout: simple driver (e.g. hw1-driver.cpp) + user-defined library (hw1.h) + implementation of the functions defined in the library (hw1.cpp).

You need to use AT LEAST ONE class. This is entirely up to you. It could be a very simple class with no member functions, or a more complex setup with several different classes.

You need to pass AT LEAST ONE PARAMETER by reference to a function.

You need to use AT LEAST ONE POINTER (do not worry if you did not cover this topic in 10A, I will briefly mention during class the easiest way to fulfill this requirement).

You need to use AT LEAST ONE VECTOR OR ARRAY (the choice is up to you).

When your project is run, the overall grade should be displayed to the console as well as being sent to the log file specified in the driver. Said overall score should be reported as a percentage with two decimals(e.g: 74.47%). You may also report the scores corresponding to the two different grading breakdowns.

For this project you may assume that:

the user will supply a valid file containing the scores of a student and that this file will be correctly formatted. The first line will contain 8 integers between 0 and 20, separated by a blank space; the second line will contain 2 integers between 0 and 100 separated by a tab character ' ' ; and the third line will contain 1 integer between 0 and 100.

For testing purposes you may use the file xibalba.txt;or you can create your own, as long as it adheres to the guidelines given above.

When my implementation is run with the data inside the xibalba.txt file, the output it produces looks more or less like this:

Score A: 89.0786
Score B: 88.9986
Overall score: 89.08%

What is this assignment about?

Review. Plain and simple review. Some of you took PIC 10A this past quarter and are very familiar with these topics, whereas some of you took it a while back and need to review some concepts. In any case it is always a good idea to make sure we review these basic concepts.

A technical note

Unfortunately, different operating systems (e.g: windows, Mac OS) treat text files in slightly different ways. If for some reason the test file described above appears to consist of just one line with 11 integers, try to copy/paste the information into a file named xibalba.txt created using your own computer.

hw1-driver.cpp

hw1.h

hw1.cpp

xibalba.txt

Explanation / Answer

hw1.h

hw1.cpp

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote