Updated: 04/26/2017 by Computer Hope

A block may refer to any of the following:

1. When referring to a hard drive or other storage medium, a block is a segment of a large area that can be assigned to store data.

2. With a text cursor, a block cursor is a cursor that indicates text will be overwritten. See our insert key definition for further information on this cursor and how text insertion can be changed.

3. When referring to a radio frequency or spectrum, a block is a subset range of radio frequencies in a larger band.

4. In computer programming, a block is a group of declarations and statements which operates as a unit, usually with its own level of lexical scope. For instance, a block of code may be used to define a function, a conditional statement, or a loop. Below is an example of a conditional statement structured as a code block.

if (question == answered) {
    print("Computer Hope");

5. In general, block is a term used to describe anything that has been restricted. For example, a parent may block a website from being visited so their children are not exposed to anything they shouldn't be seeing.

Band, Block indent, Block of text, Burst, Phone terms, Hard drive terms, Memory terms, Programming terms, Super block