Week 2 Flashcards

1
Q

Why is data modelling important?

A

Data modelling is important because it provides:

  • Simple representation of complex data
    structure and an overall view of the
    database
  • Facilitates communication among database
    designer, application programmer and the
    end users.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
1
Q

What is a Data Model?

A

A data model is the blueprint of the database. It is basically the graphical representation of a complex data structure. Is known as an entity relationship diagram (ERD)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the basic building blocks of a database model?

A
  • Entity: anything for which we intend to collect data
  • Attribute: Characteristic of an entity
  • Relationship: describes an association among entities
  • Constraint: A restriction placed on the data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the different types of relationships among entities?

A

The different types of relationships are:

  • One-to-many (1:M) relationship
  • Many-to-many (M:N or M:M) relationship
  • One-to-one (1:1) relationship
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are business rules?

A

Business rules are brief, precise, and unambiguous descriptions of policies, procedures, or principles within a specific organization

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the reasons for identifying and documenting business rules?

A

Reasons for identifying and documenting business rules are they:

  • Help standardize company’s view of data
  • Are a communications tool between users and designers
  • Allow designer to:
  • Understand the nature, role, scope of data, and business processes
  • Develop appropriate relationship participation rules and constraints
  • Create an accurate data model
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the general rules for translating business rules into database models?

A
  • Generally, nouns translate into entities
  • Generally, verbs translate into
    relationships among entities
  • Relationships are bi-directional
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the naming conventions used when creating an ERD?

A
  • Entity names are required to be descriptive of the objects in the business environment and use terminology that is familiar to the users.
  • Attribute names are required to be descriptive of the data represented by the attribute.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a Relational Database Model (RDB)?

A

An RDB is a collection of tables for data storage where tables are linked by sharing common entity characteristics (common column)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the advantages of the Relational Database model?

A

The advantages of the relational database model are:

  • Structural independence
  • Improved conceptual simplicity
  • Easier database design
  • Ad hoc query capability with SQL
  • Powerful database management system
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the disadvantages of a Relational Database Model?

A

The disadvantages of a relational database model are:

  • substantial hardware and system software overhead
  • Poor design and implementation is made easily
  • May promote islands of information problems
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a Super Key?

A

A super key is an attribute or combination of attributes that uniquely identifies any given row (not necessary to be minimal)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is a Candidate Key?

A

A candidate key is a possible primary key. Some tables may have multiple candidate keys. A candidate key is a minimal super key (eligible as a primary key)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly