Data Representation Flashcards

1
Q

Distinguish between bitmap and vector graphics

A

Bitmap images are made up of pixels, and vector images are made up of points and curves

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

Describe color depth and image resolution

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

What do computers use to store and process images?

A

The computers store and process images using binary codes so that you can see them on the screen.

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

What are the two forms that an image is usually presented in?

A

Bitmap images – made of small parts called pixels.
Vector images – made using coordinates and geometry.

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

What are vector images made up of?

A

Points and curves

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

What are bitmap images made up of?

A

Pixels (units of light)

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

Each pixel in an image is made up of…

A

binary numbers

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

How do you find the size of an image?

A

Height x width

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

Image resolution can be expressed as what?

A

The number of pixels that an image contains per inch.

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

Resolution is usually measured in…

A

dots per inch (dpi)

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

Magazines often use either…

A

300 dpi or even 600 dpi.

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

What is the resolution of a 100 by 70 pixel image?

A

100 * 70 = 7000 pixels

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

What do you need to have more colors in your images

A

You need more bits

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

What does color depth describe?

A

Color depth describes the number of bits of memory that are used to store the color information about each pixel in a bitmap image.

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

What does having 2-bits per pixel mean?

A

Having 2 bits per pixel means that you can use 4 colors in your image.
00 = white
01 = black
10 = gray
11 = blue
(2^n, and n is the number of bits)

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

What’s the equation for finding bits per pixel (aka color depth)?

A

2^n, n being the number of bits

17
Q

What are two things that impact the file size?

A

Resolution and color depth

18
Q

How much does 1 KB equal to?

A

1000 bytes

19
Q

File size is normally measured in what?

20
Q

What is the file size of an image that is 800x800 pixels and has a color depth of 4 bits? Give your answer in KB.

A

Calculate the total pixels: 800800=640,000 pixels.
Calculate total bits: 640,000
4=2,560,000 bits.
Convert bits to bytes: 2,560,000 / 8 =320,000 bytes.
Convert bytes to kilobytes: 320,000 / 1000=320 KB

21
Q

What is the file size in bytes of a bitmapped graphic that is 100 * 100 pixels and has a color depth of 2 bits?

A

Calculate the total pixels: 100100=10,000 pixels.
Calculate total bits: 10,000
2=20,000 bits.
Convert bits to bytes: 20,000 / 8 =2,500 bytes.

22
Q

What does metadata mean?

A

Metadata means ‘data about data’.

23
Q

What does metadata do?

A

Metadata is added to an image file to allow the file to be saved and reproduced accurately.

24
Q

What are examples of metadata?

A

Image dimensions (e.g. width in pixels, height in pixels)
Color depth
File format – e.g. JPEG, GIF or PNG
Date and time of creation
Geographical location of creation
Details about the device used to create the image
Camera settings

25
What is the additive process?
Mixing red, green and blue colors (RGB) to project colors onto a screen
26
How do computer screens work?
Computer screens work by combining three colors. It begins with a black screen, and then colors are added using a process called “Additive process” by mixing red, green and blue colors (RGB).
27
How can different colors be shown on a screen using the additive process?
By adjusting the brightness of these lights
28
What are the numbers that are used to represent colors in computer graphics?
Numbers from 0 to 255
29
What do the colors 0-255 do in computer graphics?
They display different pixel brightnesses
30
What does it mean for the red value light to be at 0?6
The red colored pixel is completely off
31
What does it mean for the red value light to be at 255?
The red pixel is completely on
32
How many possibile values for all of the 3 primary colors are there?
There are in total of 256 possible values for each primary color, including 0. Therefore, a total of 256x256x256= 16,777,216 possible colors can be created.
33
What are the smallest and largest numbers of color bits (using 8) than can be represented by hexadecimal?
The smallest number 0 that can be represented using 8 bits is 00000000. And the largest number 255 that can be represented using 8 bits is 11111111.
34
How many possibilities are there for representing the three primary colors in 8 bits?
With 256 different possible values for three primary colors, 8 bits are needed to represent a number. Therefore, 28=2 x 2 x 2 x 2 x 2 x 2 x 2 x 2=256.
35
How many bits are required to represent 3 primary colors?
For three primary colors, 3x8=24 bits in total is required to represent a color.
36
Therefore, RGB (255, 51, 153) in binary number is...
111111110011001110011001