Question: A professor wants to create two fields, Pass _ Fail and Outcome, based on a student's final course points earned ( Final _ Points )

A professor wants to create two fields, Pass_Fail and Outcome, based on a student's final course points earned (Final_Points). Which of the following statements does this correctly?
Question 2 options:
if Final_Points between 80 and 100 then
Pass_Fail = "Pass";
Outcome = "Excellent Work";
else if Final_Points between 60 and 79 then
Pass_Fail = "Pass";
Outcome = "Fair - All Concepts Not Mastered";
else;
Pass_Fail = "Fail";
Outcome = "Course Must Be Repeated";
end;
if Final_Points between 80 and 100 then
Pass_Fail = "Pass";
else if Final_Points between 80 and 100 then
Outcome = "Excellent Work";
else if Final_Points between 60 and 79 then
Pass_Fail = "Pass";
else if Final_Points between 60 and 79 then
Outcome = "Fair - All Concepts Not Mastered";
else if Final_Points <60 then
Pass_Fail = "Fail";
else Outcome = "Course Must Be Repeated";
end;
if Final_Points between 80 and 100 then do;
Pass_Fail = "Pass";
Outcome = "Excellent Work";
end;
else if Final_Points between 60 and 79 then do;
Pass_Fail = "Pass";
Outcome = "Fair - All Concepts Not Mastered";
end;
else do;
Pass_Fail = "Fail";
Outcome = "Course Must Be Repeated";
end;
if Final_Points between 80 and 100 then
Pass_Fail = "Pass" and
Outcome = "Excellent Work";
else if Final_Points between 60 and 79 then
Pass_Fail = "Pass" and
Outcome = "Fair - All Concepts Not Mastered";
else;
Pass_Fail = "Fail" and
Outcome = "Course Must Be Repeated";
end;

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!