Chapter 1 Flashcards

(18 cards)

1
Q

Database-Management System (DBMS)

A

A collection of interrelated data and a set of programs to access those data

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

Five disadvantages of file processing systems:

A
  1. Redundancy & inconsistency
  2. Difficulty in access
  3. Data isolation
  4. Atomic problems
  5. Integrity problems
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

File processing systems problems: data redundancy & inconsistency

A

Data is stored multiple times and in different structures, sometimes not up to date

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

File processing systems problems: difficulty in access

A

Programs might not exist to access data in a desirable manner

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

File processing systems problems: data isolation

A

Data is sometimes scattered across files, therefore hard to access

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

File processing systems problems: atomicity problems

A

Data must be processed at once, in order to ensure a correct processing

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

File processing systems problems: integrity problems

A

Its hard to implement new constraints to data

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

Three kinds of data models

A
  1. Relational model: tables, record based, fixed format
  2. Entity-relationshop model: data stored in objects or entities
  3. Semi-structured data: XML or JSON, dictionaries/lexicons
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Three levels of database organization

A
  1. Physical schema: the physical storing of data
  2. Logical schema: what data is stored and what’s the relation to other data
  3. View level: representation of data, subschemas
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Instance

A

Collection of certain data at certain moment

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

DDL & DML

A

data-definition language & data-manipulation language

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

DDL has three required constraints

A
  1. Domain constraints
  2. Referential integrity
  3. Authorization
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

DDL constraint: domain constraints

A

A domain of possible values must be associated with every attribute

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

DDL constraint: referential integrity

A

Some data must be relational to data in another relation in order to make sense, for referential integrity

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

DDL constraint: authorization

A

Four levels of authorization we may want to give a user:
1. Read authorization
2. Insert authorization
3. Update authorization
4. Delete authorization

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

Difference between procedural DMLs and declarative DMLs

A

Procedural DMLs require a user to specify what data is needed and where to get it, whereas declarative DMLs doesn’t need the specification of where to get the data from

17
Q

Application program

A

Program that accesses interacts with databases

18
Q

Five phases of database design

A
  1. Specification of user requirements
  2. Conceptual design phase
  3. How to implement: employ a set of algorithms
  4. Logical design phase
  5. Physical design phase