Chapter 1 Flashcards

(15 cards)

1
Q

Purpose of a database?

A

store, manipulate and retrieve data.

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

The data stored in a database should be ______.

A

durable; data remains consistent and valid

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

A good database system should provide ______, ________, and _______.

A

CRUD, ACID, and security

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

CRUD

A

create, read, update and delete

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

Transactions

A

a single operation or series of operations that retrieves or alters the data in a database.

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

What is the goal of a successful transaction?

A

to change the database form one consistent state to another consistent state.

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

What are the two results of a transaction?

A

committed or rolled back

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

A committed transaction

A

the results of the transaction are written to the database, resulting in a new consistent state (a commit).

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

A Rollback

A

the database is placed back into the consistent state it was in before the transaction started.

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

ACID

A

Atomicity, OCnsistencyy, Isolation, Durability

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

Atomicity

A

The transaction is a complete unit, and is executed in its entirety or not at all

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

Consistency

A

a transaction changes the database from one consistent state to another consistent state or the transaction is rolled back

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

Isolation

A

An incomplete transaction should not be visible to others. Users only see the previous consistent state or the resulting consistent state (not the inconsistent state as the transaction is completed)

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

Durability

A

Committed transactions are permanent. (Once committed, it cannot be rolled back.)

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

Database security is accomplished through. . .

A

a combination of physical, network access and design methods.

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