Data representation Flashcards

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

what does the mantissa store

A

The precision of the number

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

how are bit mapped photos stored

A

in binary each pixel in a 2d grid the Number of bits per pixel depends on the number of colours in the image

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

what is 11101011

A

232

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

what is 127 in binary code

A

01111111

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

what does the exponent store

A

the range of the number

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

if you had the number 6.0968796876897 x 10 to the power of 17 what would the exponent be

A

17

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

if you had the 6.0968796876897 x 10 to the power of 17 what would the mantissa be

A

6.0968796876897

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

Describe how extended ASCII code (8-bit) is used to represent characters.

A

Each character is given an 8-bit ASCII Code.

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

how do vector graphic photos store pictures

A

Vector graphics store a picture by storing each objects attribute

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

how is a rectangle stored using vector graphics

A

height, width, x, y, fill colour, line colour

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

how is an ellipse stored using vector graphics

A

cx, cy, rx, ry, fill colour, line colour

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

how is a line stored using vector graphics

A

x1, y1, x2, y2, line colour

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

how is a polygon stored using vector graphics

A

x1, y1, x2, y2, x3, y3, fill colour, line colour

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

how are bit mapped photos stored

A

in binary each pixel in a 2d grid the Number of bits per pixel depends on the number of colours in the image

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