1. data representation

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/68

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

69 Terms

1
New cards

loss of data

  • possible to reduce the resolution and colour depth of images

  • any reduction in resolution, colour depth or sample resolution will result in a smaller file size

2
New cards
how can icons be represented?
compressed format where 1=white 0=black
3
New cards
rle frequency/data pairs
run length encoding
4
New cards
how does loseless work?
the algorithm finds groups of repeating data and records the data once, along with the number of repetitions
5
New cards

loseless compression

not lose any of the original data

6
New cards
blocks
often result from lossy compression
7
New cards
where can noise be seen
contrasting colours
8
New cards
lossy compression artefacts
results in small mistakes known as ‘digital artefacts’ appearing in images and video
9
New cards
lossy compression
permanently loses data
10
New cards
2 types of compression
- lossy compression - loseless compression
11
New cards
when is compression used?
sound, image, video files
12
New cards
compression
name given to algorithms which reduce file sizes
13
New cards

how are colour values represented?

expressed in the software as denary rgb values and in hexadecimal

14
New cards

colours in a pixel

each pixel has a proportion of red, green and blue

15
New cards
monochrome image representation
represented in binary in a bit pattern
16
New cards
what do portable bitmaps store?
- the image dimensions - black or white with a 0 or 1
17
New cards
pbm monochrome images
portable bitmap
18
New cards
effects of varying colour depth
changing the colour depth of an image will affect the number of colours it can display
19
New cards
16 bits per pixel
2^16 = 65,536 colours
20
New cards
8 bits per pixel
2^8 = 256 colours
21
New cards
higher colour depth =
greater range of colour and quality
22
New cards
how to dictate the bit depth
2^n
23
New cards
what can a pixel represent
an infinite number of colours
24
New cards
4 bit
8 colours
25
New cards
3 bit
6 colours
26
New cards
2 bit
4 colours
27
New cards
1 bit
2 colours
28
New cards
each value represents a ___
colour
29
New cards
image resolution
the number of pixels in the image
30
New cards
pixel
the smallest identifiable area of an image
31
New cards
bitmap is made up of
pixels or picture element
32
New cards
examples of bit-map image file formats
bmp, jpg, gif, png, tiff
33
New cards
lossy file formats are still very popular because
they reduce the file size well
34
New cards

uncompressed audio files examples

wav and aiff

35
New cards
lossless sound formats
flac (free lossless audio codec) alac (apple lossless audio codec) wma lossless (windows media audio)
36
New cards
lossless compression - mp3
lossless compression formats are able to reduce the file size when compressed but do not lose any information
37
New cards
lossy compression - mp3
lossy compression removes sounds that we can’t easily hear or that least affect the perceived playback quality
38
New cards
our hearing range
20-20,000 hz
39
New cards
increasing the sampling rate (frequency) means?
recording more data points
40
New cards

the more frequently we sample the sound ___

more accurately we record the wave height

41
New cards
calculating sound files
file size (bits) = sample rate × resolution × duration
42
New cards
greater the frequency =
greater accuracy, file size
43
New cards
sampling rate
frequency or sample rate per second affects the level of detail in the digital representation
44
New cards
cd sample rate
44,100 hz (44.1 khz)
45
New cards
hertz
- sample rate is usually measured in hertz (hz) - 1 hz = 1 sample per second
46
New cards
sound sampling
the number of samples taken per second
47
New cards

48
New cards
sample resolution
number of bits (audio bit depth) used to record each measurement is known as the resolution
49
New cards
what does the sound sample resolution determine?
how closely the wave is sampled on the y-axis
50
New cards
how is sound sampled?
using a bit depth and sample rate
51
New cards
sound sampling
a measurement of amplitude of a sound wave at a given time
52
New cards
dac
a digital to audio converter (dac) is used to convert digital signals to outputs
53
New cards
adc
an analog to digital converter (adc) is used to convert inputs to digital signals
54
New cards
digital =
not continuous
55
New cards
analog =
continuous
56
New cards
unicode use
for multilingual websites
57
New cards
first step
convert to an integer
58
New cards

always start counting at

1 ONE.

59
New cards
lowercase
97-122
60
New cards

uppercase in ascii

65-90

61
New cards

numeric characters 0 to 9

48 to 57

62
New cards
ascii
american standard code for information interchange has become the standard code used worldwide
63
New cards
two major character sets
ascii and unicode
64
New cards

uppercase and lowercase have ___ value?

different values

65
New cards
every character on the keyboard is represented by a ___
binary value
66
New cards
what system is used for negative numbers?
two's complement
67
New cards
effects of shifts
logical shifts can very quickly multiply or divide a binary number by a factor of two
68
New cards
a binary right shift of two places _
halves the number and rounds down each time
69
New cards
a binary left shift _
doubles the number