Data Representation Flashcards

1
Q

What is data?

A

Basic values or facts.

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

What is information?

A

Data that has been organised or processed in a useful manner

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

What is multimedia?

A

Several different types of media.

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

What is data compression?

A

Reducing the amount of space needed to store a piece of data.

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

What is bandwidth?

A

The number of bits or bytes that can be transmitted from one place to another in a given period of time.

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

What is the compression ratio?

A

The size of the compressed data divided by the size of the uncompressed data.
This should be a number between 1 and 0, and the closer it is too 0 the tighter the compression

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

What is lossless compression?

A

Data compression in which there is no loss of information.

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

What is lossy compression?

A

data compression in which there is loss of information.

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

What is analog data?

A

A continuous representation of data.

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

What is digital representation?

A

A discrete representation of data.

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

What does digitize mean?

A

The act of breaking down information into discrete pieces.

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

What does Pulse-code modulation mean?

A

Variation in a signal that jumps sharply between two extreams.

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

What does Reclock mean?

A

The act of reasserting an original digital signal before too much degeneration occurs.

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

What is overflow?

A

A situation where a calculated value can not fit into the number of digits reserved for it.

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

What is the radix point?

A

The dot that separates the whole part from the fractional part in the real number of any base?

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

What is a character set?

A

A list of the characters and the codes used to represent each one

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

What is keyword encoding?

A

Replacing a frequently used word with a single charterer.

18
Q

What does ascii stand for ?

What is Ascii?

A

Amrecian Stranded Code for Information Interchange.
Originally used 7 bits allowing for 128 different unique characters, and the eighth bit was used as a check bit which helped ensure proper transmission. However it was soon changed to use the eighth bit allowing for 256 unique characters.
The first 32 characters are not simple characters that can be printed to the screen, but are reserved for special purposes such as back space.

19
Q

What does Unicode Stand for?
What is Unicode?
Why do we have it

A

The extended verion of ASCII that uses 256 bit is enough for the English language but not enough to be used internationally. Unicode’s goal was to be able to represent every single charecter from every single language.
It uses 16-bit encoding per character but is flexible so that it can use more spaces per character if needed.
The ASCII values are a subset of Unicode, and Unicode is a super-set of ascii.- the first 256 characters are the same.

20
Q

What is keyword encoding?

A

Replacing frequently used words with a single character.
Longer words save more space as more text is reduced however the frequnelty used words text to be shorter.

Cons:

  • The character can not be part of the original text, or t would be unknown when that character appeared it would be ambiguous.
  • UpperCase and lowercase versions of the same word would have to have be represented differently.
21
Q

What is Run-Length Encoding?

A

Replacing a long series of a repeated character with a count of the repetition.
This can be very usuful for texts such as DNA in which a there would be long runs.
It works by having a flag followed by the charecter followed by the number of times it appears. IE AAAAA becomes *A5.

Cons:
-It is only worth encoding if the carecter is repeated more then 3 times as that is longer then the encoded version.

22
Q

What is Huffman encoding?

How does it work?

A

Using a variable length binary digit to represent a single character, ensuring that the most frequently used characters have the shortest codes.

An important factor of the Huffmann encoding method is that no bit string used to represent a character is a prefix for any other bit string used to represent a character. Therefore we can scan from left to right across the bit string, and when a bit pattern matches, that bit string is translated to the character.

23
Q

What is the process of huffman encoding?

A

First calculate frequency of characters if not given
Generate Huffman Tree
Calculate number of bits using frequency of characters and number of bits required to represent those characters.

24
Q

How does a stereo produce sounds that we hear?

A

A stereo produces an electrical signal to the speaker, and this is an analogue representation of the sound. This causes the speaker to then vibrate, which vibrates the air, in turn vibrating the membrane in our ear.

25
Q

What are real numbers?

A

Numbers with a whole part and a fractional part.

26
Q

What is sampling?

A

The process of perodically measuring the voltage leve of a signal and recording this as a numeric value.
To get an accurate sound we should sample at 40,000 times per second.

27
Q

What is MP3?

A

MP3 is a popular audio format, due to its strong compression ratio. It employs both lossless and lossy data compression.
It first analyses the frequencies, and discards any that are out of the human hearing range. The remaining bit stream is then compressed further using huffman encoding.

28
Q

How is color represented?

A

When representing colour, we represent as a RGB (red green blue) value, with three numbers representing the amount of each colour. The colour depth is the number of bits used to represent the colour. Hi-colour has a 16 bit colour depth, using 5 bits for each of RGB, and the extra bit sometimes used to represent transparency. True-colour uses a 24 bit colour depth so each colour is represented by 8 bits. This gives a scale from 0 to 255. So a RGB colour would look like (200, 192, 45).

29
Q

What are pixels?

A

Dots of colour in a picture.

30
Q

What is the resolution?

A

Number of pixels in an image.

31
Q

What is raphster graphics?

A

Representing a picture as a collection of pixels.

Common formatts are JPEG, PNG, GIF, Bitmaps.

32
Q

What is a Bitmap?

A

A type of raphster graphics, with true colour depth, or less to reduce file size. Suited to RLE..

33
Q

What is a GIF?

A

Tye of raphster graphics, that is made up of only 256 different colors, but each gif is made from a differnt set of colours - this is known as Indexed colour. GIFS are suited to graphics with few colors.

34
Q

What is PNG?

A

–Intended to replace GIFs
– Greater compression with wider range of color depths
– No animation

35
Q

What are JPEGS?

A
• JPEG
– Averages hues over short distances as human vision tends to blur colors together within small areas.
•  Essentially the same idea used in MP3
– Adjustable degree of compression
most suited for storing photography.
36
Q

What are vector graphics?

A

•A format that describes an image in terms of lines
and geometric shapes
•A vector graphic is a series of commands that
describe shapes using mathematical properties
(e.g. direction, length, thickness, color)
•For some types of images, the file sizes can be
smaller than with raster graphics because not
every pixel is described.

37
Q

Pros and cons of vector graphics?

A

Vector graphics can be resized mathematically
and changes can be calculated dynamically as
needed.
Vector graphics are good for line art (e.g.
diagrams) and cartoon-style drawings
Vector graphics are not good for representing
images of the real-world

38
Q

What is Codecs?

A

Refers to methods used to compress film.

Almost all Codecs use Lossy data compression to reduce the huge amount of data associated with film.

39
Q

What is temporal compression?

A

Temporal compression
A technique based on differences between
consecutive frames: If most of an image in two frames
has not changed, why should we waste space
duplicating information?

40
Q

What is spatial compression?

A

Spatial compression
A technique based on removing repetitive information
within a frame: This problem is essentially the same as
that faced when compressing still images