Year 4TechnologiesSupport
Score___ / 6
Name Date
Use exact whole-word matching. Rule: If the request contains the whole word “water”, send it to the watering team. Otherwise, if it contains the whole word “mulch”, send it to the mulching team. Otherwise, send it to the general team.
AGet started
Follow the rule.
- 1.
Request “water”: which team?
1 mark - 2.
Request “mulch”: which team?
1 mark - 3.
Request “prune”: which team?
1 mark - 4.
What decision is checked first?
1 mark - 5.
Does the algorithm use a branch?
1 mark - 6.
What happens when neither word appears?
1 mark