The company is keeping track of its students information. using an old system of text files but plans to implement a new system

USE PYTHON PROGRAMMING LANGUAGE!!!

It is the galactic year 62.53. The Cruz Space Synergy Industries. (CSSI) has grown so much that it cannot find enough scientists and engineers to hire. Therefore, the company created the Cruz Space College (CSC) to train the next generation of space scientists and engineers. The company is keeping track of its students’ information. using an old system of text files but plans to implement a new system soon. Your job for this project is to make sure that the data in the files is not corrupted.

Write a program that:

  1. Asks the user for an input file name.
  2. Validates that the user entered a valid file name (name of an existing file).
  3. If the user enters invalid file names 3 times, displays an error message and quits.
  4. Reads from the input file the names of students (don’t make assumptions about how many students) and their grades (0..5 grades per student, default to 0). The names of the students and the grades will be stored in a dictionary where the names are the keys, and the grades are stored in a list associated with the key.
  5. After reading the student information into the dictionary, displays the name of each student followed by their grades followed by the grade average to the console as follows:

Student 1 Grade 1 Grade 2 Grade 3 Grade4 Grade 5 Average

Student 2 Grade 1 Grade 2 Grade 3 Grade4 Grade 5 Average

Student 3 Grade 1 Grade 2 Grade 3 Grade4 Grade 5 Average

Student 4 Grade 1 Grade 2 Grade 3 Grade4 Grade 5 Average

Dictionary + List:

{Student1:[Grade1, Grade2, Grade3, Grade4, Grade5], Student2:[Grade1, Grade2, Grade3, Grade4, Grade5], Student3:[Grade1, Grade2, Grade3, Grade4, Grade5]}

Structure of input file:

Student 1Name

Student 1 Grade 1

Student 1 Grade 2

Student 2 Name

Student 3 Name

Student 3 Grade 1

Student 4 Name

Student 4 Grade 1

Student 4 Grade 2

Student 4 Grade 3

Student 4 Grade 4

Student 4 Grade 5

For Example:

Rodolfo

98.9

99.5

Julio

Pedro

100

Maria

99

99.8

90

80

80

Submission guidelines: Send your Assignment4.txt file as attachments to my email, with the subject Assignment 4.

Note: Please include the header at the top of your program. Replace the necessary information.

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more