Bits Bytes etc

From TRCCompSci - AQA Computer Science
Revision as of 11:04, 12 September 2018 by 000030928 (talk | contribs)
Jump to: navigation, search

Units

https://www.youtube.com/watch?v=9kzCoDFrMGE&list=PLCiOXwirraUCa2MYf_oSM94uvwIGPMZ1q

New Units

Computer Science units are now based around the powers of 10

Powers of 10

The Bit

The Bit is a single binary digit used in computing and is represented using either a 1 or 0. The two values of a single digit act as an On or Off function or True/False and putting them together can result in unique functions as 1 digit can control one variable and another digit can control an entirely different variable. By putting multiple bits together functions become more complex and have more outcomes as if you set one value to true it can lead to another set of values different to what you would get if it was set to false. Putting 8 of theses bits together is called a byte (see pg 2.3)

The Byte

A byte is made up of 8 bits, and larger amounts of data are based around the value of a byte (e.g Gigabyte being 1,000,000,000 bytes). A single byte represents one binary number, as it is made up of a total of 8 1's and 0's. A single character is made up of a single byte.

Kilo Byte

A Kilo Byte is 1000 bytes. It is also a multiple of the byte unit with the prefix kb.

Mega Byte

Giga Byte

Tera Byte

1 TeraByte = 1,000 GigaByte, 10^12 bytes

Peta Byte

Symbol PB Power 10^15

Exa Byte

Symbol: EB Power: 10^18 Bytes: 1,000,000,000,000,000,000

Zetta Byte

Symbol: ZB, Power : 10^21, Bytes  : 1,000,000,000,000,000,000,000 bytes

Yotta Byte

Yottabyte (YB) is a unit of digital information that equals to one septillion (10^24), more precisely to 2^80.

Old Units

Units based around powers of 2, according to the spec you don't need to know these

Powers of 2

A power of two is a number of the form 2n where n is an integer. (e.g. 7).

Kibi Byte

Mebi Byte

Gibi Byte

1 GiB is equal to 2^30. (Two to the power of thirty)

1 GB = 0.931323 GiB

Tebi Byte

A tebibyte is a unit of data storage that equals 2 to the 40th power, or 1,099,511,627,776 bytes. While a terabyte can be estimated as 10^12 or 1,000,000,000,000 bytes, a tebibyte is exactly 1,099,511,627,776 bytes.

Pebi Byte

A Pebi Byte is a multiple of the unit byte, used for digital information.

The prefix for pebi is Pi

1,125,899,906,842,624 bytes is equivalent to 1024 tebibytes or 1 pebibyte.

to get from pebibytes to bits, you can do: pebibytes times 2 to the power of 50 or pebibytes times 1024 to the power of 5

and to get from bits to pebibytes, you can do: bits divided by 2 to the power of 50 or bits times 1024 to the power of 5

Exbi Byte

Zebi Byte

Yobi Byte