Validating probe memberships

A laboratory keeps three independently managed probe objects, P1, P2 and P3, in a registry. Each identifier names a different object. P1 and P2 are both model M4; P3 is model K8.


Monitoring groups R and S aggregate probes by storing references. Initially, R contains only P1 and S contains only P2. Within one group, an addition is rejected if that exact probe is already a member. Matching model names do not cause rejection, and a probe may belong to both groups. A rejected addition leaves memberships unchanged. No attempt creates or deletes a probe.


Two monitoring groups initially reference different probes held in an independent registry.


Process the attempts in the table from top to bottom. For each attempt, enter accepted or rejected and the number of probe references in each group immediately afterward. Enter counts as exact integers.

AttemptAccepted or rejectedR countS count
1: R adds P2
2: S adds P1
3: R adds P1
4: S adds P3

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Aggregation Questions: