AIS Chapter 4

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

1/60

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 3:55 PM on 6/25/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

61 Terms

1
New cards

What are the five major advantages of database systems?

Data Integration

Data Sharing

Minimal Data Redundancy

Data Independence

Cross-Functional Analysis

2
New cards

What is data integration?

Combining previously separate data files into a single database that can be used throughout the organization.

Example: Payroll, HR, and employee skills data can be stored in one employee database.

3
New cards

What is data sharing?

Authorized users can access the same centralized data.

Example: Sales, Accounting, and Shipping can all access customer information.

4
New cards

What is data redundancy?

Storing the same data multiple times.

Example: A customer's address appears in both billing and shipping files.

5
New cards

Why is minimizing data redundancy important?

It reduces inconsistencies and saves storage space.

6
New cards

What is cross-functional analysis?

Analyzing relationships between different business functions.

Example: Comparing advertising costs with sales revenue.

7
New cards

What are the basic elements of the data hierarchy from largest to smallest?

Database → Table (Entity) → Record (Row) → Field (Column)

8
New cards

What is a database?

A well-organized collection of data stored with minimal redundancy.

9
New cards

What is a table (entity)?

A collection of data about a specific object.

Examples:

  • Customer Table

  • Sales Table

  • Inventory Table

10
New cards

What is a record?

One row in a table representing a specific occurrence of an entity.

Example:
Customer #151

11
New cards

What is a field?

A column that stores a specific attribute.

Example:
Customer Name
Address
Credit Limit

12
New cards

What is data independence?

The separation of data from application programs.

13
New cards

Why is data independence important?

Changes to data storage do not require changes to application programs.

14
New cards

Example of data independence?

The DBA changes how customer data are physically stored, but reports still work normally.

15
New cards

What is a DBMS?

Software that manages the database and controls communication between users and the database.

16
New cards

What are the major functions of a DBMS?

  • Store data

  • Retrieve data

  • Update data

  • Control access

  • Enforce security

  • Maintain integrity

17
New cards

What three components make up a database system?

Database

DBMS

Application Programs

18
New cards

Who is responsible for managing a database?

Database Administrator (DBA)

19
New cards

What is the logical view of data?

How users see and understand data.

20
New cards

What is the physical view of data?

How data are actually stored on computer hardware.

21
New cards

Example of a logical view?

A sales manager sees a customer table with customer names and balances.

22
New cards

Example of a physical view?

Data stored in disk sectors and indexed storage structures.

23
New cards

Why are logical and physical views separated?

To allow changes in storage without affecting users.

24
New cards

What is a schema?

A description of the database structure and relationships.

25
New cards

What are the three schema levels?

External Schema

Conceptual Schema

Internal Schema

26
New cards

What is the external schema?

A user's view (subschema) of the database.

27
New cards

What is the conceptual schema?

Organization-wide view of the entire database.

28
New cards

What is the internal schema?

Physical storage details such as addresses and indexes.

29
New cards

Which schema is most associated with users?

External Schema

30
New cards

Which schema is most associated with the DBA?

Conceptual Schema

31
New cards

Which schema contains record layouts and storage details?

Internal Schema

32
New cards

What is a data dictionary?

A file that contains metadata about the database.

33
New cards

What information is stored in a data dictionary?

  • Field names

  • Descriptions

  • Data types

  • Field lengths

  • Authorized users

  • Programs using the data

34
New cards

Why is a data dictionary important?

  • Documentation

  • Database design

  • Auditing

  • Security management

35
New cards

How does a relational database organize data?

Into related two-dimensional tables.

36
New cards

What is a row called in database terminology?

Tuple

37
New cards

What does each row represent?

One occurrence of an entity.

38
New cards

What does each column represent?

An attribute of an entity.

39
New cards

What is a primary key?

An attribute that uniquely identifies a row.

40
New cards

Example of a primary key?

CustomerID in the Customer table.

41
New cards

What is a foreign key?

An attribute that is a primary key in another table and links the tables together.

42
New cards

Example of a foreign key?

CustomerID in the Sales table.

43
New cards

Which table contains the primary key CustomerID?

Customer Table

44
New cards

Which table contains CustomerID as a foreign key?

Sales Table

45
New cards

Customer Table

CustomerID

Name

151

Vivian

Sales Table

InvoiceID

CustomerID

11101

151

 Identify the primary key and foreign key.

  • Primary Key = Customer.CustomerID

  • Foreign Key = Sales.CustomerID

46
New cards

What are the four basic requirements of a relational database?

Every cell contains one value.

Primary keys cannot be null.

Foreign keys must match a primary key in another table.

Non-key attributes describe the object identified by the primary key.

47
New cards

What is the Entity Integrity Rule?

Primary keys cannot be null.

48
New cards

What is the Referential Integrity Rule?

Foreign keys must match an existing primary key value.

49
New cards

Customer Table:

151
152
153

Sales Table:

11101 → CustomerID 151

11102 → CustomerID 999

Which rule is violated?

Referential Integrity Rule

(CustomerID 999 doesn't exist)

50
New cards

Sales Table:

InvoiceID = NULL

 Which rule is violated?

Entity Integrity Rule

51
New cards

What is an update anomaly?

Same data must be changed in multiple places.

52
New cards

Example of an update anomaly?

Customer address changed in Billing but not Shipping.

53
New cards

What is an insert anomaly?

Cannot add information without adding unrelated information.

54
New cards

What is a delete anomaly?

Deleting one record accidentally removes needed information.

55
New cards

What are CRUD rights?

  • Create

  • Read

  • Update

  • Delete

56
New cards

Which CRUD right allows viewing data?

Read (R)

57
New cards

Which CRUD right allows entering new data?

Create (C)

58
New cards

Which CRUD right allows changing existing data?

Update (U)

59
New cards

Which CRUD right allows removing data?

Delete (D)

60
New cards

Why are delete rights rarely granted in accounting systems?

Because deleting transaction records threatens data integrity and audit trails.

61
New cards

Why is a relational database better than storing all data in one large table?

  • Reduces redundancy

  • Eliminates update anomalies

  • Eliminates insert anomalies

  • Eliminates delete anomalies

  • Improves data integrity