Examlex
Draw an object-oriented class diagram, including traditional unary, binary and ternary relationships, as well as generalization and aggregation relationships as needed, to represent the following Central Zoo environment. Include all of the attributes and operations listed in the description.
Central Zoo has three kinds of enclosures: cages, fenced areas, and water tanks. Each enclosure, regardless of which kind it is, has a unique enclosure number and a location. In addition, each cage has an area (in square feet or square meters), a height, and a type, each fenced area has an area and a fence height, each water tank has a temperature. Each water tank is composed of two parts, a tank (the zoo keeps track of the volume of the tank) and a pump (the zoo keeps track of the number of amperes of the pump.)
Each animal that lives in a cage in the zoo has a unique animal number, a species, name, gender, and weight. Each cage can have several animals living in it or it can be empty. An animal can live in only one cage.
There is an operation that calculates the next cleaning date of each enclosure, but this calculation is different for cages, fenced areas, and water tanks.
Valence Shell
The outermost shell of an atom that contains the electrons most involved in chemical reactions.
Atom
The smallest unit of a chemical element, consisting of a nucleus of protons and neutrons, surrounded by electrons.
Negative Charge
A type of electrical charge characterized by the presence of more electrons than protons in an atom or molecule.
Electron
A subatomic particle with a negative charge, fundamental to electricity and chemical bonding.
Q3: The three types of disabilities do not
Q10: What approximate percentage of felony cases involves
Q12: The two-phase commit process can be used
Q18: The Unified Modeling Language (UML) is the
Q18: Which insanity standard has included an irresistible
Q19: Maintaining a reasonable amount of control over
Q31: Which of the following is not true
Q62: There are three basic ways of retrieving
Q67: All of the following are major DBMS
Q95: Consider the following relational database for