Small Group Tutorials

Here to help students catch up, keep up, and move ahead. Book a consultation here.

What Is the SEAB MOE G2 Computing Syllabus? | My Child Uses OR Instead of AND. Why Does the Spreadsheet Accept the Wrong Record?

G2 Computing (K237) for the 2027 SEC includes spreadsheet logical functions and comparisons. If a fictional stock record should be marked Ready only when both its quantity is at least 10 and its inspection status is Pass, using OR instead of AND can return Ready when only one requirement is met. The formula may run perfectly while implementing the wrong rule.

For Punggol parents, ask your child to write the rule in ordinary words before typing a formula. Then test a record meeting both conditions, neither condition and each condition alone. This guide uses invented stock data to explain the logic, identify exact boundary errors and develop independent testing.

  • AND is true only when every supplied condition is true.
  • OR is inclusive: it is true when at least one condition is true, including when both are true.
  • IF chooses the output corresponding to the logical test.
  • ‘At least 10’ means 10 is included: use >=10.
  • Testing only the cases where both conditions match cannot distinguish AND from OR.
  • Choose test rows that isolate one condition and the exact boundary.
  • A syntactically valid formula can still implement the wrong requirement.

Find your next learning step

1. Where does this skill fit in K237?

The 2027 syllabus includes comparisons in spreadsheet formulas and logical functions that combine conditions or choose between values. These are tools for translating requirements into precise instructions. This example focuses on AND, OR and IF, rather than attempting to cover every spreadsheet function.

The sample data below is invented, and the examples are not official examination questions. Spreadsheet software may use different argument separators depending on locale. Use the syntax required by the software and school.

Contents · Next: section 2

2. Start by translating the requirement

An imaginary stationery store marks a stock item Ready when at least ten units are available and the quality check is Pass. Column A contains an item ID, column B contains quantity as a number and column C contains the text Pass or Fail. Column D contains the calculated status.

There are two separate tests: B2>=10 and C2=”Pass”. Both must be true. Before writing the formula, ask the learner to predict the result for an item with 12 units and a failed check. It must be Hold, because quantity alone does not satisfy the stated rule.

Contents · Previous: section 1 · Next: section 3

3. Build the formula in two steps

First test =AND(B2>=10,C2=”Pass”). It returns TRUE or FALSE. Then use IF to translate that result into the requested text: =IF(AND(B2>=10,C2=”Pass”),”Ready”,”Hold”). The first output is chosen for TRUE and the second for FALSE.

The comparison for text uses quotation marks around Pass, Ready and Hold. Cell references and numeric constants are not quoted. Test the logical expression separately if the final result is unexpected. This helps isolate whether the error is in the conditions or in the output labels.

Contents · Previous: section 2 · Next: section 4

4. Why do AND and OR behave differently?

The table lists the four possible combinations of the two conditions. AND returns TRUE only for the combination in which both are true. OR returns TRUE in three combinations. It is not an exclusive either-or unless the question explicitly describes a different rule and the learner implements it.

A formula using OR could accept a stock item with 20 units even when the inspection failed, or an item with only 3 units even when its check passed. Both are contrary to the original requirement. The wrong formula is not necessarily broken syntax; it is the wrong logical model.

Quantity >=10Inspection PassANDOR
TrueTrueTrueTrue
TrueFalseFalseTrue
FalseTrueFalseTrue
FalseFalseFalseFalse
Original truth table: the mixed cases distinguish AND from OR.

Contents · Previous: section 3 · Next: section 5

5. What happens at the exact boundary?

The words ‘at least ten’ include the value 10. The comparison >=10 is correct; >10 would exclude a valid quantity of exactly 10. Consider a Pass item with quantities 9, 10 and 11. Its expected results are Hold, Ready and Ready respectively.

If the learner tests only 9 and 11, the wrong operator > may go unnoticed because both versions agree on those values. Include the boundary itself. For a requirement that says ‘more than ten’, the boundary is different and >10 is correct.

Contents · Previous: section 4 · Next: section 6

6. Why testing only obvious examples is inadequate

A row with quantity 20 and Pass produces Ready under both AND and OR. A row with 4 and Fail produces Hold under both. Those two cases do not establish whether the correct logical operator was selected.

Add a row where the quantity condition is true and the inspection condition false, and another where quantity is insufficient but inspection passes. The proposed AND rule rejects both. This small deliberate test set is more informative than filling a sheet with many similar rows.

Contents · Previous: section 5 · Next: section 7

7. When would OR be correct?

Imagine a separate rule for a fictional catalogue: show Review when the description is Missing or the price is zero. Either condition is sufficient. If description status is in B2 and price in C2, a formula for this rule is =IF(OR(B2=”Missing”,C2=0),”Review”,”OK”).

When both conditions are true, OR is still true and Review is displayed. A child should not carry the AND rule into every new task. The English requirement determines the logical function, not the last formula used.

Contents · Previous: section 6 · Next: section 8

8. How does NOT help?

Suppose the requirement is to label a record Check if its status is not Complete. For a text status in B2, =IF(NOT(B2=”Complete”),”Check”,”OK”) implements that simple rule. An equivalent comparison can also express inequality: =IF(B2<>”Complete”,”Check”,”OK”).

These examples assume the relevant cells contain valid, supplied values. Unexpected blanks or misspelt statuses may need a separate data-validation or error-handling decision. Do not silently replace missing information with a valid status.

Contents · Previous: section 7 · Next: section 9

9. What if the formula is copied down?

In the stock example, the references B2 and C2 are relative. Copying from row 2 into row 3 should refer to B3 and C3. The constant threshold 10 does not change. Check the copied formula against the actual target row.

If the threshold is stored in a separate cell, a fixed reference may be appropriate. But do not change reference styles without identifying which cells should stay fixed. The guide on absolute and relative references linked below develops this related skill.

Contents · Previous: section 8 · Next: section 10

10. Three fresh independent exercises

A: A box is labelled Send when its mass is at most 5 and its seal status is OK. Mass is in B2, seal status in C2. Write the formula with Hold as the alternative. B: For the same rule, predict the output for mass 5 and OK, and mass 4 and Fail. C: A report should be flagged if either its title is missing or its page count is zero. Which logical function is needed?

Answers: A: =IF(AND(B2<=5,C2=”OK”),”Send”,”Hold”). B: Send for 5 and OK; Hold for 4 and Fail. C: OR, since either condition is sufficient. Ask the student to make another test where both conditions are true, and explain the expected result before executing the formula.

Contents · Previous: section 9 · Next: section 11

11. Find the first unstable decision

If the child chooses the wrong operator, return to the ordinary-language rule and compare the four combinations. If the operator is right but the exact boundary is wrong, use three values around the threshold. If the output words are reversed, inspect the two IF result arguments.

If the formula is correct but copied results are wrong, inspect the references. Save a small original practice file and a tested version, using fictional data. This gives the teacher concrete evidence of where the learner needs support.

Contents · Previous: section 10 · Next: section 12

12. A manageable route to independent work

The eduKate Fencing Method secures the centre before expanding the task: one comparison, then two conditions, then IF output, then boundary and mixed cases, followed by a delayed independent task. Change one feature at a time rather than giving a large unfamiliar spreadsheet immediately.

Ask the learner to explain why each test was selected and what wrong formula it could detect. A well-tested small worksheet is valuable evidence of the targeted reasoning skill. This is one part of G2 Computing; do not use it to predict overall examination results or assume progression to another subject level.

Contents · Previous: section 11

Official syllabus and supporting sources

Official 2027 SEAB K237 Computing syllabus — Printed page 7, outcomes 4.3.2 and 4.4.1.

Microsoft Support: IF, AND, OR and NOT functions in Excel — Logical tests and output selection.

2027 SEAB G2 school-candidate syllabus directory

Use the official syllabus for the student’s examination year and the school’s current instructions. All worked questions here are original teaching examples, not SEAB questions or marking schemes.

Further reading

Continue with another G2 learning guide

Continue from here: Start Here · Tuition · Education · Pathways · Parenting 101 · All Site Routes

eduKate Punggol

Contact

83 Punggol Central, Singapore 828761

edu|Kate Bukit Timah

8 Fourth Avenue, Singapore 268674

By Appointment +65 8823 1234
admin@edukatesg.com

Email Us

When a child finally understands, school becomes less frightening and the future opens wider. Email us for the latest schedules and fees.

← 返回

感谢您的回复。 ✨