Zusammenfassung der Ressource
Binary
- How is Data represented?
- 1 and 0s
- hold a value of a power of two
- these go up to 255
- anything over this value is an overflow erroe
- on and off
- a computer is made up of digital transistors
- They can only be 1 (on) or 0 (off)
- Binary
- base 2 number system
- Why do computers need binary?
- represented in bytes
- can store data
- can communicate with other devices and software
- basic state of a computer system.
- Needed for 2 reasons
- Two clear states, that are reliable and available for computers to work with
- Decreases the need for space, electronic energy and cost.
- Computer transfers electronic components
- binary to denary
- denary is a bade 10 number system
- how to go from binary to denary
- put a column of base 2 numbers
- 128, 64, 32, 16, 8, 4, 2, 1
- you find the highest number that goes into A
- if the value is 84 then the largest number is 64
- put a one into the 64 column
- then you work out the next value
- 84 - 64 = 20
- then 20 goes into 16
- then you do 20 - 16= 4
- so you but a 1 in the 4 section
- then your binary value is 01010100
- left shift and right shift
- Multiplication is known as a left shift Division is known as a right shift
- If you shift right by one place, it divides the number by 2
- shifting one place to the right multiplies by 2