Data Representation Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Arithmetic shifts
Multiplying

A

To multiply by two, all digits shift one place to the left

To multiply by four, all digits shift two places to the left

To multiply by eight, all digits shift three places to the left

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Arithmetic shift
Dividing

A

to divide by two, all digits shift one place to the right
to divide by four, all digits shift two places to the right
to divide by eight, all digits shift three places to the right

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Colour depth?

A

The number of bits determines the range of colours. This is known as an image’s
colour depth.

To add colour, more bits are required for each pixel.

For example, using a colour depth of two - two bits per pixel - would allow four possible colours such as:
11 - white
10 - light grey
01 - dark grey
00 - black

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is Bit colouration

A

Each extra bit squares the range of colours that are available:
1 bit per pixel (0 or 1) - 2 possible colours
2 bits per pixel (00 to 11) - 4 possible colours
3 bits per pixel (000 to 111) - 8 possible colours
4 bits per pixel (0000 to 1111) - 16 possible colours
8 bits per pixel (00000000 to 11111111) – 256 possible colours
16 bits per pixel (0000000000000000 to 1111111111111111) - 65,536 possible colours

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Image colour depth

A

The more colours an image requires, the more bits per pixel are needed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Image file size calculation

A

The image height in pixels.
The image width in pixels.
The colour depth per pixel.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Image file size calculation example

A

Example - an image of height 200, width 400, colour depth 16 bits
200 × 400 = 80,000
80,000 × 16 = 1,280,000 bits
1,280,000 bits ÷ 8 = 160,000 bytes
160,000 ÷ 1000 = 160 kilobytes
Result: 160KB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Resolution

A

The resolution of a bitmap image is a way of describing how tightly packed the pixels are.

In a low-resolution image, the pixels are larger and, therefore, fewer are needed to fill the space. This results in images that look blocky or pixelated.

An image with a high resolution has more pixels, so it looks a lot better when it is enlarged or stretched. The higher the resolution of an image, the larger its file size will be.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is metadata?

A

Data about data, eg photo image files have data about where the photo was taken and which camera took the picture.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What data does metadata include?

A

file type
date created
author.

The height and width of the image - this defines how many rows and columns the pixels are to be arranged in.
The resolution.
The colour depth,

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Describe the process of sound sampling

A

Sampling is a method of converting an analogue sound signal into a digital signal

• At specific intervals a measurement of the amplitude of the signal is taken .
measures the level of sound many times per second

Sample rate is the number of times each second that each of those time slices, or samples,
are recorded.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the three factors affecting sound?

A

Sample rate
Bit depth
Bit rate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is sample rate?

A

Sample rate is the number of samples recorded in any given period of time.

The higher the sample rate, the closer the recorded signal is to the original.

Sample rate is measured in
hertz (Hz).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is bit depth?

A

refers to the number of bits used to record each sample.

Just as with images, the higher the bit depth, the more accurately a sound can be recorded, but the larger the file size.

Typical bit depths are 16 bit and 24 bit.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is bit rate?

A

measure of how much data is processed for each second of sound.

Sample rate × bit depth

As with sample rate, the higher the bit rate, the better the quality of the recorded sound.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What data can metadata hold for a sound file?

A

track number
bit rate
sampling rate

17
Q

How are sound samples stored?

A

The amplitude of each sound sample is converted into the equivalent binary number
• The whole collection of data (binary numbers) is then stored in a digital file.