8525 Unit 3 Flashcards

1
Q

Why computers use binary

A

Computers only understand 2 states: power on and power off
Represented by switches

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

Bits, bytes, KB, etc

A

1 byte = 8 bits = 1 character of text
1 kB = 1000 bytes
1 MB = 1000 kB or 10^6 bytes
1 GB = 1000 MB
1 TB = 1000 GB

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

2 major character sets used today

A

ASCII - 7/8 bit
Unicode - 16/32

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

Bitmap image file formats:

A

BMP
JPG
GIF
PNG
TIFF

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

Vector image file format

A

SVG

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

What is a pixel

A

A pixel is the smallest identifiable area of an image
Each pixel is a single colour and is given a binary value with represents that colour

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

Image resolution

A

Resolution is the concentration of pixels within a specific area

The area is defined by the image width and height in pixels e.g 1920 x 1080

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

Creating an image with binary values

A

Each value represents a different colour

1 bit - 2 colours
2 bit - 4 colours
3 bit - 8 colours

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

What type of compression do images mainly use

A

Lossy

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

How does the number colours affect file size

A

An increase in the number of colours that are used in an image (the bit depth) will increase the file size

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

How does the size of the image affect file size

A

An increase in number of pixels in the image will increase the file size

If an image’s physical size is increased by making each pixel larger then there is no change in the file size

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

PBM monochrome images

A

Portable bitmap images
0 for white and 1 for black

Image dimensions are given in the first row
Image data is then given after

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

Calculating image size

A

Size in bits = width x height x colour depth

Size in bytes = width x height x colour depth / 8

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

Metadata

A

Data about data
In terms of images: colour depth, resolution, date created, author

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

Analogue to digital converters

A

Sounds converted into a digital form in order to be stored and processed by a computer

Analogue to digital—converts inputs to digital signals

Digital to audio—is used to convert digital signals to outputs

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

Sound sampling

A

Sampling rate = number of samples taken per second

Sample resolution = bit depth

Calculating sound file sizes:
File size = sampling rate x resolution x duration

17
Q

Digitised sound quality

A

Recording quality improves: the more frequently we sample the sound

Increasing the sampling rate means recording more data points—incr the bit rate improves the accuracy of each data point

18
Q

Hertz (cs)

A

How many samples per second

19
Q

Lossy compression (in terms of sound)

A

Removes sounds that we can’t easily hear or that least affect the perceived playback quality

20
Q

Lossless compression

A

Reduces the file size when compressed but do not lose any information
Lossless music file formats:
FLAC
ALAC
W MA lossless

21
Q

Lossy compression

A

Permanently loses some data—cannot be decompressed

22
Q

Lossless image compression

A

Will not lose any of the original data

23
Q

Run length encoding (RLE)

A

Uses frequency/data pairs to encore each run length of the same coloured pixel
For example:
1 = white, 0 = black
1111000000000000

Using rle:
4 1 12 0

24
Q

Lossless text compression:

An eye for an eye, a tooth for a tooth

A

Uses repeated pattern in a dictionary
Example:
An eye for an eye

An eye for an eye, a tooth for a tooth.
. 0 0000
An_ 1 0001
eye 2 0010
for 3 0011
an_ 4 0100
,_ 5 0101
a_ 6 0110
tooth 7 0111
1 2 3 4 2 5 6 7 3 6 7 0

38 characters including spaces = 38 bytes

Assuming 8 bit ASCII: 38 characters = 38 bytes

Compression: 12 numbers used—> 6 bytes (each number was a nibble)

25
Q

Why is compression good

A

download times are reduced
Data allowances go further
It is possible to transmit video and music data streams as fast as they are playing
Faster to transfer

26
Q

benefits of compression

A

Smaller fillies = fewer packets = faster transmission time:
- quicker to complete transmission
- reduces traffic over the internet

reduces download times of video, sound (including speech used for VOIP systems) and I mage files:
- streaming is also possible as the data can be sent as fast as the rate it is played

Images inside web pages appear faster
Reduces space on disk/servers