Data Modeling pptx. 2

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/101

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 11:19 PM on 9/22/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

102 Terms

1
New cards

What is data modeling?

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

2
New cards

What is a data model?

A relatively simple representation of more complex real-world data structures.

3
New cards

Why is data modeling an iterative, progressive process?

The model is developed and refined as the database problem and requirements become better understood.

4
New cards

Why are data models important?

They act as a communication tool and provide the overall database blueprint needed to create a sound database.

5
New cards

Why can different users need different views of the same data?

Programmers, managers, and end users may view the same data differently; a good database blueprint provides a common structure.

6
New cards

What is a business rule?

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

7
New cards

What do business rules help define?

Entities, attributes, relationships, and constraints.

8
New cards

What are the main sources of business rules?

Company managers, policymakers, department managers, and written documentation such as company procedures.

9
New cards

Why are business rules important to database design?

They standardize the organization's view of data, improve communication between users and designers, clarify the nature/role/scope of data and business processes, and help create relationship rules, constraints, and an accurate data model.

10
New cards

How do you translate a business rule into data-model components?

Identify nouns as objects/entities, identify the verb as the relationship, and use words such as one or many to determine cardinality.

11
New cards

Example: What does 'A customer may generate many invoices' tell you?

CUSTOMER and INVOICE are entities; GENERATE is the relationship; one customer can be associated with many invoices.

12
New cards

What relationship results from 'A customer may generate many invoices' plus 'An invoice is generated by only one customer'?

One-to-many (1:M): one customer can generate many invoices, while each invoice is generated by one customer.

13
New cards

What is data abstraction?

Representing the database at different levels, from the users' view down to physical storage details.

14
New cards

What organization created the data-abstraction framework discussed in the PPT?

The American National Standards Institute (ANSI) Standards Planning and Requirements Committee (SPARC).

15
New cards

What are the four data-abstraction levels in the PPT?

External (user), conceptual, internal (logical), and physical.

16
New cards

What is the order of the four abstraction levels from higher to lower abstraction?

External → Conceptual → Internal (Logical) → Physical.

17
New cards

What is the external model?

The end users' view of the data environment.

18
New cards

What is an external schema?

A specific representation of an external view.

19
New cards

Why do business units have external views?

Applications often have a specific business-unit focus, so users see subsets of the database relevant to their unit.

20
New cards

What represents external views?

ER diagrams can be used to represent external views.

21
New cards

What are the advantages of external views?

They identify data needed by each business unit, provide feedback about model adequacy, help ensure security constraints, and simplify application development.

22
New cards

What is the conceptual model?

A global view of the entire database by the entire organization.

23
New cards

What is another name for the conceptual model?

Conceptual schema.

24
New cards

What is the conceptual model used for?

Identifying and providing a high-level description of the main data objects.

25
New cards

What is the most widely used conceptual model?

The Entity Relationship (ER) model.

26
New cards

What are the advantages of the conceptual model?

It gives an easy-to-understand bird's-eye view of the data environment and is independent of both software and hardware.

27
New cards

What is the internal (logical) model?

The representation of the database as seen by the DBMS.

28
New cards

What does the designer do when creating the internal model?

Match the conceptual model's characteristics and constraints to those of the selected implementation model.

29
New cards

What is an internal schema?

A specific representation of the internal model using database constructs supported by the chosen database.

30
New cards

Why is the internal model software dependent?

Because it depends on the specific database software being used.

31
New cards

Is the internal model hardware dependent?

No. The internal model is software dependent but hardware independent.

32
New cards

What is logical independence?

The ability to change the internal model without affecting the conceptual model.

33
New cards

What is the physical model?

The lowest level of abstraction; it describes how data is saved on storage media.

34
New cards

What must be defined in a physical model?

Physical storage devices and the physical access methods required to reach data within those devices.

35
New cards

Is the physical model hardware/software dependent?

Yes. The physical model is both hardware dependent and software dependent.

36
New cards

What is physical independence?

The ability to change the physical model without affecting the internal model.

37
New cards

What is a constraint?

A restriction placed on data.

38
New cards

Why are constraints used?

They help ensure data integrity.

39
New cards

Give examples of constraints from the PPT.

Employee salary must be between $6,000 and $350,000; student GPA must be between 0.00 and 4.00; each class must have one and only one teacher.

40
New cards

What are the basic ER/data-model building blocks emphasized in the PPT?

Entities, attributes, relationships, and constraints.

41
New cards

Why was the Entity Relationship Model (ERM) developed?

Complex database design requires conceptual simplicity, and designers need a graphical way to picture entities and their relationships.

42
New cards

What is an Entity Relationship Diagram (ERD)?

A graphical representation used to model database components.

43
New cards

What is an entity?

A person, place, thing, concept, or event about which data will be collected and stored.

44
New cards

How is an entity represented in an ERD?

By a rectangle, also called an entity box.

45
New cards

What is an attribute?

A characteristic of an entity.

46
New cards

What is a relationship?

An association among two or more entities.

47
New cards

What three relationship types are in the PPT?

One-to-one (1:1 or 1..1), one-to-many (1:M or 1..*), and many-to-many (M:N or *..*).

48
New cards

What is a one-to-many (1:M) relationship?

One instance of an entity can be associated with many instances of another entity, while the other side is limited to one.

49
New cards

What is a many-to-many (M:N) relationship?

Many instances on one side can be associated with many instances on the other side.

50
New cards

What is a one-to-one (1:1) relationship?

