1 Data Representation Flashcards

1
Q

How and why do computers use binary?

A

Components that process data in a computer are made up of very small logic gates which cannot process analogue data.

Any denary values have to be converted into binary for the computer to process them.

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

Why is hexadecimal used as a beneficial method of data representation?

A
  • Shorter way of representing binary
  • easier to read, write and understand
  • easier to debug and locate errors in data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How is text converted to binary?

A

2 main types of character sets can be used by a computer: ASCII and Unicode

ASCII can represent upto 256 characters.

Unicode can represent approximately 65,000. This means many more characerts can be developed in different alphabets and also symbols and emojis can be used.

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

How is sound converted to binary?

A

A sound wave is sampled for sound to be converted to binary, which is processed by a computer.

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

What is the sample rate?

A

the number of samples taken in a second

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

What is the sample resolution?

A

number of bits per sample

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

What is the impact of increasing sampling rate and sampling resolution?

A

Increase in accuracy of recording and file size increase.

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

How are images converted to binary?

A

An image is a series of pixels that are converted to binary, which is processed by the computer.

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

What is the image resolution?

A

the number of pixels in the image

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

What is the colour depth?

A

the number of bits used to represent each colour

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

What impact will increase the image resolution and colour depth have on file size and quality?

A

Quality will increase and so will file size.

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

Convert into bits:
bit
nibble
byte
KiB
MiB
GiB
TiB
PiB
EiB

A

bit- 1 bit
nibble- 4 bits
byte- 8 bits
KiB- 1024 bytes
MiB- 1024 KiB
GiB- 1024 MiB
TiB- 1024 GiB
PiB- 1024 TiB
EiB- 1024 PiB

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

How do you measure the file size of an image?

A

Resolution(height and width) X Colour Depth X Number of Images in file

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

How do you measure the file size of a sound file?

A

Length X Sample Rate X Sample Resolution

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

What are the benefits of file compression?

A

Compression exists to reduce the size of a file.

The benefits of this are:
* less bandwith required
* less storage space required
* shorter transmission time.

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

What is lossy compression and how are files compressed using lossy?

A

Lossy compression is a method that reduces the size of a file by permenantly removing data.

Unneccassary data in an image or file such as undistinguishable colours by the human eye or sounds that cannot be heard by the human ear are removed.

17
Q

What is lossless compression and how are files compressed using lossless?

A

It reduces the file size without permanent loss of data.
It finds repeating data in a file and groups it together.
Another method of this is Run-Length Encoding