block
block
1. A collection of data units such as words, characters, or records (generally more than a single word) that are stored in adjacent physical positions in memory or on a peripheral storage device. A block can therefore be treated as a single unit whereby data can be (and usually is) transferred between storage device and memory, using one instruction. Blocks may be fixed or variable in size.
A stream of data to be recorded on magnetic tape is divided into blocks for convenience of handling and particularly of error recovery. (The equivalent on disks is sectors.) Successive blocks are usually separated by interblock gaps and often also by control signals introduced by the magnetic tape subsystem and invisible to the host (see tape format). It is usual but not essential for the block length to be the same for all blocks of data within a volume or at least within a file, though this may not apply to labels; where the end of a file occurs partway through a block, the remainder of the block may be filled with padding characters.
The choice of block length is largely dependent on error management considerations. The minimum length of the interblock gap is defined by the standard for the tape format in use; the maximum length is usually undefined, except that a very long stretch (typically 25 feet) of blank tape is taken to mean that there is no more data on the volume. To avoid wastage of tape the gap written is usually fairly close to the minimum but it may be elongated in some circumstances, e.g. by error recovery actions or to leave space for the editing of a file (which in this context means its replacement by a new version of the same length).
In conventional magnetic tape subsystems the division of data into blocks is carried out by the host. However some buffered tape subsystems, particularly streaming cartridge tape, accept a continuous data stream from the host, and the subsystem itself divides the data into blocks (in this case often called blockettes) in a manner that is not visible to the host. In these subsystems the interblock gap may be very short or absent.
2. In coding theory, an ordered set of symbols, usually of a fixed length. The term is generally synonymous with word or string, but with the implication of fixed length.
3. See block-structured languages.
4. In parallel programming, to prevent further execution of one sequence of instructions until another sequence has done whatever is necessary to unblock it. See also blocked process.
1. A collection of data units such as words, characters, or records (generally more than a single word) that are stored in adjacent physical positions in memory or on a peripheral storage device. A block can therefore be treated as a single unit whereby data can be (and usually is) transferred between storage device and memory, using one instruction. Blocks may be fixed or variable in size.
A stream of data to be recorded on magnetic tape is divided into blocks for convenience of handling and particularly of error recovery. (The equivalent on disks is sectors.) Successive blocks are usually separated by interblock gaps and often also by control signals introduced by the magnetic tape subsystem and invisible to the host (see tape format). It is usual but not essential for the block length to be the same for all blocks of data within a volume or at least within a file, though this may not apply to labels; where the end of a file occurs partway through a block, the remainder of the block may be filled with padding characters.
The choice of block length is largely dependent on error management considerations. The minimum length of the interblock gap is defined by the standard for the tape format in use; the maximum length is usually undefined, except that a very long stretch (typically 25 feet) of blank tape is taken to mean that there is no more data on the volume. To avoid wastage of tape the gap written is usually fairly close to the minimum but it may be elongated in some circumstances, e.g. by error recovery actions or to leave space for the editing of a file (which in this context means its replacement by a new version of the same length).
In conventional magnetic tape subsystems the division of data into blocks is carried out by the host. However some buffered tape subsystems, particularly streaming cartridge tape, accept a continuous data stream from the host, and the subsystem itself divides the data into blocks (in this case often called blockettes) in a manner that is not visible to the host. In these subsystems the interblock gap may be very short or absent.
2. In coding theory, an ordered set of symbols, usually of a fixed length. The term is generally synonymous with word or string, but with the implication of fixed length.
3. See block-structured languages.
4. In parallel programming, to prevent further execution of one sequence of instructions until another sequence has done whatever is necessary to unblock it. See also blocked process.
More From encyclopedia.com
NEARBY TERMS
block
