Question: Note: Please write scripts for the followings. Suppose that we have a gradebook that includes five students and thier scores on ten assignments. These students

 Note: Please write scripts for the followings. Suppose that we have

Note: Please write scripts for the followings.

Suppose that we have a gradebook that includes five students and thier scores on ten assignments. These students are Alex, Brittany, Cora, Dasan, Elijah, and are ordered such that each row reflects one of the students, respecively (and alphabetically). Write the code, using else statements, to answer the following questions. Cora: Cora is a first year student, and her instructional team wants to know if they need to reach out and ask her how she is doing. If Cora has recieved scores below 75 on more than three of her assignments, then we need to set email_cora to 1. Else, set email_cora to 0. Dasan: Dasan comes to office hours and asks great questions. It seems like Dasan has the right personality to be a TA next year. As a first check, it would be helpful to know if he has received at least an 80 on at least 6 of the 10 assignments. If so, then set maybe_ta_dasan to 1, and if not, then set maybe_ta_dasan to 0. Elijah: Elijah is retaking this class. He's doing pretty well this year, but since he's taking this class again, we really need to keep an eye out for if Elijah needs some encouragement to come to more office hours. If Elijah has recevied below a 70 on any of his assignments, let's reach out. In this case, set email_elijah to 1, and if not, set email_elijah to 0 Tough Quiz: It seems as if some of the quizzes were tougher than intended. The instructor is thinking about curving some of these quizzes. One of these was assignment 4. If the average score of this quiz (across the five students) was not less than 75, then set keep_quiz to 1, and otherwise set keep quiz to 0. Be sure to use a - this time! All of these: For each of these 4 tests, add the code to make use of disp() and display a message that makes sense for each case

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!