Data Modeling and Database Design Quiz
Test your knowledge of data modeling concepts, entity-relationship diagrams, database normalization, and database design principles including keys, relationships, and schemas.
Questions
Students -------------< Cars, This graphic indicates
- that a student can own 0, 1 or many cars
- a car can be owned by many students
- a student cannot own a car
- a stundent can own many cars and a car can be owned by many students
What is a 'tuple' ?
- another name for the key linking different tables in a database
- another name for a table in an RDBMS
- an attribute attached to a record
- a row or record in a database table
A detailed, logical, and graphical representation of the entities, associations, and data elements for an organization or business area best describes:
- logical model
- data flow diagram
- entity-relationship diagram
- data tree
A company has a model consisting of eight entities. The parent entity, "Company," has three child entities: "Employee," "Product," and "Order." The Product entity has a categorization of four entities: "Computer," "Software," "Accessory," and "Clearance." Each entity has only one attribute making up the key attribute. Based on the scenario above, what foreign key appears in the model exactly three times ?
- computer_id
- product_id
- company_id
- employee_id
- order_id
What is a schema ?
- A diagram showing the domains of all attributes in the data model
- A schedule of data modeling steps
- A plan of action for database design
- A diagram showing the flow of data in an application
- A graphical or language representation of a data model or database
Several pieces of information are captured about a book. This information includes: Title, Author First Name, Author Last Name, Book Genre, and Date Published. Based on the scenario above, what part of the entity relationship is the Title?
- Entity
- Category
- Hierarchy
- Relationship
- Atttibute
Which one of the following is NOT a characteristic of metadata?
- Data about data
- Describe a data dictionary
- Self-describing
- Includes user data
- Supports its own structure
Which data model represents how the business world sees the information?
- Logical Data Model
- Physical Data Model
- Network Data Model
- Conceptual Data Model
Most RDB designers will accept that in order to deal with the complexities of "real life" transactions, a design needs to reach
- third normal form
- the standard of a flat file
- second normal form
- first normal form
An atomic field is
- a key that contains only a single field
- a key field
- a numerical field
- a single valued field
The ER Model is meant to
- replace relational design
- be close to a users perception of the data
- enable detailed descriptions of data query processing
- enable low level descriptions of data
Conceptual data modeling is typically done in parallel with other requirements analysis and structuring steps during:
- system planning and selection
- systems design
- systems analysis
- systems implementation and operation
- systems evaluation
The data modeling perspective that derives the business rules for a data model from an intimate understanding of the nature of the business, rather than from any specific information requirements in screens, reports, or business forms, is referred to as the:
- top-down approach
- bottom-up approach
- overview approach
- business approach
- conceptual approach
Data Modeling:
- is achieved using an information flow digram
- uses a dataflow diagram
- is necessary to remove database anomalies through normalization
- is the same as process modelling
- is all of the above
create table Purchaser{ name string, credit_card integer (primary key), address string } create table Product{ product_id integer (primary key), product_name string } create table Purchaser_Product{ credit_card integer, product_id integer, purchase_date date } Based on the sample code above, what is the primary key in the Purchaser_Product table?
- purchase_date
- credit_card
- null
- credit_card & product_id
- product_id
What is an alternate key?
- The relationship between more than one entity which has more than one attribute
- An attribute that cannot easily identify a record, but can easily viewed as a field
- An attribute, other than primary key, that can be used to identify an instance of an entity
- A non-distinguishable primary key which is not used to identify fields or records
- A primary key with two or more columns on a non-clustered index
A Banking and Financial Customer is interested to have an overview of a transactional data of their systems. Which of the following data model is suitable to fulfill the customer requirements?
- Business Data Model
- Transactional Data Model
- Logical Data Model
- Conceptual Data Model
- Physical Data Model
Which of the following statements best describe the function of an entity relational model?
- An ER model is concerned primarily with a physical implementation of the data and secondly with a logical view
- An ER model provides a view of the logic of the data and not the physical implementation
- An ER model is concerned primarily with a logical view of the data and secondly with the physical implementation
- An ER model is entirely concerned with modelling the physical implementation
If a key from a parent entity migrates into the primary key of the child entity, what type of relationship is formed?
- Non-identifying
- Normalizing
- Categorizing
- Identifying
- Emphasizing
What can a mandatory one to one relationship indicate?
- More entities are needed
- The model should be denormolized
- The tables are not properly indexed
- The model cannot be implemented physically
- More attributes are needed