Data representation Flashcards

(29 cards)

1
Q

What is a bit

A

0 or 1

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

What is nibble

A

4 bits

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

What is a byte

A

8 bits

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

How many base is denary(decimal’

A

Base 10

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

How many bases is hexadecimal

A

Base 16

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

What does binary shift to the left do

A

Multiply by 2 each time

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

What does binary shift to the right do

A

Divide by 2 each time

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

What is a character set

A

A defined list of characters that are recognised and can be stored in a computer system

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

What is ascii

A

7 bits per character to Arles 128 characters

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

What is extended ascii

A

8 bits instead to allow more characters to be represented

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

What are the capital letters in ascii

A

65-90

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

What are lower case letters in ascii

A

97-122

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

What is Unicode

A

16 bits per character, enough to represents characters in most languages and emojis. Uses same code as ascii up to 127

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

What is a pixel (picture element)

A

The smallest part of an image

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

What is the image size

A

Width x height

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

What is colour depth or bit depth

A

The number of bits used to represent each pixel

17
Q

What are bitmaps made of

18
Q

how does a higher bit depth and number of pixels

A

Increases the quality of the image but also increases the file size

19
Q

What is resolution

A

The number of pixels in a defined area

20
Q

What must be done to sound to store it and why

A

Sound is analogue so must be converted into a digital form to be stored and processed

21
Q

What is a sample

A

The measure of amplitude at a point in time

22
Q

What is sampling rate

A

The number of samples taken in a second and is measured in hz

23
Q

What is the sample resolution

A

The number of bits per sample

24
Q

How to calculate file size

A

Sample rate x sample resolution x time

25
What is data compression and why is it needed
Reducing the size of a file so it can take up less space in storage, it is useful to reduce transmission time, increase space in storage. For example streaming or to send emails with data limit
26
What is lossy compression, give examples
Some data is lost during compression but can create the smallest file sizes. Used for music streaming, images, videos, etc…
27
What is lossless compression, give examples
No data is lost so quality is preserved, but less significant reduction in size. Used for text and docs.
28
How does Huffman coding work
The more times a letter is used the smalles the bit size will be to represent it
29
How can data be reduced using run length encoding, give an example
Using frequency and data pairs to compress file size. We writing 0001111000111 as - 30 41 30 30