A block may refer to any of the following:

  1. When referring to a hard drive or other storage devices, 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. In computer programming, a code block or enclosing block is a group of declarations and statements that operates as a unit, usually with its own level of lexical scope. For instance, a block of code may define a function, a conditional statement, or a loop. Below is an example of a conditional statement structured as a code block.

if ($question eq “answered”) { print(“Thanks Computer Hope!”); }

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

A programming block should not be confused with block-based programming, a type of programming.

  • How to create a computer program.
  1. With IP addresses, a block is an allocation of addresses assigned to a network or business. For example, it’s the responsibility of ICANN to assign blocks of IP addresses to a company to use on the Internet.

  2. In general, block describes anything that’s 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.

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

  • How to block a website.
  • How to block YouTube videos or channels.
  • Why can I not access a web page or chat at school or work?
  • Protect children from harmful material and people on the Internet.
  • How to block a phone number.