2.1.2 Two’s complement
negative numbers:
1) convert to the unsigned equivalent 8 bit binary
2) flip the bit
3) add 1 arithmetically
2.1.3 denary to binary
2.1.5 overflow error
Overflow error means that the result of the calculation is too large for the space allocated.
The way a computer handles this will depend on how its set up:
It could crash and report an overflow error.
It could truncate the answer.
It could wrap the number around back to 0.
2.1.6 hexadecimal to binary
convert C3 to binary
1100 0011
1) convert each digit to denary
2) convert denary to binary
3) combine to get binary number
2.1.6 binary to hexadecimal
convert 1011 0011 to hexadecimal
B3
1) split the byte into two nibbles
2) convert each to denary
3) add these together to get hexadecimal
2.2.1 ASCII
ASCII (American Standard Code for Information Interchange)
ASCII enables computing devices to communicate with another and to translate their communication into identical information.
Limitations:
a) pixel
- a picture element, a tiny square of colour
b) resolution
- describes how tightly packed the pixels are
- describes the number of pixels per inch.
- if you enlarge an image it becomes more pixelated and has a lower resolution.
c) colour depth
- the number of bits used to encode the colour of each pixel in a bitmap image.
the more bits used to encode the colour, the greater the number of actual colours that can be represented in the image so that is is more detailed.
2ⁿ
2.3.1 units
Kiss My Gross Toes
Kibibyte
Mebibyte
gibibyte
tebibyte
2.3.2 lossy compression
+ bigger reduction in file size
+ data removal is not noticeable human eye or ears
uses: image size and digital sound recording
examples: MP3 audio files and JPG image files
2.3.2 lossless compression
+ encodes data, rather than removes it
+ original can be reconstructed exactly
uses: text files and graphic files with a low colour depth
examples: compressed text files, GIF and PNG image files and FLAC and ALAC audio files.
a)
1) reduce storage requirements
2) reduce network transmission time
b)