Chapter 2 Flashcards

1
Q

What is Data modeling?

A

Data modeling is the first step in the database journey.

Works as a bridge between real-world objects and the computer database.

Data modeling refers to the process of creating a specific data model for a determined problem domain.

A data model is relatively simple representation, usually graphical, of more complex real-world structures.

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

What are the importances of data models?

A

communication tool

overall view of the database

organize data for various users

abstraction for the creation of good database

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

What is an Entity?

A

Unique and distinct object used to collect and store data

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

What is an Attribute?

A

Characteristic of an entity

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

What are the sources of Business rules?

A

Company managers

Policy makers

Department managers

Written documentation

Direct interviews with end users

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

What are the Reasons for Identifying and Documenting Business Rules?

A

Help standardize company’s view of data

Communications tool between users and designers

Allow designers to:
o Understand the nature, role, scope of data, and business processes.
o 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
7
Q

How do Nouns translate into data models components?

A

Into entities

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

How do Verbs translate into data models components?

A

Into relationships among entities

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

What is hierarchal models mainly used for?

A

Developed to manage large amounts of data for complex manufacturing projects

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

What are the characteristics of a hierarchal model?

A

Represented by an upside-down tree which contains segments (equivalent of a file system’s record type)

Depicts a set of one-to-many (1:M) relationships

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

What are the Network Model created for?

A

Created to represent complex data relationships effectively

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

What are the characteristics of a network model?

A

Improved database performance and imposed a database standard

Allows a record to have more than one parent

Depicts both one-to-many (1:M) and many-to-many (M:N) relationships

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

What is a schema?

A

Conceptual organization of the entire database as viewed by the database administrator. Schema is the design/model we create.

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

What is a Subschema?

A

Portion of the database seen by the application programs that produce the desired information from the data within the database. The model without details. If we have to submit the work to the manager, sometimes they do not care about the records. They will only test it for a smaller part.

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

What is the relational model?

A

represents the database as a collection of relations. A relation is nothing but a table of values.

Based on a relation: Relation or table.

Tuple: Rows. Attribute: Columns

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

What is a non-SQL?

A

Not based on the relational model. NoSQL is something that adds features, for example Google and YouTube. If you change something in the Google-account it will change in the YouTube account due to primary key.

17
Q

What are the characteristics of non-SQL?

A

Support distributed database architectures.

Provide high scalability, high availability, and fault tolerance.

Support large amounts of sparse data.

Geared toward performance rather than transaction consistency.

Store data in key-value stores.

18
Q

What is (data) Abstraction?

A

Abstract: trying to represent the database as simple as possible. Making something simpler, make sure to have a high degree of abstraction in the beginning.

19
Q

What are the degrees of data abstraction?

A
  • External
  • Conceptual
  • Internal
  • Physical
20
Q

What is the external model abstraction?

A

End users’ view of the data environment. External has the highest degree of abstraction.

Independent of Hardware and Software.

21
Q

What is the Conceptual model abstraction?

A

Represents a global view of the entire database by the entire organization.

Independent of Hardware and Software.

22
Q

What is the Internal model abstraction?

A

specific database model
Independent of Hardware

23
Q
A