DMS Flashcards

1
Q

Data Model

A

Data model is a simple representation of complex, real-world data structure

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

Why data modeling is important

A
  • Organises data for various users, such as the manager, system analyst, programmers
  • Provides an abstraction that can be used to create the database
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Constraints

A
  • Constraint is a restriction placed on data
  • It helps to ensure data integrity
  • Constraint can only be restricted, eg income must be more than 0
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Business Rules

A
  • Business rules can define relationships, eg EMPLOYEE can only have 1 role
  • Business rules can also define entities
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Required Attributes

A

A required attribute must always contain a value in the row and cannot be left empty

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

How would you express a required attribute in your entity relationship diagram?

A

Write the attribute name in boldface

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

Computed Attribute

A

A computed attribute is an attribute that is computed from another attribute

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

What are the advantages of storing computed attributes on your database?

A
  • Fast data access time
  • Data value is readily available
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Basic Building Blocks

A

Relationship, Attribute, Constraint, Entity (RACE)

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

4 Business Rules

A

Discovering, Reconciling, Documenting, Un-modellable

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

Associative (Composite) Entities

A

The associative entity bridges the two parent entities is composed of the primary key attributes of each parent entity

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

Primary Key (PK)

A

It serves as a unique identifier for each instance and ensures the integrity of an entity

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

Foreign Key

A

Foreign key works with the primary key to implement relationship in the relational model

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