Question
Inside a text file you are required to create a data set for 102 people, where The text file should contain five columns of data
Inside a text file you are required to create a data set for 102 people, where The text file should contain five columns of data for each person. The first column will contain student numbers. These numbers will have the form 20200001, 20200002, 20200003, for all the people in the list. The other four columns will contain examm 1, examm 2, lab and final examm grades for each person, respectively. These grades will be random numbers between 0 and 100. Note that, the grades should be integers.
Develop a computer program which would read these data and calculate the total grade for each student. The weight of the each item for final grade calculation is; examm 1 25 %, examm 2 20%, lab 15% and final examm 40%. The final 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:
1. Anybody whose final examm grade is less than 35 will automatically receive FF.
2. Anybody whose lab grade less than 10 will also automatically receive FF.
3. For the rest of the class excluding the people who failed at the first two steps, you would calculate the arithmetic average (mean) and standard deviation of the grades.
4. You will set CC grade to the mean grade you calculated in the previous step. Then you would add half the standard deviation to mean to set the starting point for the CB grade. Adding half the standard deviation once more would yield the starting point for the BB grade, etc Following this procedure you would also calculate the starting points for the BA and AA grades. 5. For the grades lower than CC (DC, DD, FD and FF) you would successively subtract half of the standard deviation from the mean grade.
need to create a matlab code for these instructions... thanks in advance
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started