Data Flashcards

1
Q

What numbers are used in the binary system and what states do they represent?

A

1 (on) and 0 (off)

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

In the denary system the place value increases by powers of 10. What powers do the binary place values increase by?

A

Powers of 2

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

What are binary codes used to represent?

A

Data and program instructions. Coded program instructions that are written by a programmer in a programming language ( eg: python) are converted into binary by a translator so that the computer can understand and execute them.

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

How does a computer tell the difference between a set of data and a set of program instructions?

A

There are different encoding formats for videos, audio, images and character sets. This means that the computer knows what it is storing. (Look at this on BBC bitesize.)

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

How many bits are in a byte?

A

8

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

What are the place values that are used to represent a byte of data?

A

1, 2, 4, 8, 16, 32, 64 and 128.

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

What is a nibble of data?

A

Half a byte (4 bits)

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

How do you convert a number from binary to denary?

A

Add together all the place values of the columns with a 1 in.

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

How do you convert a positive number to its negative equivalent in two’s compliment?

A

Flip all the bits except the smallest one. Eg: 0011 becomes 1101 in two’s compliment.

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

What are the two methods of representing negative numbers? Describe them.

A

In two’s compliment the most significant bit (the bit that is furthest to the left) becomes negative. Eg: in a nibble of data 8 becomes -8. In sign and magnitude the most significant bit column becomes a + or - sign. A 1 in that column means that the number is negative and a 0 means that the number is positive.

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

What are the problems with sign and magnitude?

A

There are two ways to represent zero. ( 11111111 and 10000000)
The range of values that it can represent is smaller than two’s compliment.
Addition doesn’t always work.

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

How are binary numbers converted into hexadecimal?

A

Split the binary number in half then use the place values to convert each half into denary. Convert each denary number into a hexadecimal value.

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

How are hexadecimal numbers converted into binary?

A

Each hexadecimal value is converted into denary. Each denary number is converted into a nibble. The nibbles are combined to give the binary number.

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

Why is hexadecimal used?

A

It is easier for humans to use hexadecimal instead of long strings of binary digits.

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

What is lossy compression and what is it used for?

A

It reduces file sizes by deleting some data. The file has been irreversibly changed so the original file cannot be restored. In audio files very small differences in tone, frequency and volume are removed. In image files algorithms find areas where there are only slight differences. These areas are given the same value and the file is rewritten using fewer bits. Lossy compression is used for MP3 audio files and JPG image files.

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

What is lossless compression and what is it used for?

A

Lossless compression reduces the size of a file without deleting any data so the file can be restored to the way it was originally. It looks for identical pieces of data and groups them into one reference. Lossless compression is used for GIF and PNG image files and free lossless audio files.

17
Q

Why do we need compression?

A

Less storage space is needed.
Transfer speed is quicker
Smaller files reduce congestion on the internet.