Lesson 1 - Bits and Bytes
Lesson 1 - Bits and Bytes
Electronic Numbers
• All of the data in the computer is digital – made up of numbers
(1s and 0s)
• All the numbers are electronic – they are made from on/off
electrical signals.
• When we write down the numbers, we write
– 1 when the electrical signal is ‘on’
– 0 when the electrical signal is ‘off’
• All of the numbers used in the CPU are called binary numbers.
Bits
• Electronic signals in the computer can be in
two states, which represent a 1 and 0. Each
1 or 0 is called a ‘bit’.
• This is the smallest piece of information in
the computer.
• The term Bit is derived from Binary Digit
Bytes
• A group of ‘8’ bits is called a ‘byte’.
• A byte is enough computer memory to store
one symbol, letter or digit.
• A byte is a basic unit of computer memory.
Byte Contd.
• Computer Storage is measured in bytes:
• 1 Kilobyte is approximately 1024 bytes
• 1 Megabyte is approximately 1024 Kilobyte
• 1 Gigabyte is approximately 1024 Megabytes
• 1 Terabyte is approximately 1024 Gigabytes
• 1 Petabyte is approximately 1024 Terabytes
Words
A word is the number of bits that can be processed in one
action by the Central Processing Unit (CPU).
A computer with a larger ‘word’ capacity can work more
quickly.
Features of the CPU such as the registers, the bus and the
actions of the fetch-execute cycle are linked to the size of
the ‘word’.
Word Contd.
• Modern computers usually have a word size of 16, 32, or 64
bits.
• Data is stored in the processor as numbers made of
electronic signals represented by 1s and 0s.