Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Logical Indexing Grades My Solutions One of the things that instructors pay a lot of attention to , is something called the DFW rate. This
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 rand ;
How many Ds or Fs on assignments did the first student receive? Save this to Answernote use logical indexing for this, a comparator on an array
How many Ds on assignments did the entire class receive? Save this to Answer
How many students received a D or F in their class final grade? Save this to Answernote use the mean function to find the average grade for all students, assuming all assignments re equally weighted
How many Ds or FS did the students, on average, receive as a final grade? Save this to Answernote 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 students? That would be in Was it Something else?
If the average proportion of final grade Ds or Fs exceeds then assign Answer to and otherwise set Answer to
Assume the following grade cutoffs:
A is
is and
is and :
is and
is
Assessment: of Tests Passed
Did you use an if and else? Did you also use a sum and mean to solve this problem?
The submission must contain the following functions or keywords: if else
Is the calculation for how many Ds or Fs the first student received correct?
Is the calculation for how many Ds on assignments the entire class received correct?
Variable Answer must be of size It is currently of size Check where the variable is assigned a value.
Is the calculation for how many students received a D or F in their class final grade correct?
Variable Answer has an incorrect value.
Is the calculation of how many Ds or Fs did the students, on average, receive as a final grade correct?
The submission must contain a variable named Answer
If the average number of final grade Ds or Fs exceeds was Answer set correctly? If this number does NOT exceed was Answer set correctly then?
The submission must contain a variable named Answer
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