Week 1B - More info on DBs Flashcards

1
Q

What is the primary characteristic of the database approach regarding data storage?

A

A SINGLE repository of data that is defined once, maintained centrally, and accessed by multiple users.

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

What makes a database “self-describing”?

A

The database contains both the actual data AND descriptions of database structures/constraints (metadata) stored in the data dictionary/catalog.

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

What is “data abstraction” in database systems?

A

The conceptual representation of data that hides storage details and implementation.
It operates through three levels.

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

Data abstraction operates through three levels. These are?

A

1) External schema (user view)
2) Conceptual schema (logical structure)
3) Physical schema (storage details)

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

What is meant by “insulation between programs and data”?

A

Program-data independence means applications don’t need to be modified when the physical data storage structure changes.

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

What is a database “view” and why is it important?

A

A view is a user-specific subset of the database that:
- Shows only relevant data for specific users
- Is virtual/dynamic (not explicitly stored)
- Provides additional security and data abstraction

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

What are the key features of multi-user transaction processing?

A
  1. Concurrency control for simultaneous access
  2. Online transaction processing (OLTP)
  3. Ability to share data safely between use
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the main types of data models mentioned?

A
  1. Relational data model
  2. Object-oriented data model
  3. Entity-relationship model (ERM)
  4. Unstructured/semi-structured data models
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Why is the DBMS software considered “general-purpose”?

A

It works with any number of database applications rather than being specific to one business domain or application.

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

Who are the main actors in day-to-day database use?

A
  1. Database Administrators (DBA)
  2. End-users (casual, naïve/parametric, sophisticated)
  3. Database designers/architects
  4. System analysts and application programmers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How does a DBMS help control redundancy?

A

It reduces:
- Duplication of effort
- Wasted storage space
- Data inconsistency

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

What security advantage does a DBMS provide?

A

Controls/restricts unauthorized access through privileged software (DBA can create user accounts)

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

How does DBMS handle program objects and data structures?

A

Provides persistent storage, eliminating need for conversion between file and objects

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

What are the two types of rules a DBMS can use?

A
  1. Deductive rules (infer new information from stored data)
  2. Active rules (automatically initiate actions)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What 6 user interfaces does a DBMS typically provide?

A
  1. Query language for casual users
  2. Programming language interface
  3. Forms and command codes
  4. Menu-driven interface
  5. Web access
  6. Query generation tools
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How does a DBMS enforce data integrity?

A
  1. Enforces data type constraints
  2. Maintains relationships between files
  3. Ensures uniqueness of values
  4. Provides automatic enforcement
  5. Validates during data entry
17
Q

What are the main reasons to NOT use a DBMS?

A
  1. Unnecessary overhead costs (security, concurrency, recovery)
  2. Simple, well-defined applications unlikely to change
  3. Vague requirements/prototyping phase
  4. Real-time requirements that can’t handle overhead
  5. No need for multi-user access
18
Q

What are the business advantages of using a DBMS?

A
  1. Enforces standards
  2. Reduces application development time
  3. Provides flexibility for changing requirements
  4. Ensures up-to-date information
  5. Creates economies of scale
19
Q

Why does using a DBMS reduce application development time?

A

Applications can focus on business logic while outsourcing data-related issues to DBMS