Chapter 1: Information Representation

33 flashcardsby JoshuaE → E
Study these flashcardsFree · spaced repetition · iPhone, Android, Mac & web

All cards

1
What is Hexadecimal?
Base 16, from 0-9 to A-F
2
Usages of Hexadecimal?
- In MAC and IP Addresses
- Represent Colours in HTML
- In error messages and memory dumps
3
What are the Binary prefixes?
Kibi (Ki) = 1024 bytes
Mebi (Mi) = 1024 KiB
Gibi (Gi) = 1024 MiB
Tebi (Ti) = 1024 GiB
4
What are the Denary prefixes?
Kilo (k) = 1000 bytes
Mega (M) = 1000 Kb
Giga (G) = 1000 Mb
Tera (T) = 1000 Gb
5
What is Binary Coded Decimal (BCD)?
Number system that uses 4 bits to represent each denary digit.
e.g:
- (19 in BCD): - 00011001
- 0001 (= 1) 1001 (= 9)
- 19
6
Usages of Binary Coded Decimal (BCD)?
- Used to represent numbers in calculators and counters
- Allows you to accurately measure fractions
- Electronically code decimal numbers
7
What are the three Character sets?
ASCII, Extended ASCII, Unicode
8
Features of ASCII?
American Standard Code for Information Interchange
- 128 characters
- Only from the English language
- 7 bits
9
Features of Extended ASCII?
- 256 characters
- Most European langauges including English
- 8 bits
10
Features of Unicode?
- 10,000 characters
- variety of languages
- current standard
- 32 bits
11
What is a Pixel?
The smallest unit of area in an image representing a single colour
12
What is a File header
Stores data about the image,
- Size
- Resolution
- Colour depth
- Number of colours
13
What is Image resolution?
Number of pixels wide by the number of pixels high
14
What is Colour depth?
Number of bits used to represent the colours in a pixel
15
What is Bit depth?
Number of bits used to represent the smallest unit in an image file (or sound file);
- The larger the bit depth, the better the quality of the sound or colour image.
16
How do you calculate File size?
File size = (Width x Height x Bit depth (in bytes)) + Header bytes
17
What are features of Lossy image compression?
- Reducing bit depth, fewer bits used to store each pixel in an image
- Reducing colour palette, less colours and therefore less bits per pixel
- Reduced image resolution, fewer pixels per unit area so less space is needed
18
How is Lossy image compresion done?
Using Run Length Encoding (RLE), - Looks for a series of consecutive pixels that store the same colour,
-- Indexes the colour and the number of times it occurs.
19
How Lossless compression is done on sound files?
- Reduce amplitude to only the range used, limited amplitudes mean fewer bits per sample
- Run-length-encoding, Where consecutive sounds are the same record the binary value of the sound and number of times it repeats
- Record the changes instead of the actual sounds
20
What are Vector images?
Images using 2D points to describe lines and curves and their properties; grouped to form geometric shapes
21
Features of Vector images?
- Can be scaled without losing quality as it gets recalculated.
- Relatively small file size, stores equations not pixels.
22
What is Sampling resolution?
The number of bits used to store each sample.
- Larger values mean more accurate reconstruction of sound but higher file size (more bits used to store the sound)
23
What is Sampling rate?
The number of samples taken per unit time
24
How to calculate Sound size?
Sound size = sampling rate x sampling resolution x time
25
What is Analogue data?
Continous real-world data
26
What is Digital data?
Discrete electrical data
27
What is Compression
The reduction of file size
28
Advantages of Compression
- Reduces transfer time
- Saves bandwidth
- Saves storage space
29
What are the two methods of Compression?
Lossy and Lossless
30
What is Lossy compression?
File size compression where original data is lost and cannot be recovered
31
What is Lossless compression?
File size compression where original data is not lost and can be recovered
32
Advantages of Lossless compression?
- Maintains quality
- Useful when all original data needs to be recovered
33
Pros and cons of Lossy compression?
Pros:
- Creates a much smaller file size than lossless
-- Useful when significant size reduction is needed
Cons:
- Significant loss in quality
Study all 33 cards for free