Introduction to Modern Database System Flashcards

1
Q

What is data inconsistency?

A

Different and conflicting versions of the same data occur at different places

This is a common issue in file systems where redundant data is not updated uniformly.

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

Define data anomalies.

A

Abnormalities when all changes in redundant data are not made correctly

This includes update anomalies, insertion anomalies, and deletion anomalies.

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

What kinds of data anomalies exist?

A
  1. Update Anomaly
  2. Insertion Anomaly
  3. Deletion Anomaly

Update Anomaly - An agent has a new phone number, it must be changed in all records of that agent
Insertion Anomaly - A new agent would have to be entered with a dummy customer
Deletion Anomaly - Deleting a customer may delete the only record of an agent

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

What is data redundancy?

A

Same data stored unnecessarily in different places

This leads to increased storage costs and poor access time.

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

What does structural dependence mean?

A

Access to a file is dependent on its own structure

Changes in file structure require modifications to all file system programs.

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

Define structural independence.

A

Change file structure without affecting data access

This is a desirable feature in modern database systems.

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

What is data dependence?

A

Data access changes when data storage characteristics change

This results in challenges for application programs.

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

What is data independence?

A

Data storage characteristics do not affect data access

This allows for greater flexibility in database management.

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

What are the five major parts of a database system?

A
  • Hardware
  • Software
  • People
  • Procedures
  • Data

Each component plays a crucial role in the functionality of a database system.

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

What is a database?

A

A shared, integrated computer structure that stores a collection of end-user data and metadata

Metadata is data about data and helps in managing end-user data.

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

What is a DBMS?

A

A collection of programs that manages structure and controls access to data

The DBMS acts as an intermediary between users and the database.

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

What is the difference between data and information?

A

Data are raw facts; information is the result of processing raw data to reveal meaning

Context is necessary for data to become meaningful information.

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

What is an operational database?

A

Supports a company’s day-to-day operations

Often referred to as a transactional or production database.

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

What is a data warehouse?

A

Stores data used for tactical or strategic decisions

Data warehouses are crucial for business intelligence and analytics.

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

What are structured and unstructured data?

A
  • Structured data: formatted data
  • Unstructured data: data in their original state

Semistructured data have been processed to some extent.

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

What is a centralized database?

A

Data located at a single site

This contrasts with distributed databases where data is spread across multiple locations.

17
Q

What is the role of metadata in a database?

A

Describes data characteristics and relationships in data

Metadata complements and expands the value of data.

18
Q

What is the importance of database design?

A

Facilitates data management and generates accurate and valuable information

Poorly designed databases can lead to errors and organizational failure.

19
Q

True or False: Data redundancy leads to better data management.

A

False

Data redundancy often complicates data management and leads to inconsistencies.