Term 1 Flashcards
ASCII
American standard code for information interchange
Standard ASCII: 7 bits
Extended ASCII: 8 bits
Unicode
Universal code and used by most computers today, lots of versions, focus on 16-bit codes
Text files
Files containing only text
Size = number of characters x bytes per character
Binary files
All other files
More complicated formats
Eg. Docx
Length of file
The total number of characters in the text file
Overheads
The calculation builds in a bit of extra storage for things like the default margins, size and type of font
Analogue data
Continuous overtime
Sound waves - amplitude
Digital data
Discrete steps
Binary (1 = high, 0 = low)
Sampling
The process of digitalising sound
Sample
A digital measurement of an analog system
Sample resolution
The number of bits used to store each sample
Sampling rate
How often samples are taken each second - Hertz
Quantisation error
Data from the analogue wave which is not digitalised and therefore lost
ADC
Analogue to digital converter
Used by microphones/sound cards to digitise sound waves in to binary
DAC
Digital to analogue converter
Used by the computer before the sound is passed to the speakers
Fidelity
The relationship between the original sound and the recording. The greater the fidelity, the greater similarity between them.
Fidelity influences
Sample rate - samples taken
Sample resolution - number of bits for each sample
Sound files calculations
= sample rate (Hertz) X resolution (bits) x length in seconds x channels (mono or stereo)
MP3 file compression
Uses lossy compression algorithm called perceptual music shaping.
The algorithm removes:
- sound humans can’t hear
- the sound that’s quieter when two are playing at the same time
Compressing text file
Uses lossless and Huffman encoding.
Store frequently used characters in shorter codes.
Ethics
A field of knowledge that deals with morality
Morality Vs ethics
Seen as a personal view of what is right or wrong whereas ethics are community established beliefs
Computer ethics
A set of principles that guide the behaviour and use of computer systems like privacy and safety.
Intellectual property
Copyright laws protect the creators exclusive rights to use, sell, or licence their work, preventing others from using it without permission.
AI companies argue that they are not truly using the creators work and that it’s just inspiration.