Chapter 9 Flashcards

1
Q

Define character set

A

A list of binary codes used by a computer to represent characters (eg. Text)

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

What is ASCII and what does it stand for?

A

A character set
American Standard Code for Information Interchange

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

How many unique characters could the original ASCII represent?

A

2^7 = 128

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

How many bits were used in the original ASCII?

A

7

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

What do the first 32 binary codes represent?

A

Formatting commands

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

How to convert from ASCII to character in python

A

Chr()

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

How to convert from character to ASCII?

A

Asc()

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

Why was extended ASCII created and how many bits are used?

A

8 bits because computers think in a byte and it allows for more characters. - 2^8

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

What is and why was Unicode created.

A
  • Different companies used different character sets so a universal code was needed
  • 256 codes were not enough
  • Unicode uses 4 bytes and can represent 2^32 characters
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Why was ASCII created?

A

To make a universal code so all devices could understand each other.

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

How are pictures stored digitally?

A

Stored as a bitmap - broken down into pixels. Each pixel colour is encoded into binary

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

What is colour depth?

A

The number of bits used to encode the amount of red green and blue in each pixel.

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

What is the total no of shades a colour depth can represent?

A

2^no bits

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

How to find image file size

A

File size = pixel width x pixel height x colour depth/bits

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

What is Metadata

A

Extra data about the file such as:

Resolution
Any edits
Owner
Date and time

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

Disadvantages of analogue recordings

A

Difficult to transport
Can degrade
Hard to edit + copy
Limited storage

17
Q

Advantages of digital recordings

A

Easy to transport
Does not degrade
Cheap to edit+copy
Thousands of songs can be stored in a hard drive

18
Q

How are audio files recorded?

A

sound waves amplitude was sampled thousands of times a second and encoded into binary

19
Q

How to increase quality of a audio file?

A

Increasing the sample rate - the no of samples taken per second
Increasing Bit depth - the no of bits used to represent each sample

20
Q

What is the normal sample rate?

21
Q

How to calculate an audio file size

A

Audio file size = sample rate x bit depth x no. Channels x length/seconds

22
Q

How to increase resolution of an image

A

Increase no. Pixels

23
Q

Name 2 types of compression

A

Lossy
Lossless

24
Q

Define lossy compression

A

Decreasing file size by removing data. The data is not recoverable.

25
Define Lossless compression
Reducing file size by removing redundancies
26
What are redundancies
Repeated data
27
Which type of compression do images and audio files undergo?
They are usually lossily compressed. Image - reduce colour depth or no. Pixels Audio - reduce sample rate, bit depth or no. Channels