Year 6TechnologiesSupport
Score___ / 6
Name Date
Use only fictional users and images. Model algorithm: IF user is teacher, allow edit; ELSE IF user is a class member, allow view; ELSE deny access. The algorithm checks the first true condition and then stops. No real student names or photos are used. For a list of requests, repeat the rule once for each request in order.
ATrace the branches
Use the model rule.
- 1.
Teacher requests edit. Result?
1 mark - 2.
Class member requests view. Result?
1 mark - 3.
Visitor requests view. Result?
1 mark - 4.
Visitor requests edit. Result?
1 mark - 5.
Teacher requests view. Which first branch matches?
1 mark - 6.
Why does a visitor reach the final branch?
1 mark