3.3 Fundamentals of data representation Flashcards

1
Q

What base is decimal?

A

base 10

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

What base is binary?

A

base 2

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

What base is denary?

A

base 16

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

why is hexadecimal often used in computer science

A

often used in computer science as hexadecimal can be expressed more compactly/use fewer digits than binary

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

What does b represent?

A

bit

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

What does B represent?

A

byte

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

What is a bit?

A

a bit is the fundamental unit of information

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

What is a byte?

A

a byte is a group of 8 bits

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

What is the unit for a kilobyte?

A

kB

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

What is the unit for a megabyte?

A

MB

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

What is the unit for a gigabyte?

A

GB

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

What is the unit for a terabyte?

A

TB

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

How many bytes is one kilobyte?

A

1,000 bytes

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

How many bytes is one megabyte?

A

1,000 kilobytes

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

How many bytes is one gigabyte?

A

1,000 megabytes

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

How many bytes is one terabyte?

A

1,000 gigabytes

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

Why are binary shifts used?

A

Binary shifts can be used to perform multiplication/division by powers of 2.

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

Define character set

A

A character set is the defined list of characters recognised by the computer

19
Q

Examples of character sets:

A
  • ASCII
  • Unicode
20
Q

What is “A” in ASCII?

21
Q

What is “a” in ASCII?

22
Q

What is “0” in ASCII?

23
Q

When do Unicode use the the same codes as ASCII

24
Q

What is the purpose of ASCII?

A
  • Used to represent characters in the English language
25
What is the purpose of Unicode?
- Used to represent characters across the world
26
Benefits of Unicode over ASCII
- Can represent more characters than ASCII - Can support all common characters across the world - Can represent special characters e.g. emojis
27
What is a pixel?
- Pixel is short for picture element - A pixel is a single point of an image
28
What is colour depth?
The number of bits used to represent each pixel
29
How do you calculate image size?
image size = width X height
30
How can you improve the quality of a picture?
- Increase the resolution
31
How does the number of pixel and colour depth affect the file size?
- A greater amount of pixels and colour depth leads to a greater file size
32
How do you calculate image file sizes?
- size (bits) = width X height X depth - size (bytes) = (width X height X depth) / 8
33
How is sound stored/ processed in a computer?
- Sound is in analogue form when said in a room - It is converted to digital form (by sampling) usually by a microphone
34
What is a sample?
a sample is a measure of amplitude at a point in time
35
What is sampling rate?
Sampling rate is the number of samples taken in a second and is usually measured in hertz (1 hertz = 1 sample per second)
36
What is sample resolution?
Sample resolution is the number of bits per sample
37
How do you calculate sound file sizes?
File size = sampling rate x sample resolution x seconds
38
What is resolution?
a measurement of the number of pixels
39
What is data compression?
When we take steps to reduce the size of a file
40
What types of compression are there?
- Lossy compression - Lossless compression
41
What does lossy compression do?
- Lossy compression completely removes some data - Attempts to remove data that will not be noticed - When the file is reconstructed, some data will be missing from the original file
42
What does lossless compression do?
- Lossless compression removes no data - It works by identifying and summarising patterns in the data - When the file is reconstructed, it will be identical to the original file.
43
Why use data compression?
- To use less storage - To transmit files faster - To send large files by email within the file size limits
44