One instance of one entity is associated with one instance of another entity.

51
New cards

What is cardinality?

The number of instances of one entity that can be associated with instances of another entity.

52
New cards

What is modality?

Whether participation in a relationship is required or optional.

53
New cards

What is the difference between cardinality and modality?

Cardinality asks 'How many?'; modality asks whether participation is required or optional.

54
New cards

What ER notations are identified in the PPT?

Chen notation, Crow's Foot notation, and class diagram notation, which is part of UML.

55
New cards

What does UML stand for?

Unified Modeling Language.

56
New cards

What is the purpose of ER notation?

To graphically represent entities and the relationships among them.

57
New cards

What are good entity-naming conventions?

Entity names should describe objects in the business environment and use terminology familiar to users.

58
New cards

What are good attribute-naming conventions?

Attribute names should clearly describe the data represented.

59
New cards

Why prefix an attribute name with its entity name or abbreviation?

It makes the model easier to understand and helps make it self-documenting; example: CUS_CREDIT_LIMIT for CUSTOMER credit limit.

60
New cards

What do data models represent historically?

Different schools of thought about what a database is, what it should do, what structures it should use, and what technology should implement those structures.

61
New cards

What is the hierarchical model?

A database model developed in the 1960s to manage large amounts of data for complex manufacturing projects.

62
New cards

How is the hierarchical model structured?

As levels or segments arranged in a tree-like parent-child structure.

63
New cards

What is a segment in the hierarchical model?

The equivalent of a file system's record type.

64
New cards

What are parent and child in the hierarchical model?

A higher-level segment is the parent; the segment directly beneath it is the child.

65
New cards

What is the network model?

A model created to represent complex data relationships more effectively than the hierarchical model, improve database performance, and impose a database standard.

66
New cards

What is a schema?

The conceptual organization of the entire database as viewed by the database administrator.

67
New cards

What is a subschema?

The portion of the database seen by application programs that produce desired information from the database.

68
New cards

What is DDL?

Data Definition Language; it enables the database administrator to define schema components.

69
New cards

What is DML?

Data Manipulation Language; it defines the environment in which data can be managed and is used to work with data in the database.

70
New cards

What is the foundation of the relational model?

A mathematical concept called a relation.

71
New cards

What is a relation?

A two-dimensional structure composed of intersecting rows and columns.

72
New cards

In a relational model, what is a row called?

A tuple.

73
New cards

In a relational model, what does a column represent?

An attribute.

74
New cards

What is an RDBMS?

A Relational Database Management System that implements the relational data model.

75
New cards

What does an RDBMS do?

It performs the basic functions provided by hierarchical and network DBMSs and manages the technical details while users see tables containing stored data.

76
New cards

How are relational tables linked?

They can be connected through common attributes/keys; the PPT's example uses AGENT_CODE to connect AGENT and CUSTOMER information.

77
New cards

What is the object-oriented data model (OODM)?

A model in which both data and its relationships are contained in a single structure called an object.

78
New cards

What is the OODBMS?

Object-Oriented Database Management System; the OODM is its basis.

79
New cards

Why is the OODM called a semantic data model?

Because 'semantic' refers to meaning.

80
New cards

What is an object in the OODM?

An abstraction of a real-world entity.

81
New cards

What are attributes in the OODM?

Properties of an object.

82
New cards

What are methods in the OODM?

Operations that can be performed on an object.

83
New cards

What is a class?

A collection of similar objects with shared structure and behavior.

84
New cards

What does a class method represent?

A real-world action, such as finding a person's name, changing a person's name, or printing a person's address.

85
New cards

What is a class hierarchy?

A structure resembling an upside-down tree in which each class has only one parent.

86
New cards

What is inheritance?

The ability of an object within a class hierarchy to inherit the attributes and methods of classes above it.

87
New cards

How are object-oriented data models typically depicted?

Using UML class diagrams.

88
New cards

What is the Internet of Things (IoT)?

A web of Internet-connected devices that exchange and collect data.

89
New cards

How has IoT affected data growth?

It has accelerated the rate of data growth; the PPT states that about 2.5 quintillion bytes of data are created daily.

90
New cards

What is Big Data?

A movement to find new and better ways to manage large amounts of web- and sensor-generated data and derive business insight from it.

91
New cards

What are the 3 Vs of Big Data?

Volume, Velocity, Variety.

92
New cards

What does Volume mean in Big Data?

The amount of data.

93
New cards

What does Velocity mean in Big Data?

The speed at which data is generated/handled.

94
New cards

What does Variety mean in Big Data?

The different types/forms of data.

95
New cards

What is Hadoop?

A Java-based, open-source, high-speed, fault-tolerant distributed storage and computational framework.

96
New cards

What is HDFS?

Hadoop Distributed File System; a highly distributed, fault-tolerant file storage system designed to manage large amounts of data at high speeds.

97
New cards

What is MapReduce?

An open-source application programming interface (API) that provides fast data analytics services.

98
New cards

What is NoSQL?

A large-scale distributed database system that stores structured and unstructured data efficiently.

99
New cards

What are the general characteristics of NoSQL databases?

They are not based on the relational model and SQL; support highly distributed architectures; provide high scalability, high availability, and fault tolerance; support very large amounts of sparse data; and are geared toward performance rather than transaction consistency.

100
New cards

What are the main database models covered in the evolution section?

Hierarchical, network, relational, and object-oriented; the module also covers emerging Big Data and NoSQL approaches.