大象传媒

Storage and data organisation - EduqasStorage requirements

Arrays form the basis for how data is stored within a program. They must be declared with meaningful identifier names and appropriate data types that match the data. Without the correct data structures and data types, programs will not work.

Part of Computer ScienceUnderstanding Computer Science

Storage requirements

Computer systems can only store and process digits, also known as .

A bit has a value of either 1 or 0. When eight bits are stored as a binary number, they are collectively called a .

Half a byte is known as a , a 4-bit block which is useful when converting between and binary.

A is 1,024 bytes and a is 1,024 kilobytes. The table below shows how the incrementing sizes are named and how they relate to each other.

UnitAbbreviationValue
ByteB8 bits
KilobyteKB1,024 bytes
MegabyteMB1,024 KB
GigabyteGB1,024 MB
TerabyteTB1,024 GB
PetabytePB1,024 TB
ExabyteEB1,024 PB
ZettabyteZB1,024 EB
YottabyteYB1,024 ZB
UnitByte
AbbreviationB
Value8 bits
UnitKilobyte
AbbreviationKB
Value1,024 bytes
UnitMegabyte
AbbreviationMB
Value1,024 KB
UnitGigabyte
AbbreviationGB
Value1,024 MB
UnitTerabyte
AbbreviationTB
Value1,024 GB
UnitPetabyte
AbbreviationPB
Value1,024 TB
UnitExabyte
AbbreviationEB
Value1,024 PB
UnitZettabyte
AbbreviationZB
Value1,024 EB
UnitYottabyte
AbbreviationYB
Value1,024 ZB