Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1=IF(AND(B2>50,C2="Yes"),"Pass","Fail") | A=IF(B2>=80,"High",IF(B2>=50,"Medium","Low")) | |
| 2=IF(OR(B2>=90,C2>=90),"Top","Other") | BAND is written like plain English inside the test. In a spreadsheet, AND is a function and must be written as AND(B2>50,C2="Yes"). | |
| 3Nested IF sorts a mark into three categories: High for 80 or more, Medium for 50 to 79, Low for under 50 | CGives Pass only if B2 is over 50 AND C2 is Yes. If either test fails, it gives Fail. | |
| 4Both conditions must be true: the mark is at least 50 and the attendance is at least 80 | DGives Top if B2 or C2 is 90 or more (or both). Gives Other only if both are under 90. | |
| 5=IF(AND(B2>50,C2="Yes"),"Pass","Fail" | EThe closing bracket for the IF is missing. Every opening bracket needs a matching closing one, so the formula should end with two brackets after "Fail" is not needed, just one ) to close the IF. | |
| 6=IF(B2>50 AND C2="Yes","Pass","Fail") | F=IF(AND(B2>=50,C2>=80),"Pass","Fail") |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
=IF(AND(B2>50,C2="Yes"),"Pass","Fail") — AND or OR inside IF joins several tests into one TRUE/FALSE. AND needs every test true. OR needs only one true. The IF then gives its first result if TRUE, otherwise its second.=IF(AND(B2>50,C2="Yes"),"Pass","Fail")=IF(OR(B2>90,C2>90),"Top","Other")=IF(AND(B2>50,C2="Yes"),"Pass","Fail")=IF(B2>=80,"High",IF(B2>=50,"Medium","Low"))=IF(OR(B2="Yes",C2="Yes"),"Go","Stop")