Question: MATLAB % let's set up a randomly scored gradebook. Leave this next line as is. grades = round(60*rand(50,15)) + 40; CHECK: -- Did you use

MATLAB MATLAB % let's set up a randomly scored gradebook. Leave this

% let's set up a randomly scored gradebook. Leave this next line as is.

grades = round(60*rand(50,15)) + 40;

CHECK:

--Did you use an if and else? Did you also use a sum and mean to solve this problem?

--Is the calculation for how many D's or F's the first student received correct?

--Is the calculation for how many Ds on assignments the entire class received correct?

--Is the calculation for how many students received a D or F in their class final grade correct?

--Is the calculation of how many Ds or Fs did the students, on average, receive as a final grade correct?

--If the average number of final grade Ds or Fs exceeds 0.15, was Answer5 set correctly? If this number does NOT exceed 0.15, was Answer5 set correctly then?

One of the things that instructors pay a lot of attention to, is something called the DFW rate. This includes the number of Ds, Fs, and Ws (withdrawals) in a class. We all want to see this number as low as possible. Using the gradebook generated with the following randomization code, and assuming that each row is a student while each column is an assignment, answer the following questions. grades=round(60rand(50,15))+40; How many Ds or Fs on assignments did the first student receive? Save this to Answer1. (note, use logical indexing for this, a comparator on an array) How many Ds on assignments did the entire class receive? Save this to Answer2. How many students received a D or F in their class final grade? Save this to Answer3. (note, use the mean() function to find the average grade for all students, assuming all assignments are equally weighted) How many Ds or Fs did the students, on average, receive as a final grade? Save this to Answer4. (note, you need to first figure out who received a D or F, and then find what the fraction of entire class that this represents. Was it 0.1 students? That would be 1 in 10 . Was it 0.2 ? Something else?) If the average proportion of final grade Ds or Fs exceeds 0.15, then assign Answer5 to 1 , and otherwise set Answer5 to 0 . Assume the following grade cutoffs: A is >=90 B is 90 and =80 C is 80 and >=70 D is =60 F is

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!