Questions and Answers
Which of the following are true about the purpose of structure models? (Select all that apply)
A model of logical database structures must be able to describe all of the following except?
The specification for UML (Unified Modeling Language) is maintained by the Object Management Guild.
False
Class diagrams are one type of UML diagram.
Signup and view all the answers
A __________ is an object which is implemented as a table in a relational database.
Signup and view all the answers
Structure models describe the __________ and __________ structure of a business process or processes.
Signup and view all the answers
A separately identifiable collection of things about which the organization wants to collect and store information is a _____.
Signup and view all the answers
Structure models should be able to describe all except:
Signup and view all the answers
Classes in UML are implemented as tables in a relational database and individual instances of the class are implemented as __________ in the table.
Signup and view all the answers
The Object Management Group is a consortium of __________ industry members.
Signup and view all the answers
Class diagrams are similar to _____.
Signup and view all the answers
Which of the following things can be represented by classes on a UML class diagram?
Signup and view all the answers
Match the symbol with the thing that the symbol represents in UML.
Signup and view all the answers
A class is any separately identifiable collection of objects about which the organization wants to collect and _____________ information.
Signup and view all the answers
A depiction of the relationship between two classes is a(n) _____.
Signup and view all the answers
Individual instances of objects are represented as _____ in a table.
Signup and view all the answers
Which of the following are examples of associations between classes in UML?
Signup and view all the answers
Multiplicities describe the __________ and __________ number of times that instances of one class can be associated with instances of another class.
Signup and view all the answers
The symbol used to represent a class is the _____.
Signup and view all the answers
Valid multiplicity options are shown in which of the following?
Signup and view all the answers
An __________ depicts the relationship between two classes in UML.
Signup and view all the answers
Attributes are data elements that describe instances in a __________.
Signup and view all the answers
The relationship between two classes is depicted by a(n):
Signup and view all the answers
A list of tables associated with a UML class diagram would include attributes, primary keys, and any foreign keys for each table.
Signup and view all the answers
In this diagram, which of the following statements are likely true regarding the associations?
Signup and view all the answers
Which of the following is true about primary keys?
Signup and view all the answers
Criteria for selection of primary keys include which of the following?
Signup and view all the answers
Match the described situation with the correct multiplicity.
Signup and view all the answers
Study Notes
Structure Models Purpose
- Serve as tools for planning, documenting, and implementing databases.
Logical Database Structures
- Must describe keys, but not all logical models do.
UML (Unified Modeling Language)
- Specification is maintained by the Object Management Group, not guild.
- Class diagrams represent one type of UML diagram.
Object-Relational Mapping
- A class corresponds to an object represented as a table in a relational database.
- Rows in the table represent individual instances of the class.
Structure Model Functions
- Describe data and information structures pertinent to business processes.
- Should not describe the sequence of activities in processes.
UML Class Diagrams
- Classes depicted as rectangles, associations represented by lines.
- Can represent assets and people, similar to entity relationship diagrams.
Associations in UML
- Highlight the relationship between two classes, depicted as associations.
- Examples include: Customers "participate" in sales, Instructors "teach" classes, Employees "work for" supervisors.
Multiplicities in UML
- Define minimum and maximum associations between class instances (e.g., 0..1, 0..*).
- "0..1" means participation is optional, while "1..*" indicates mandatory participation.
Class Attributes
- Attributes are data elements that describe class instances.
- Primary keys uniquely identify class instances and cannot be null.
Primary Key Selection Criteria
- Must be stable over time, cannot be blank, and using sequential values is preferable.
Table Information
- A UML class diagram includes a list of tables with attributes, primary keys, and foreign keys for each table.
Additional Facts
- Autos can be serviced by multiple dealers, and a person can own many autos, while an auto is licensed in one state.
- Valid multiplicity options must reflect the nature of class associations.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Description
Test your knowledge with these flashcards from AIS Chapter 3. Covering the concepts of structural models and their applications in databases, this quiz will enhance your understanding of logical database structures and UML specifications. Perfect for students looking to reinforce their learning.