File structures fundations Flashcards

(56 cards)

1
Q

File

A

A collection of related records, usually stored in a structured format.

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

Serial file organization

A

Records are stored one after the other, in the order they are entered.

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

Sequential file organization

A

Records are stored in a sorted order based on a key field.

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

Indexed file organization

A

An index is used to enable fast access to records based on key values.

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

Hashed file organization

A

A hash function determines the storage location of a record.

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

Archives

A

Files or sets of files intended for long-term storage of records.

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

Records

A

Structured collections of related fields, similar to rows in a database table.

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

Field

A

The smallest unit of data, representing a single attribute or piece of information.

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

Blocks

A

The smallest unit of data transfer between secondary storage and memory.

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

Expanded record

A

A logical record that spans more than one block.

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

Blocking

A

The process of storing multiple logical records within a single block.

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

Blocking Factor

A

The number of logical records that can fit into one block.

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

Index

A

An auxiliary data structure that enables fast access to records using key values.

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

Indexing key

A

The field whose value is used to build and search the index.

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

Privileged key

A

A key field with a direct or optimized access mechanism.

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

Alternative key

A

A secondary field used for querying that is not the primary index.

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

Consecutive organization

A

Records are stored contiguously without gaps between them.

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

Non-consecutive organization

A

Records can start at arbitrary locations; blocks may not contain complete records.

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

Bucket

A

A logical grouping of one or more blocks for organizing records.

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

Key

A

A field used to identify, access, or sort records.

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

Bucket space

A

The physical storage space allocated to a bucket.

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

Bucket extent

A

The average number of records that can fit into a bucket.

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

Cell

A

A bucket smaller than a block, typically for compact storage.

24
Q

Vector

A

A fixed-size collection of elements with a shared interpretation.

25
Repeating group
A set of fields that can repeat multiple times within a record.
26
Volume of record
The total allocated space for a record, including unused space.
27
Occupation of record
The portion of a record that contains actual (non-empty) data.
28
Ideal record density
(Occupation of record ÷ Volume of record) × 100%.
29
Pointer
A reference to the location of a record, field, or related structure.
30
Minimum Occupation (space)
The threshold below which space can be reused (e.g., pctused).
31
Maximum Occupation (extent)
The limit above which no new records are inserted.
32
Control fields
Metadata or fields used to manage and interpret the structure of a record.
33
Purpose of marks
Help interpret data correctly, support dynamic fields, and mark boundaries.
34
Field coding
Technique to reduce record size using efficient data types.
35
Numeric coding
Replacing character-based numbers with machine-efficient numeric types.
36
Enumerated coding
Mapping string values to numbers for compact storage.
37
Bitmask
A structure where each bit represents a binary condition or flag.
38
Real density of a file
The ratio of useful data to total file volume.
39
Occupation density of a non-consecutive file
Ratio of the number of records to total capacity.
40
Process Relative Frequency
How often a process is used relative to all other processes on a file.
41
Global cost
A process's cost weighted by its relative frequency of use.
42
Actualization
Any modification or update made to the file.
43
Retrieval
The process of accessing information from a file.
44
Disk sequentiality
The degree to which file data is physically stored in a sequential manner.
45
Real cost
Calculated as: global cost × (1 − hit ratio).
46
Archive subprocess
File update involving writing new data to disk for long-term storage.
47
Validation subprocess
Checks whether an operation is permitted.
48
Integrity subprocess
Ensures structural relationships and constraints remain valid.
49
Location subprocess
Verifies the correct location of data before modification.
50
Selective Retrieval
Retrieving specific records that meet certain criteria.
51
Univocal selection
Retrieving a unique record using a key that identifies a single entry.
52
Non-univocal selection
Retrieving multiple records that match a shared key.
53
Simple selection
Searching based on a condition involving a single field.
54
Multikey selection
Using multiple fields and conditions to retrieve records.
55
Full scan
Sequentially reading every record in the file.
56
Bucket filtering
Using metadata about buckets to narrow down the search for a record.