Lecture 1 Flashcards

1
Q

Why study database management?

A
  • Prevalence

- Advantages over conventional file processing system regarding data independence & the ANSI/SPARC architecture

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

Why are databases better than conventional file processing?

A
  • Spreadsheets don’t scale well with size
  • Difficulty linking tables
  • slow to run queries
  • incorrect results due to denormalized data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are other problems with a File System approach?

A
  • complexity in administration
  • data integrity/consistency
  • data quality for decision making
  • program and data dependence
  • insufficient backup & recovery mechanisms
  • concurrent access
  • data security
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are advantages of a database?

A
  • Improved data sharing
  • Improved data security
  • Better data integration
  • Minimized data inconsistency
  • Improved data access
  • Improved decision making
  • Increased end-user productivity
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the 3 layers of the ANSI/SPARC architecture?

A
External layer (views)
Logical/conceptual layer (tables)
Internal/Physical layer (data structure, disk pages)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How does ANSI/SPARC architecture support DBMS characteristics?

A
  • Data independence

- multiple views of the data (security)

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

What is the physical part of the schema of ANSI/SPARC architecture?

A
  • How data is stored on the disc
  • data storage structures
  • access paths to the data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the logical part of the schema of ANSI/SPARC architecture?

A
  • how we think the data is organized
  • conceptual structure
  • integrity constraints
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the external part of the schema of ANSI/SPARC architecture?

A
  • What a user sees of the data

- View is often limited by security

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

What does data independence mean?

A

each level is independent in the sense that a complete different organization can be used

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

Physical data independence

A

Physical level can change without having to change the logical level

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

Logical data independence

A

Logical level can change without having to change the external level

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

What are the main costs of using a DBMS?

A
  • high initial investment
  • may need additional hardware
  • overhead
  • training
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

When may a DBMS be unnecessary?

A
  • Application is simple, well-defined and not expected to change
  • stringent real time requirements
  • Access to data by multiple users is not needed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Data

A

facts, texts, graphics, sound and video segments that have meaning in the user’s environment

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

Database

A

an organized collection of logically related data , designed to meet the information needs of an organization
-designed, built and populated for a specific purpose

17
Q

What does CRUD stand for?

A

Creation
Retrieval
Update or modification
Deletion

*For data to be useful , should be able to perform these core operations

18
Q

DBMS

A
  • Software that supports the creation and maintenance of databases
  • Manages the interaction between the end user and the database
19
Q

Components of a database

A
  • Query language processing
  • Report generation
  • Security & recovery
  • Integrity mgmt
  • Data & schema definition
  • Concurrency control
  • Physical access
20
Q

Information

A

data processed to be useful in decision making

21
Q

Metadata

A

data that describes the properties or characteristics of other data (e.g. the header of a table)