Mapa mental
Computer Science Revision
Conteúdo do mapa
Computer Science Revision
Representation of Numbers
- Denary is used by humans, binary is used by computers and Hexadecimal is used by humans.
- To Convert:
- Binary To Denary: to convert 10010101 write column values above number, then add up the column values that have a 1. 128+16+4+1=149
- Denary to Binary: Convert 42: Subtract the highest value that isn't over 42 (32) keep subtracting until you get to 0 each time you subtract the number put a 1 where it is.
- Binary to Hexadecimal: 01101101 Split binary number into groups of 4, convert each group to denary, replace double digit numbers with letters = 6D
- Hexadecimal to Binary: F5: Seperate digits then replace any letters with double digit numbers, convert each number to binary then put the groups of 4 togther.
- Hexadecimal to Denary, convert Hexadecimal to Binary, then Binary to Denary.
- Convert denary to binary, then binary to hexadecimal
Binary Arithmetic
- Add the numbers and when you get 11, or 10 carry it over.
- Left Shift: Move each digit one column to the left, insert a 0 in the rightmost space and discard the MSD
- Right Shift: Move each digit one column to the right, insert a 0 into the left space, discard the right most digit.
- Overflow is when the resultant number cannot be represented by the avaidable number of bits.
- Underflow is when a number is rounded down to zero, meaning the original number is entirely lost.
Negative Numbers
- Sign and Magnitude - the MSB represents the sign.
- The most significant bit is negative.
Subtraction
- Subtraction is done by adding a negative two's complement number, convert to two's complement then add.
Characters
- ASCII uses 7 or 8 bits to represent each character limited to 128 or 256 characters.
- Unicode uses 16 bits to represent each character. can represent 64000+ more memory hungry each character uses twice as much storage.
Sound
- Sampling: measuring the amplitude at fixed intervals, quality is increased by higher sample rate or higher sample resuloution/
Storage
- Peter's Extra Zesty Yogurt
Graphics
- Raster is where there is a grid of pixels that are a certain colour each pixel can need up to 32 bits to represent its colour.
- Vector is where shapes and atributes are stored, a circle would store radius and position can be scaled and zoomed indefintely with no loss of quality. Used for maps, blueprints and diagrams.
Compression
- Compression ratio is the old size : compressed size
- Lossless compression is data compression that doesn't alter the contents.
- Lossy loses data that cant be restored.
Informações
- Descrição
- GCSE Computer Science Mapa Mental sobre Computer Science Revision, criado por Harry Rowlands em 06-12-2021.
- Criado por
- Harry Rowlands
- Visualizações
- 0
- Avaliação
Mais sobre Binary, Decimal and Hexadecimal