Topic 3-Data representation Flashcards

1
Q

What do computers use to represent all data and instructions?

A

Tiny switches called transistors and electric circuits.

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

What are binary digits?

A

Bits, a nibble is 4 bits.

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

What are hexadecimal used for?

A

They provide a human friendly representation of binary values and are quicker to write and type. It is also less likely for humans to make mistakes.

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

What are binary shifts and how can they be used?

A

They can be used for simple division and multiplication and each number that goes out is discarded.

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

What is largest number 5 bits can represent?

A

31 but it can do 32 letters.

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

Why was ASCII created?

A

To standardise communication. 7 bits so 128 characters.

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

Why was unicode created?

A

So not only the English language could be represented. Uses 4 bytes so around 138,00 characters. The first characters were the same as ASCII so old systems did not have to update.

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

What is a picture element?

A

A pixel is the smallest element in an image.

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

What is a group of pixels together called?

A

A bitmap.

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

What is resolution?

A

The total number of pixels.

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

What is colour depth?

A

A colour depth of 3 can store 8 colours for one pixel.

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

What is RGB?

A

Used to combine light for more in depth pictures. 24 bits per colour so 8 for red, 8 for green and 8 for blue. This allows 256 colours. Charlie loves RGB.

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

What are the types for bitmap images?

A

.JPG, .PNG, .BMP AND .TIFF

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

How do you calculate the file size of an image?

A

Resolution x colour depth

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

What are vector graphics?

A

Creating an image with vector coordinates(pixels can not always be seen).

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

What are the pros and cons of vector graphics?

A

+can never see pixels
+smaller file size for same image
+amazing for simple, small or large images
-terrible for realistic images

17
Q

What is analogue sound?

A

Sound waves travel through vibrations in the air.

18
Q

What is the amplitude?

A

The height of the sound wave. The higher the amplitude, the higher the sound.

19
Q

What is the pitch?

A

Closer together waves means higher pitch and frequency.

20
Q

What is an ADC?

A

Analogue to digital converter.

21
Q

What is a sample rate?

A

Number of measurements taken per second(Hz).

22
Q

What does the bit depth mean for sounds?

A

Higher bit depth means higher resolution of sound.

23
Q

How do you calculate file size for sound.

A

seconds x bit depth x sample rate

24
Q

What frequency can babies hear?

A

20-20,000.

25
Q

What protocol does facetime use?

A

Voice over internet protocol(VOIP).

26
Q

What is MIDI?

A

Digital interface for sound that is more consistent and can represent music with instructions. Notes do not fade.

27
Q

What is metadata?

A

Data about data.

28
Q

Why are files compressed?

A

To reduce download and upload speed for faster transmission and less data errors.

29
Q

What is lossy compression?

A

Removes useless information such as frequencies humans cannot hear or a shade we won’t notice. 10-2-6. File cannot be fully restored.

30
Q

What is losless compression?

A

No data is lost. Done by RLE(run length encoding) or huffman trees(not always good as huffman tree has to be sent too). 10-4-10.

31
Q

RLE example. 1101000

0011110

A

21 10 11 30

20 41 10

32
Q

What side is 0 on for huffman trees?

A

Left.