Following ownership through transfers and removals

A design studio analyses the business objects in its working catalogue. The following rules define their lifecycles:

  • Each drawing sheet belongs to exactly one draft project. A sheet can be transferred between projects without being copied.
  • Each sheet owns exactly two annotations. Transferring a sheet transfers its annotations without creating new ones.
  • Removing a project discards every sheet it currently owns. Discarding a sheet also discards its annotations.
  • Every sheet references one of six material definitions. Material definitions exist independently and remain in the catalogue even when no sheet references them.


Projects own drawing sheets, sheets own annotations, and sheets reference independent material definitions.


Initially, the catalogue contains the following projects and their sheets. All sheets are distinct.


Project

Initial sheets

Alder

5

Birch

4

Cedar

3

Dune

2


The studio then performs these actions in order:

  1. Transfer two sheets from Alder to Birch.
  2. Transfer one sheet from Dune to Cedar.
  3. Remove Birch.
  4. Remove Dune.

No other objects are created, transferred or removed. Find the final numbers of drawing sheets, annotations and material definitions in the catalogue. Enter each count as an integer, with zero decimal places.

Your answers

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 Domain Analysis Questions: