Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Develop a computer program which would read these data files and calculate the total grade from the course for each student. The weight of the

Develop a computer program which would read these data files and calculate the total grade from the course for each student. The weight of the each item for last grade calculation is; homework 1 25 %, homework 2 25%, lab 15% and lasthomework 35%. The last grades should be rounded to integers. After this, your program should specify the letter grade for each student. The rules for letter grade distribution are as follows: (Note that these rules are not necessarily the rules applied in our university) 1. Any body, whose attendance is less than 70% of the overall number of lectures, will receive a DZ grade. 2. Anybody, whose lasthomework note grade is zero, will automatically receive FG. 3. Anybody, whose lasthomework note grade is greater than zero but less than 35, will automatically receive FF. 4. Anybody whose lab grade less than 20 will also automatically receive FF. 5. For the rest of the class excluding the people who failed at the first four steps, you would calculate the arithmetic average (mean) and standard deviation of the grades. 6. You will set CC grade to the corresponding mean grade you calculated in the previous step. Then you would add 60 % of the the standard deviation to mean to set the starting point for the CB grade. Adding 60 % the standard deviation once more would yield the starting point for the BB grade, etc 7. For the grades lower than CC (DC, DD, FD) you would successively subtract 60 % of the standard deviation from the mean grade. After the letter grades are calculated the program would ask the user what type of information is asked for using a menu. The program should ask the user whether the user wants to see overall grade distribution or grade information for an individual. If the user selects to see overall grade distribution your program should write in a text file; the number of people who received AA, the number of people who received BA, etc for all grades. The program should also write the number of people who passed and the number of people who failed into the text file. You should design the format of the output such that it should be neatly written and explanatory. Your program should also produce three figures. 1) A pie chart for letter grade distribution, 2) a histogram of letter grades, 3) An x-y plot which shows the total grades students with a square symbol along with a horizontal solid line showing the mean of the class calculated in step 5 above. The name of the text file should be class_info with the extension of txt or dat. If the user selects to see grade info for an individual, your program should ask for the ID number of the person. If the user enters an ID number which is not in the list, then the program should warn the user and ask to enter the ID number again. The program should continue to warn the user until the user enters correct ID number. When the user enters a valid ID number the program should give the grade information. For grade information your program should write the homework grades (homework 1, homework 2, lab, last homework, last grade, letter grade) and attendance information of the student in a text file as a table. If the students attendance is less than 70%, then there should be a note at the end telling that the student failed due to insufficient attendance. You should design the format of the output such that it should be neatly written and explanatory. The name of the text file should be the ID number of the student with the extension of txt or dat.Note that if a students attendance is less than 70% then that persons lasthomework grade should be zero.

I need to write this program in matlab

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

Database And Expert Systems Applications 24th International Conference Dexa 2013 Prague Czech Republic August 2013 Proceedings Part 2 Lncs 8056

Authors: Hendrik Decker ,Lenka Lhotska ,Sebastian Link ,Josef Basl ,A Min Tjoa

2013th Edition

3642401724, 978-3642401725

More Books

Students also viewed these Databases questions

Question

3. What should a contract of employment contain?

Answered: 1 week ago

Question

1. What does the term employment relationship mean?

Answered: 1 week ago