Question: Is the calculation for how many D ' s or F ' s the first student received correct? File: solution.m Line: 7 Column: 2 7

Is the calculation for how many D's or F's the first student received correct?
File: solution.m Line: 7 Column: 27
Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.
ox Is the calculation for how many Ds on assignments the entire class received correct?
File: solution.m Line: 7 Column: 27
Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.
& Is the calculation for how many students received a D or F in their class final grade correct?
File: solution.m Line: 7 Column: 27
Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.
& Is the calculation of how many Ds or Fs did the students, on average, receive as a final grade correct?
File: solution.m Line: 7 Column: 27
Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.
& 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?
File: solution.m Line: 7 Column: 27
Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.
In Unit 3 and 4, we talked a bit more about matrices, and introduced comparators with if-statements.
Logical Indexing Grades
My Solutions >
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(60** rand (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 70 and 60
F is 60
 Is the calculation for how many D's or F's the first

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!