Database Systems Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Serial File

A

Serial File
- Data is stored in the order in which it is entered
- No order to data is maintained
- Useful for storing transactional and initialisation files

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

Sequential Files

A

Sequential Files
- Stored in order of key fields
- Order is maintained when new records are added
- Useful for storing master files

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

Flat File / Single table database

A

data is duplicated – this is not only inefficient use of storage it also means errors can occur between different records very easily which compromises integrity. This makes it harder to search the database (query a database)

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

Flat vs Relational

A

Flat File Database
- single table
- Represented using
- Contains files, records, fields and characters
- simple to create, easy to use, inexpensive
- duplicated data therefore data inconsistences

Relational Database
- Consists of multiple entities
- Represented using entity relationship diagram
- Contains entity’s, attributes and relationships
- takes time to set up

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

Primary and foreign keys

A

Primary key
- a unique identifier that uniquely identifies records.

Foreign key
- any field in table which is the primary key in another table

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

Database management Systems (DBMS)

A

DBMS
- A manipulation language to change and access data
- Integrity to ensure efficiency and structure is not compromised
- Additional security
- Provides an interface for other programs to access data
- Program/data independence – You can change the data without affecting the program and vice versa.

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