Computer systems use many different units of measurement. This lesson will review some of the most widely used units, including megapixels for digital photographs, kilobytes for storage and gigahertz for frequencies.

##
__Units of Measurement__

When you walk into a computer store to shop for a new computer, you better come prepared. The specifications of equipment often include very technical details. For example, that new computer you are looking at has a 3.4 gigahertz processor and 4 gigabytes of memory. It's time to look at what these units mean.

##
__Bits and Bytes__

You have probably heard the terms 'bits' and 'bytes.' Both are used to express the amount of information stored by a computer system. These terms are often confused, so let's look at each of them in detail.

The term bit is a contraction of the words 'binary' and 'digit.' Binary means there are only two possible values. One bit, or binary digit, is used to represent either a 0 or a 1. All data in a computer system consists of binary information. Computer software translates between binary information and the information you actually want to work with on a computer, such as decimal numbers, text, photos, sound and video.

To actually store a bit as information in a computer system, you need to have a technique that can represent two values. One way to do this is by using transistors. A transistor is like a microscopic switch that controls the flow of electricity based on whether the switch is open or closed. These states represent a 0 and 1, respectively. So, to store one bit, you need one switch, or one transistor. There are other ways to store binary information, but thinking of bits as switches that are open or closed is a useful way to visualize how information can be stored.

To represent more than two values in the binary system, you need to use multiple bits in sequence. Two bits combined can be used to represent four different values: 0 0, 0 1, 1 0 and 1 1. You can visualize this as a sequence of two switches, and there are four possible combinations: open-open, open-closed, closed-open and closed-closed. A sequence of three bits can be used to represent eight different values: 0 0 0, 0 0 1, 0 1 0, 1 0 0, 0 1 1, 1 0 1, 1 1 0 and 1 1 1.

To represent more unique values, you need more bits. In general, bits can be used to explain different values. For example, 8 bits can be used to represent 2^8, or 256, unique values. Historically, computer systems used 8 bits to encode characters. A total of 256 unique values are enough to represent the alphabet in lowercase and uppercase, numbers and special characters.

Each unique character consists of a unique combination of 8 bits. For example, in the widely used UTF-8 character encoding system, the lowercase letter 'a' is represented by 01100001 in binary code. So, it takes 8 switches to represent a single character.

Now let's look to the term byte. A byte consists of 8 binary digits, or 8 bits. This was done in part because computer systems historically used 8 bits to encode characters. The size of 8 bits became the unit for storing data, and it was named byte - one byte stored one character. The term was a deliberate misspelling of the term 'bite' to avoid accidentally shortening it to 'bit.'

While bytes have their origin in 8-bit computer architecture, bytes are now mostly used to describe the size of computer components, such as hard disk drives and memory. You can visualize a single byte as a sequence of 8 switches.

The lowercase letter 'b' is widely used as the symbol for bits, but it is better to simply use 'bits.' For example, one thousand bits would be equal to one kilobit, or one kbit, and one million bits would be equal to one megabit, or Mbit. You may see kb and Mb used instead, but this is not recommended, and it may get confused with bytes.

The standard and widely accepted unit symbol for byte is the uppercase letter 'B.' Below are some of the widely used unit multiples.

one thousand bytes = 1 kilobyte, or 1 kB

one million bytes = 1 megabyte, or 1 MB

one billion bytes = 1 gigabyte, or 1 GB

one trillion bytes = 1 terabyte, or 1TB

Let's return to the new computer you had your eye on with a memory of 4 gigabytes. That means the memory is four billion bytes, and this represents the amount of information the computer system can hold in memory during processing.

Bits and bytes are also used in transmission systems to express the amount of data transmitted per unit of time. The use of bits is much more common, so you will typically see 'bits per second,' or 'b/s,' or bps. For example, a relatively fast Internet connection supports data transfer speed in the order of 1 Mbps, or megabits per second.

**Below is a list of all the standard units of measurement used for data storage, from the smallest to the largest**.

Unit Value Size

bit (b)

0 or 1 1/8 of a byte

byte (B)

8 bits 1 byte

kilobyte (KB)

10001 bytes 1,000 bytes

megabyte (MB)

10002 bytes 1,000,000 bytes

gigabyte (GB)

10003 bytes 1,000,000,000 bytes

terabyte (TB)

10004 bytes 1,000,000,000,000 bytes

petabyte (PB)

10005 bytes 1,000,000,000,000,000 bytes

exabyte (EB)

10006 bytes 1,000,000,000,000,000,000 bytes

zettabyte (ZB)

10007 bytes 1,000,000,000,000,000,000,000 bytes

yottabyte (YB)

10008 bytes 1,000,000,000,000,000,000,000,000 bytes

##
__Pixels and Megapixels__

Now, let's say you are also looking at digital cameras in the computer store. You look at one of the shiny new cameras, and it says '8 megapixels.' That is more than your old camera had - it only had 3.1 megapixels. But, what does this really mean?

Digital photographs are a type of raster graphics. Raster graphics consist of pixels. In technical terms, raster graphics use a rectangular grid of cells of equal size, and each cell has its own color. These cells are also called 'pixels.' The combination of pixels of different colors creates the photograph. Raster graphics are also called "Bitmaps" .

###
__Elements of picture quality__

The number of megapixels is only one aspect relating to the quality of a camera, or the actual quality of a photo it is capable of producing. Factors such as camera sensor and processor, and the optical quality of a lens, play equally important roles.

Other elements determine the quality of photos and prints. They include:

- Good lighting of a subject
- Proper focus and exposure
- Image clarity (lack of blur due to camera shake or incorrect shutter speed)
- Shooting at the highest resolution and quality camera settings.

*Thanks For Supporting Us.*

*Save Tree. Save Life*