IM101 MIDTERM LESSON3

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

1/53

encourage image

There's no tags or description

Looks like no tags are added yet.

54 Terms

1
New cards

Data Association

process of linking or relating data points from different sources, establish meaningful relationships

2
New cards

Entity Relationships

Foreign Keys

Joins

Associative Entities

Key Concepts of Data Association

3
New cards

Entity Relationships

Entities, in a database are associated through relationships such as one-to-one, one-to-many,

4
New cards

Foreign Keys

are used to associate data in different tables

5
New cards

Joins

combine data from different tables based on a related column, typically a foreign key.

6
New cards

Associative Entities

Sometimes, an association itself becomes an entity with attributes.

7
New cards

Data Relationships

A relationship in a database is a connection between two or more entities.

8
New cards

One-to-One (1:1)

One-to-Many (1:M)

Many-to-Many (M:M)

Many-to-One (M:1)

Types of Relationships

9
New cards

One-to-One (1:1)

Each entity instance is related to one instance of another entity.

10
New cards

One-to-Many (1:M)

One entity instance is related to many instances of another entity.

11
New cards

Many-to-Many (M:M)

Multiple instances of one entity are related to multiple instances of another entity.

12
New cards

Many-to-One (M:1)

This is essentially the reverse of a one-to-many relationship. Many records in one table correspond to a single record in another table. ▪ Example: A tab

13
New cards

Associations

Relationships between tables in a database are established through

14
New cards

Primary Key

A column or a combination of columns that uniquely identifies a record in a table.

15
New cards

Foreign Key

A column or a set of columns in one table that refers to the primary key in another table, establishing a relationship between the two tables.

16
New cards

Referential Integrity

A property of a database that ensures that relationships between tables remain consistent.

17
New cards

Prevents orphan records and ensures data consistency.

Importance of Referential Integrity 

18
New cards

Enforcement

Most DBMS enforce referential integrity through constraints that restrict certain actions, like deleting a record that is referenced by another table.

19
New cards

E-Commerce System

University Database

Banking System

Examples of Data Associations in Real-World Scenarios

20
New cards

Customers and Orders

E-Commerce System

21
New cards

Students and Courses

University Database

22
New cards

Customers and Accounts

Banking System

23
New cards

Data Semantics

meaning and interpretation of data within a specific context.

24
New cards

Metadata

describes the structure, attributes, and constraints of the data, providing a higher-level understanding of what the data represents.

25
New cards

Data Constraints

These are rules that enforce the correct interpretation of data.

26
New cards

Ontologies

define a set of concepts and categories in a subject area or domain that show their properties and relationships.

27
New cards

Data Models

represent the semantic structure of the data.

28
New cards

Consistency

Accuracy

Relevance

Importance of Data Semantics in Database Systems

29
New cards

Consistency

Ensures that data is consistent

30
New cards

Accuracy

Data semantics helps in preventing errors

31
New cards

Relevance

Ensures that data is relevant

32
New cards

Data Integrity

The accuracy and consistency of data over its lifecycle.

33
New cards

Entity Integrity

Referential Integrity

Domain Integrity

Types of Data Integrity

34
New cards

Entity Integrity

Ensures that each entity has a unique identifier (primary key), and no duplicates exist.

35
New cards

Referential Integrity

Ensures relationships between tables are consistent

36
New cards

Domain Integrity

Ensures that data entered into a field falls within a specific range or set of values.

37
New cards

Constraints

Rules applied to data fields to enforce data integrity.

38
New cards

NOT NULL

UNIQUE

CHECK

DEFAULT

Constraints Types

39
New cards

NOT NULL

Ensures a field cannot be left empty.

40
New cards

UNIQUE

Ensures all values in a field are unique.

41
New cards

CHECK

Enforces specific rules for a field

42
New cards

DEFAULT

Sets a default value for a field if no value is provided.

43
New cards

Data Validation

Implementing checks and rules to ensure that data entered into the database is accurate and relevant.

44
New cards

Data Normalization

Structuring data in a way that reduces redundancy and ensures consistency. This involves organizing tables and relationships to streamline data storage and retrieval.

45
New cards

Data Governance

Establishing policies and procedures that define how data should be managed, stored, and used.

46
New cards

Efficiency

Accuracy

Data Integrity

Meaningful Insights

Importance of Data Association and Data Semantics in Databases

47
New cards

Efficiency

Data association optimizes how data is stored, retrieved, and linked, improving the performance of queries.

48
New cards

Accuracy

Data semantics ensure that the data is correctly interpreted, reducing errors in processing and analysis.

49
New cards

Data Integrity

Together, association and semantics maintain the consistency, relevance, and integrity of the data within a system.

50
New cards

Meaningful Insights

They enable more powerful data analysis by allowing the system to understand relationships and meanings within the data.

51
New cards

Business Analytics

Healthcare

Artificial Intelligence:

Applications:

52
New cards

Business Analytics

Companies use data association and semantics to correlate sales data with customer demographics and purchasing behavior, providing actionable insights.

53
New cards

Healthcare

In medical databases, patient records are associated with tests, diagnoses, and treatments, while semantics ensure that each data point is interpreted in the right medical context.

54
New cards

Artificial Intelligence

Data semantics are essential in training machine learning models to understand and process data meaningfully, while associations help build relationships between features for predictive analysis.