(Done) 1. Data Representation Flashcards
1
Q
What is an overflow error
A
- When binary arithmetic gives you a result that requires more bits than the CPU is expecting
2
Q
What characters are contained within the alphanumeric alphabet
A
- Uppercase letters
- Lowercase letters
- Digits 0-9
- Symbols
3
Q
Define a character set
A
- Collections of characters that a computer recognises from their binary representation
- Character sets also contain special characters which do certain commands (e.g. enter and delete)
4
Q
List the character sets
A
- ASCII (American standard code for information exchange)
- Unicode
5
Q
Features of ASCII
A
- Most commonly used character set in the English speaking world
- Each ASCII character is given a 7 bit value (can have 128 characters)
- An extra bit is added to the beginning of the 7 bit value to make it fit nicely into 1 byte
6
Q
Features of unicode
A
- Tries to cover every possible character or symbol that might be written
- Uses multiple bytes for each character
- Covers all major languages, including ones with different alphabets
- The first 128 codes are the same as ASCII
7
Q
Define colour depth
A
- The amount of bits used for each pixel
8
Q
Define image reslution
A
- The number of pixels in the image
9
Q
Define metadata
A
- The information stored within a file which helps the computer recreate the image on screen from binary data for each pixel
10
Q
Information contained within metadata of an image
A
- File format
- Height
- Width
- Colour depth
- Resolution
11
Q
Define analogue signals
A
- Pieces of continuously changing data
12
Q
Define sampling
A
- The process of converting analogue to digital data
13
Q
What factors affect size and quality of sound files
A
- Sample rate
- Bit depth
14
Q
What is sample rate measured in
A
- Hz
15
Q
What is the calculation for file size
A
- File size = Sample rate x bit depth x duration
16
Q
Define data compression
A
- Making file sizes smaller, while trying to make the compressed files as true to the original as possible
17
Q
Uses of compression
A
- Smaller files take up less space
- Streaming and downloading files from the internet is quicker as they take up less bandwidth
- It allows web pages to load more quickly in web browsers
- Email services normally have restrictions on the size of the attachment you can send
18
Q
Define lossy compression
A
- Compression permanently removing data from the file, reducing the number of bits required therefore reducing it’s size
19
Q
Define lossless compression
A
- Makes the file smaller by temporarily removing data and restoring it once it is oppened
20
Q
Pros of lossy compression
A
- Greatly reduces file size meaning more files can be stored
- Lossy files take up less bandwidth so can be downloaded and streamed more quickly
- Commonly used - lots of software can read lossy files
21
Q
Cons of lossy compression
A
- Lossy compression loses data - the file can’t be turned back into the original
- Can’t be used on text and software files as theses need to retain all their original information
- Worse quality than the original however the difference is usually minimal
22
Q
Pros of lossless compretion
A
- Temporary size reduction - no reduction in quality
- Can be decompressed
- Can be used on text and software files
23
Q
Cons of lossless compresion
A
- Only small reduction in file size, still takes up a decent amount of space