Databases. A.1 Flashcards

1
Q

What is data?

A

Data refers to raw data or unprocessed and hasn’t been analysed

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

What is information?

A

Information is “knowledge communicated or received concerning a particular fact or circumstance.”

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

What is a DBMS?

A

A DBMS is a suite of computer software providing the interface between users and a database(s).

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

Difference bw Information and Data?

A

∙ Data is used as input for the computer system. Information is the output of data.
∙ Data is unprocessed facts figures. Information is processed data.
∙ Data doesn’t depend on Information. Information depends on data.
∙ Data is not specific. Information is specific
∙ Data is a single unit. A group of data which carries news is called Information.
∙ Data doesn’t carry a meaning. Information must carry a logical meaning.
∙Data is the raw material. Information is the product.

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

Information System

A

Any combination of information technology and and peoples activities and the use of technology to support operations, or management.

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

Database System

A

A database system is a term that is typically used to encapsulate the constructs of a data model, database Management system (DBMS) and database.

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

Flat file and Database definition?

A

A flat-file database is a database stored in a file called a flat file. A flat file can be a plain text file, or a binary file.

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

Data Definition

A

Defining new data structures for a database, removing data structures from the database, modifying the structure of existing data.

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

Data Maintenance

A

Inserting new data into existing data structures, updating data in existing data structures, deleting data from existing data structures

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

Data Retrieval

A

Querying existing data by end-users and extracting data for use by application programs

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

Data Control

A

Creating and monitoring users of the database, restricting access to data in the database and monitoring the performance of databases

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

Benefits of sharing data are?

A
  1. Scientific integrity, 2. Increase the impact of your own research, 3. Preserve your data for future use
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Drawbacks of sharing data are?

A
  1. May be personal data like financial details which shouldn’t be publicised
  2. If the data contains sensitive, personal information about human subjects, it may violate the Data Protection Act, ethics codes.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is a transaction?

A

A transaction is a set of changes that must all be made together. Single or multiple operation as a single unit.

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

Transaction state?

A

Consistent state, by ensuring that interdependent operations on the system are either all completed successfully or all canceled successfully.

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

How does rollback work?

A

The transaction can be rolled back completely by specifying the transaction name in the Rollback statement or to cancel any changes to a database during current transaction.

14
Q

What is rollback?

A

The Rollback operation rolls back the transaction to the beginning of the transaction. So the database reaches to its previous state.

15
Q

What is a Transaction log?

A

Recovering a database by applying different transactions that recorded in the database log files.

16
Q

What is concurrency control?

A

In a multiuser database, the statements within multiple simultaneous transactions can update the same data. Transactions executing at the same time need to produce meaningful and consistent results.

17
Q

What is a transaction?

A

A transaction is a sequence of operations performed as a single logical unit of work. A logical unit of work must exhibit four properties, called the atomicity, consistency, isolation, and durability (ACID) properties, to qualify as a transaction.

18
Q

Atomicity?

A

A transaction must be an atomic unit of work; either all of its data modifications are performed, or none of them is performed.

19
Q

Consistency?

A

The transaction must be fully compliant with the state of the database as it was prior to the transaction. In other words, the transaction cannot break the database’s constraints.

20
Q

Isolation?

A

Transaction data must not be available to other transactions until the original transaction is committed or rolled back.

21
Q

Durability?

A

After a transaction has completed, its effects are permanently in place in the system. The modifications persist even in the event of a system failure.

22
Q

What is concurrency?

A

Data concurrency means that many users can access data at the same time.

23
Q

What are the three types of concurrency control?

A
  1. Pessimistic concurrency control
  2. Optimistic concurrency control
  3. Last in wins
23
Q
A
23
Q
A
24
Q

Pessimistic Concurrency Control?

A

The data set that is being modified by one user cannot be changed by another user at the same time.

25
Q
A
26
Q
A