Representing data Flashcards

1
Q

How do you convert binary to base 10?

A

You lay out the byte under the values 128, 64, 32, 16, 8, 4, 2 & 1, and add up the values that are above a 1.

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

What are the first 5 data values?

A

byte, kilobyte, megabyte, gigabyte and terabyte.

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

How many of each value is in the next?

A

1024 (eg, 1024 megabytes in a kilobyte), except byte, which contains 8 bits.

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

What is the name of half a byte?

A

A ‘nibble’ - contains 4 bits.

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

How do you convert base 10 into binary?

A

You take away the values 128 to 1 until you have zero.

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

How do you add binary numbers?

A

Line them up one above the other. Where there is two zeros, write zero. Where there is a one, write one. Where there is two ones, write zero, carry one.

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

Say the table of nibbles (probably only a good idea to do this once)

A

0000, 0001, 0010, 0011, 0100, 0101, 0110, 0111, 1000, 1001, 1010, 1011, 1100, 1101, 1110, 1111.

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

How do you convert a byte to hexadecimal?

A

Split the byte in two and select the correct symbols from the table.

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

What is the character set of a computer?

A

All of the characters that the computer can interpret.

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

What is the difference between ASCII and Unicode?

A

ASCII only uses 7 or 8 bits, where as Unicode uses 16, meaning that Unicode provides a much larger character set.

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

What is meta data?

A

The data stored at the begging of an image or sound file that tells the computer how create the sound or image (sample rate, resolution, height/with, colour depth etc)

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

What is the color depth?

A

The amount of bits assigned to each pixel. The more bits per pixel, the more possible colors. (1 bit = two colors, 8 bit = 256 colors etc.)

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

How do you work out the amount of colors a bit depth can represent?

A

2^n (eg 16 bit = 2^16 = 65,536 colors.)

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

What is the problem when storing sound files?

A

Sounds are analog waves, computers produce digital waves.

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

What is the sample rate?

A

The interval between each sample taken to construct the sound wave.

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

What effect does reducing the sample rate have?

A

It decreases the file size, but also depletes the quality of the sound.

17
Q

What is the bit rate?

A

The amount of bit’s each sample is assigned. This means that the sample value is closer to the actual real life value.

18
Q

What is bit rate measured in?

A

Bits per second (amount of data stored for each second of sound), more commonly seen as kbits per second.

19
Q

What is the accumulator?

A

A small register in the CPU which contains the results of any current arithmetic calculation (Think back to the LMC)

20
Q

How are instructions stored?

A

Each 1 byte instruction contains an Operator and an operand. The operator refers to a operation, such as add, divide, subtract, store, etc, and the Operand represents data. (10011011 - 1001 1011 - ADD 11)

21
Q

How does the CPU execute an instruction?

A

It reads the Operator and manipulates whatever is in the accumulator accordingly.

22
Q

How does the CPU tell the difference between an Operator and an Operand?

A

It can’t. It just deals with them as it expects them to be ordered (Operator, Operand, Operator, Operand etc).