Answered step by step
Verified Expert Solution
Link Copied!

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(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 re 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 and :
D is 70 and 60
F is 60
Assessment: 1 of 6 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 D's or F's the first student received correct?
Is the calculation for how many Ds on assignments the entire class received correct?
Variable Answer2 must be of size [111]. It is currently of size [1115]. 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 Answer3 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 Answer4.
( 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?
The submission must contain a variable named Answer5.
image text in transcribed

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

Data Mining Concepts And Techniques

Authors: Jiawei Han, Micheline Kamber, Jian Pei

3rd Edition

0123814790, 9780123814791

More Books

Students also viewed these Databases questions