3.3 Data Representation Flashcards

1
Q

Gigabyte (GB)

A

1000 megabytes

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

A bitmapped graphic uses a colour depth of 3 bits allowing 8 different colours to be used. How many bits are required to represent the colours if an image included 30 colours?

A

5 bits
[1 bit - 2 colours
2 bits - 4 colours
3 bits - 8 colours
4 bits - 16 colours
5 bits - 32 colours]

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

Character set

A

All data including characters are represented by binary code. These sets of characters are collections of characters that computers recognise from their binary representation

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

Byte

A

8 bits

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

Binary

A

A number base of 2

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

To divide a binary number by 2, shift the digits ONE place to the right.
To divide a binary number by 4, shift the digits TWO places to the right.

Divide 1100 by 2.

A

128 64 32 16 8 4 2 1
1 1 0 0
1 1 0
[The right-hand digits are lost when they are shifted. To check:
1100 = 12 in denary: 12/2 = 6]

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

Megabyte (MB)

A

1000 kilobytes

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

What is a binary shift?

A

Binary numbers are multiplied and divided through a process of shifting. To multiply a number all the digits move to the left. To divide a number all the digits move to the right.

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

Terabyte (TB)

A

1000 gigabytes

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

Hexadecimal

A

A number base of 16

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

Nibble

A

4 bits

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

What is the file size of an image in bytes which is 120pixels x 300 pixels and uses 8 colours? Show your working out.

A

120 x 300 = 36,000
[8 colours requires 3 bits]
36,000 x 3 = 108,000 bits.

108,000/8 = 13,500 bytes

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

ASCII (American Standard Code for Information Interchange)

A

Uses 7 bits and represent 128 different characters.The codes are order sequentially, so for example, A is 65 in decimal, B is 66, etc.

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

Unicode

A

Using extended ASCII the maximum number of 256 characters is far too small to hold every character in other languages, such as Chinese or Arabic. Unicode uses 16 bits, giving a range of over 65,000 characters and more!

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

Kilobyte (kB)

A

1000 Bytes

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

Bit

A

Smallest measure of data - 1 or 0

17
Q

Extended ASCII

A

Uses 8 bits and represents 256 different characters

18
Q

Denary (decimal)

A

A number base of 10

19
Q

To multiply a binary number by 2, shift the digits ONE place to the left.
To multiply a binary number by 4, shift the digits TWO places to the left.

Multiply 1100 by 2.

A

128 64 32 16 8 4 2 1
1 1 0 0
1 1 0 0 0
[0 is added to the space when the numbers are shifted. To check:
1100 = 12 in denary: 2 x 12 = 24]

20
Q

What is the number base of the following:
a. Denary
b. Hexadecimal
c. Binary

A

a. 10 [0,1,2,3,4,5,6,7,8,9]
b. 16 [0,1,2,3,4,5,6,7,8,9, A, B, C, D, E, F,]
c. 2 [0,1]