Data Models Flashcards

1
Q

What is data modeling?

A

The process of creating a specific data model for a determined problem domain.

Data modeling is the first step in designing a database.

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

What are the three phases of database design?

A
  1. Information Requirements Phase
  2. Logical Design Phase
  3. Physical Design Phase

Information Requirements Phase - identify information requirements
Logical Design Phase - build data model
Physical Design Phase - implement data model

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

Define ‘entity’ in data modeling.

A

Anything about which data are to be collected and stored.

Entities are “distinguishable” — that is, each entity occurrence is unique and distinct

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

What is an attribute?

A

A characteristic of an entity.

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

What does a relationship describe in data modeling?

A

An association among entities.

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

What type of relationship is represented by ‘PAINTER paints PAINTING’?

A

One-to-many (1:M) relationship.

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

What is a business rule?

A

A brief, precise, and unambiguous description of a policy, procedure, or principle within a specific organization.

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

How do nouns and verbs translate in data modeling?

A

Nouns translate into entities and verbs translate into relationships.

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

How is information represented in a hierarchical model?

A

An upside-down tree structure with parent/child relationships.

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

What is the significance of the network model?

A

It represents complex data relationships more effectively than the hierarchical model.

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

Who developed the relational model and when?

A

Edgar Frank Codd (IBM) developed it in 1970.

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

What is a tuple in the context of a relational database?

A

Each row in a relation.

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

What does an Entity Relationship Diagram (ERD) represent?

A

Graphical representation of entities and their relationships in a database structure.

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

Define ‘object’ in the Object-Oriented Model.

A

Data and relationships contained in a single structure.

An object
- contains operations
- self-contained: basic building-block for autonomous structures
- abstraction of real-world entity

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

What is inheritance in the context of Object-Oriented Database Model?

A

An object inherits methods and attributes of its parent class.

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

Multidimensional data model is designed to do what?

A

Designed to solve complex queries in real time

17
Q

What is NoSQL designed to address?

A

Large structured and unstructured data across various locations.

18
Q

What does the external model represent?

A

End users’ view of the data environment.

19
Q

What is the purpose of the conceptual model?

A

Represents a global view of the entire database.

20
Q

What does the internal model represent?

A

Representation of the database “as seen” by the DBMS

Maps the conceptual model to the DBMS

21
Q

What does the physical model describe?

A

The way data are saved on storage media.

22
Q

True or False: The relational model requires physical-level details.

23
Q

What are the three types of relationships among data?

A
  1. One-to-many (1:M)
  2. Many-to-many (M:N)
  3. One-to-one (1:1)
24
Q

What does logical independence refer to?

A

Change in internal model without affecting conceptual model.

25
What is the significance of the Crow’s Foot notation?
Used to express relationships in Entity Relationship Diagrams.
26
What does the term 'data independence' refer to?
The ability to change the data model without affecting the database application.
27
What does database design focus on?
Focuses on how database structure will be used to store and manage end-user data
28
What are data models?
Relatively simple representations of complex real-world structures ## Footnote Data models are often graphical
29
What are the major activities in the Logical Design Phase
1. Identify important entities and attributes 2. Define attributes that describe the entities 3. Identify relationships between entities 4. Normalize entity relationships
30
Define 'constraint' in data modeling
Restriction placed on the data
31
What is a relational diagram?
Representation of relational database's entities, attributes within those entities, and the relationship between relationships
32
What are the three parts of a SQL-based relational database application?
1. End-user interface 2. Set of tables stored in database 3. SQL "Engine" ## Footnote End-user interface - allows end user to interact with data Set of tables stores in database - each table is independent from another - rows in different tables are related based on common values in common attributes SQL "Engine" - executes all queries - part of DBMS software
33
Who introduced the Entity Relationship Model and when?
Peter Chen introduced it in 1976
34
What does UML stand for?
Unified Modeling Language
35
What is an entity set?
Collection of like entities
36
What is Big Data?
Refers to a movement find new and better ways to manage large amounts of Web-generated data and derive business insight from it
37
True or False: The conceptual model is both software and hardware independent
True