Question: Part1: write a program with python; program will read a txt file which is include students grades with numbers. The programs converts those numbers to

Part1:

write a program with python; program will read a txt file which is include students grades with numbers. The programs converts those numbers to Latter grates with some informations, and it will writes the outputs to another file for example letter.txt

python grade.py -i grades.txt -s 2 [-o letter.txt]

grade.py : program files

-i : for any input

-s column numbers options (-s 1 for numbers, -s 2 for name -s 3 for surname ...sorting from small to large.

Column numbers are given as negative ( "-s -2", etc.), it should be done in descending order.

-o letter.txt: if the user to enter this option if the file given letter grades To be written; If not, letter grades will be written to the screen

When writing the program described above, students will take action to keep the information about the Student named a class (class), you must write. If you wish you can write and you need another class.

Input File Format: grades.txt Number Name Quiz Homework Visa Final 0.20 0.20 0.30 0.30 15011201 Alex Aks 70 60 80 90 15011202 Aymar Aks 80 70 90 70 15011203 Vilademir Pak 60 50 70 80 15011204 Zuzu Pak 90 70 60 70

Output File Format: letter.txt Number Name Quiz Homework Visa Final Letter-Note 0.20 0.20 0.30 0.30 15011201 Alex Aks 70 60 80 90 AA 15011202 Aymar Aks 80 70 90 70 BB 15011204 Zuzu Pak 90 70 60 70 CB 15011203 Vilademir PakPak 60 50 70 80 CC

As above, the screen or the file is written to the list in column 1 should be written letters and notes by adding more output options should be ranked according to the order entered by the user. In the above example, the students, according to a letter grade high to low (in Decreasing order) are listed. (Note: Letter grades are given on a random sample)

Part 2: Graphical User Interface - GUI This section provides a graphical interface to the command line program for employees (GUI) will write. Note that the file that the user of a button ( "Download") will be installed by selected and will be displayed in a table-clicking. "Accounts" button clicked letter grades will be calculated and displayed in the last column. "Sort" button is clicked students to sort by one column. Which combo box will be sorted by the column, in ascending / descending order can be selected with the radio button or combo box.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!