Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

0 10 13 12 0 7 QUESTION 4 100. Which of the following IF statements would set th

ID: 3705593 • Letter: 0

Question

0 10 13 12 0 7 QUESTION 4 100. Which of the following IF statements would set the variable PASSED to 1 (true) when the variable SCORE is passing, and set the variable PASSED to 0 (false) when the SCORE is not passing? OIF SCORE 65 PASSED 1 ELSE PASSED =0 O IF SCORE 64 PASSED-1 ELSE PASSED = 0 ?IF SCORE-64 PASSED-o ELSE PASSED 1 @ IF SCORE-65 PASSED = 1 ELSE PASSED 0 QUESTION S For the spreadsheet shown, tThe top-to-bottom values in column C will be Click Save and Submit to save and submit. Click Save All Answers to save all answers, ere to sear

Explanation / Answer

The passing score is 65 or more.if the score is greater than 64 we should set the PASSED variable to 1,

if score is less than 65,we should set the PASSED variable to 1.Here the answer is option B.

because in option B,if score is greater than 64,PASSED=1,otherwise PASSED=0.so this is the correct answer.

In option A.if score is less than 65 then PASSED=1,it is wrong.

In option c,if score is greater than 64,PASSED=0,it is also wrong,it should be PASSED=1.

In option D,if score is greater than 65,PASSED=1,it is wrong because if score is 65 it determines as failure,but 65 marks are passing marks,so it is also wrong option.

so The final answer to the above question is option B.which is if score is greater than 64,PASSED=1.

else PASSED=0.