1.2.4 - Data storage Flashcards

(34 cards)

1
Q

What base system is denary?

A

Base 10
Ranges from 0-255
Uses 0,1,2,3,4,5,6,7,8,9

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

What base system is hexadecimal?

A

Base 16
Ranges from 00-FF
Uses 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F

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

What base system is binary?

A

Base 2
Ranges from 00000000–11111111
Uses 1,0

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

Why do computers use binary?

A

Binary is used to represent data because computers use transistors which store ‘on’ and ‘off’ using ‘1’ and ‘0’

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

How do you convert from denary to binary? (+vice versa)

A

Use binary headings:
128,64,32,16,8,4,2,1
(from right to left in ascending order)
Create columns and fill to make the number (+vice versa)

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

How do you add binary together?

A

Start from the rightmost column and make your way left.
eg. 1001 + 0100 = 1101

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

What is an overflow error?

A

Occurs when the binary addition succeeds the number of bits available to store the answer.

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

How do you convert denary to hexadecimal? (+ vice versa)

A

eg. 28 to hexadecimal
First convert the denary number to binary.
Which is 00011100
Then split into 2, 0001 and 1100
These two parts equal 1 and C respectively. (C=12)
Therefore 1C (hex) = 28 (denary)

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

Why might we store data with hexadecimal?

A

Useful because larger numbers can be represented with fewer digits.
(also easier to understand than binary)

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

What is a binary shift?

A

A way for computers to perform basic multiplication and division.

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

What does a left shift do?

A

Multiplies a number by 2 (x2)
eg. left shift of 2 would be a multiplication of 4.

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

What does a right shift do?

A

Divides a number by 2 (÷2)
eg. a right shift of 2 would divide a number by 4.

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

What is a character set?

A

A character set is a collection of all the characters that a computer recognises along with their binary codes.

Text is made up of characters.
Each character is assigned its own character code.

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

What are the two main character sets used?

A

ASCII
Unicode

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

How many bits does ASCII use? And how many characters can that represent?

A

7 bits.
128 characters. (2^7)

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

How many bits does Extended ASCII use? And how many characters can that represent?

A

8 bits.
256 characters. (2^8)

17
Q

How many bits does Unicode use? And how many characters can that represent?

A

Minimum of 16 bits.
Minimum of 65,536 characters.

18
Q

What are the limitations of (extended) ASCII?

A

Limited number of characters, therefore can only represent the English alphabet and some special characters.
Therefore does not include modern symbols.

19
Q

What is resolution?

A

The number of pixels an image is made up of.
Calculated by width x height of the image in pixels.

20
Q

What does higher resolution mean?

A

Better quality of image. It is clearer because more pixels are used to display the image.

21
Q

What is colour depth? (aka bit depth)

A

Number of bits stored per pixel.

22
Q

How many colours can you represent with a bit/colour depth of x? (eg. 4)

A

2^x
eg. 2^4 = 16

23
Q

What does higher colour/bit depth mean?

A

Better quality of image, because more colours can be represented, therefore more alike the original image.

24
Q

How does resolution affect file size?

A

As the resolution of an image increases, so does the file size,
because the higher the resolution, the more pixels stored in the image,
and the higher the colour depth, the more bits per pixel.

25
What is metadata?
Data about data. Metadata is additional data stored within an image/file. eg. date, location,time,resolution etc.
26
How are sound waves stored and recorded?
Sound waves are analogue. Therefore are stored digitally, using a microphone, and ADC (analog-to-digital converter). You capture the sound by measuring the height (amplitude) of the wave, known as samples, then converted into binary.
27
What is the sample rate?
The number of samples taken per second of wave in Hz. 1Hz is equal to one sample of a sound wave.
28
What is sound bit depth?
The number of bits stored per sample in a sound wave.
29
How does sample rate affect playback quality?
Higher the sample rate, the more detail, therefore better quality and accuracy to original sound.
30
How does sample rate affect the file size?
Higher the sample rate, bigger the file size.
31
How does duration affect playback quality?
Longer duration doesn't affect playback quality directly, however increases file size, therefore many the quality will decrease.
32
How does duration affect the file size?
Longer duration, therefore biggers file size.
33
How does bit depth affect playback quality?
Higher the bit depth, the bigger the range, therefore the better the quality.
34
How does bit depth affect file size?
Higher the bit depth, the more data per sample therefore a larger file size.