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.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Students -------------< Cars, This graphic indicates

  1. that a student can own 0, 1 or many cars
  2. a car can be owned by many students
  3. a student cannot own a car
  4. a stundent can own many cars and a car can be owned by many students
Question 2 Multiple Choice (Single Answer)

What is a 'tuple' ?

  1. another name for the key linking different tables in a database
  2. another name for a table in an RDBMS
  3. an attribute attached to a record
  4. a row or record in a database table
Question 3 Multiple Choice (Single Answer)

A detailed, logical, and graphical representation of the entities, associations, and data elements for an organization or business area best describes:

  1. logical model
  2. data flow diagram
  3. entity-relationship diagram
  4. data tree
Question 4 Multiple Choice (Single Answer)

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 ?

  1. computer_id
  2. product_id
  3. company_id
  4. employee_id
  5. order_id
Question 5 Multiple Choice (Single Answer)

What is a schema ?

  1. A diagram showing the domains of all attributes in the data model
  2. A schedule of data modeling steps
  3. A plan of action for database design
  4. A diagram showing the flow of data in an application
  5. A graphical or language representation of a data model or database
Question 6 Multiple Choice (Single Answer)

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?

  1. Entity
  2. Category
  3. Hierarchy
  4. Relationship
  5. Atttibute
Question 7 Multiple Choice (Single Answer)

Which one of the following is NOT a characteristic of metadata?

  1. Data about data
  2. Describe a data dictionary
  3. Self-describing
  4. Includes user data
  5. Supports its own structure
Question 8 Multiple Choice (Single Answer)

Which data model represents how the business world sees the information?

  1. Logical Data Model
  2. Physical Data Model
  3. Network Data Model
  4. Conceptual Data Model
Question 9 Multiple Choice (Single Answer)

Most RDB designers will accept that in order to deal with the complexities of "real life" transactions, a design needs to reach

  1. third normal form
  2. the standard of a flat file
  3. second normal form
  4. first normal form
Question 10 Multiple Choice (Single Answer)

An atomic field is

  1. a key that contains only a single field
  2. a key field
  3. a numerical field
  4. a single valued field
Question 11 Multiple Choice (Single Answer)

The ER Model is meant to

  1. replace relational design
  2. be close to a users perception of the data
  3. enable detailed descriptions of data query processing
  4. enable low level descriptions of data
Question 12 Multiple Choice (Single Answer)

Conceptual data modeling is typically done in parallel with other requirements analysis and structuring steps during:

  1. system planning and selection
  2. systems design
  3. systems analysis
  4. systems implementation and operation
  5. systems evaluation
Question 13 Multiple Choice (Single Answer)

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:

  1. top-down approach
  2. bottom-up approach
  3. overview approach
  4. business approach
  5. conceptual approach
Question 14 Multiple Choice (Single Answer)

Data Modeling:

  1. is achieved using an information flow digram
  2. uses a dataflow diagram
  3. is necessary to remove database anomalies through normalization
  4. is the same as process modelling
  5. is all of the above
Question 15 Multiple Choice (Single Answer)

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?

  1. purchase_date
  2. credit_card
  3. null
  4. credit_card & product_id
  5. product_id
Question 16 Multiple Choice (Single Answer)

What is an alternate key?

  1. The relationship between more than one entity which has more than one attribute
  2. An attribute that cannot easily identify a record, but can easily viewed as a field
  3. An attribute, other than primary key, that can be used to identify an instance of an entity
  4. A non-distinguishable primary key which is not used to identify fields or records
  5. A primary key with two or more columns on a non-clustered index
Question 17 Multiple Choice (Single Answer)

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?

  1. Business Data Model
  2. Transactional Data Model
  3. Logical Data Model
  4. Conceptual Data Model
  5. Physical Data Model
Question 18 Multiple Choice (Single Answer)

Which of the following statements best describe the function of an entity relational model?

  1. An ER model is concerned primarily with a physical implementation of the data and secondly with a logical view
  2. An ER model provides a view of the logic of the data and not the physical implementation
  3. An ER model is concerned primarily with a logical view of the data and secondly with the physical implementation
  4. An ER model is entirely concerned with modelling the physical implementation
Question 19 Multiple Choice (Single Answer)

If a key from a parent entity migrates into the primary key of the child entity, what type of relationship is formed?

  1. Non-identifying
  2. Normalizing
  3. Categorizing
  4. Identifying
  5. Emphasizing
Question 20 Multiple Choice (Single Answer)

What can a mandatory one to one relationship indicate?

  1. More entities are needed
  2. The model should be denormolized
  3. The tables are not properly indexed
  4. The model cannot be implemented physically
  5. More attributes are needed