Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Pro Database Migration To Azure Data Modernization For The Enterprise

Authors: Kevin Kline, Denis McDowell, Dustin Dorsey, Matt Gordon

1st Edition

1484282299, 978-1484282298

More Books

Students also viewed these Databases questions