2.4 Flashcards

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

File

A

Set of related records

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

Record

A

A collection of related fields (treated as one unit for processing)

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

Field

A

A single data item

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

Fixed Length Record

A
  • Same number of bytes in each record
  • Wated memory in the field
  • Faster to process
  • Easier to program
  • May not be enough space in field
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Variable length Record

A
  • Has a different number bytes in each record
  • No wasted memory
  • Harder to program
  • Slower to process
  • Data will not be truncated
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Master File

A

A file containing relatively permanent information usually updated periodically

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

Transaction File

A

Collection of records used in batch processing to update a master file

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

Full Backup: Gererations

A
  • Keep 3 latest Master and Transaction file
  • Grandfather - Father - Son
  • If one version is corrupted, the previous versions are still available
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Incremental Backup: Transaction Logs

A
  • Saves storage space and is faster
  • Only backs up data that has changed and replaces older backups
  • restores database to a point in time
  • all log records are required to replay database changes up to that point in time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Archiving

A

The process of freeing up data on a computer system that is no longer in use but is kept for historical/security reasons and is stored securely off site

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

Serial

A

Records are added to transaction file in the order they are recieved

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

Sequential

A
  • Records are stored in master file in key field order
  • Used as records are normally accessed in order to update an entire file
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Indexed Sequential

A
  • Index allows for data to be accessed directly
  • Records are saved in blocks stored sequentially
  • Locate records using index block pointers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Indexed sequential advantages

A
  • Fast searching using index
  • Could be faster than searching overflow area
  • Easy to add further records by adding extra data blocks and index pointers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Direct Access File: Need for overflow

A
  • Data collision occurs when 2 records are hashed to the same location
  • A flag is set adn the latest data is stored in a seperate file called the overflow area
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Direct Access File: need for organisation

A
  • Data in the overflow area is searched in a linear manner
  • When there are many items in the overflow area, access becomes slower
  • A new hashing algorithm is required and a larger file may be needed
17
Q

Validation

A
  • A check to ensure that data is sensible and reasonable
  • Check against a set of rules setup in a program
  • Only proves that data is reasonable, not correct
18
Q

Types of Validation

A

Range Check
Presence Check
Length Check
Type Check
Format Check
Lookup Check

19
Q

Verification

A

A check ensuring that data has been copied correctly from one medium to another

20
Q

Double Entry verification

A
  • data is entered twice
  • 2 sets of data are compared to check that they match
  • If no match, it is rejected
21
Q

Multi Level index

A
  • Main index contains the location of the next index
  • could extend to several levels
  • last level contains the physical address of the record
22
Q
A