Return a result with IF
A student scores seventy and the pass mark is seventy; what does IF return?
- TQ2-C04-L12
- About 2 min
- Khmer voice · English terms
- Textbook pp 116–117, 127–128
Lesson 12 · 12 of 35 in TQ2 Chapter 4
Practice card
Your turn
Scores are 68, 74 and 70. With an inclusive pass threshold of 75, how many students pass?
Decide your answer first, then check it.
Check yourself
3 exam-style questions
2 questions on this lesson and 1 review question from Lesson 10. Choose an answer, then check it to see why it is right or wrong.
- Question 1 of 3This lessonTextbook pp 116–117, 127–128
- Question 2 of 3This lessonTextbook pp 116–117, 127–128
- Question 3 of 3Review · Lesson 10Textbook p 124
Your answers stay on this device. A question you miss goes on your review list and comes back in a later quiz.
Notes
Read first: TQ2 study text, printed pages 116–117, 127–128.
Book §§1.4 and 2.5, pp 116–117 and 127–128. The pass mark of 70 and the scores 68, 74 and 70 are the book's (p 117); the pass mark of 75 is ours.
How this lesson uses the textbook: TQ2 Chapter 4 · English printed pp 116–117, 127–128
Source: New term — IF. Source §§1.4 and 2.5, pp 116–117, 127–128.
These lessons add to your formal studies; they don't replace them. Keep going to class, reading your textbook, doing the practice exercises and taking notes.
Read the English transcript
A student scores seventy and the pass mark is seventy; what does IF return?
It returns Pass because the score meets the inclusive threshold.
A review rule needs an exact comparison. Greater than or equal to includes the threshold itself. Greater than leaves it out. Put text results inside quotation marks, and choose wording that accurately describes both outcomes. A valid formula can still express the wrong rule.
The book's pass mark is seventy. In its example, scores of sixty-eight, seventy-four and seventy give Fail, Pass and Pass. Enter the score in B two and use IF in C two to compare it with seventy, returning Pass when true and Fail when false. Copy the formula down and check the boundary score of seventy.
Watch out for testing only a score well above the threshold. The score exactly at the threshold tells you whether the operator is right.
Your turn. Keep the same three scores and change only the pass threshold from seventy to seventy-five. How many students pass?
Remember to check the condition and both possible outcomes.
The video already has Khmer subtitles. The Khmer transcript follows after our Khmer review.