Data Rep Flashcards

1
Q

Absolute error

A

Postive difference between the actual value and the floating point value
[Actual number - floating number]

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

Relative error

A

Absolute error divided by the actual value

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

Disadvantage of majority voting

A

volume of data being transmitted is
increased with the repetition of bits

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

Checksums

A

An algorithm is used to determine the value of a checksum based on the data being transmitted. There is no agreed algorithm for this and different systems will use their own solutions

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

Check Digit

A

a type of checksum in which only a single digit is added to the transmitted data. This reduces the number of different algorithms that could be used to calculate the value of the check digit and so reduces the variety of errors that the method can detect.

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

Digital to Analogue Conversion

A

When converting from digital to analogue, a device called a digital to analogue converter is used. The device reads a bit pattern representing an analogue signal
and outputs an analogue electrical current.

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

Analogue to digital Conversion

A

Use an analogue to digital converter to convert the analogue signal to a digital bit pattern. The device works by taking a reading of an analogue signal at regular intervals and recording the value in a process called sampling. Samples are taken at a specific frequency, which determines the number of samples taken per second. Once the value of the analogue signal has been recorded, it can be stored digitally as a bit pattern.

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

Nyquist Theorem

A

The Nyquist theorem states that the sampling rate of a digital audio file must be at least twice the frequency of the sound.

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

Musical Instrument Digital Interface (MIDI)

A

Used with electronic musical instruments
which can be connected to computers, MIDI stores sound as a series of event messages,each of which represents an event in a piece of music. These can be thought of as a series of instructions which could be used to recreate a piece of music.

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

Event messages a MIDI can store

A

-Duration of a note
-Instrument with which a note is played
-How loud a note is (Volume)

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

Advantages of using a MIDI over a sampled recording of a piece of music

A

-Allows for easy manipulation without loss of quality
-Instruments can be changed
-Notes can be changed
-Durtation of notes can be altered
-Smaller in size

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

Disadvantage of using a MIDI

A

Cant be used for storing speech
Often results in less realistic sound.

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

Two methods of lossless compression

A

-RLE
-Dictionary encoding

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

Run length encoding

A

Reduces the size of a file by removing repeated information and replacing it with one occurance of the repeated information followed by the number of times it is to be repeated.

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

Dictionary encoding

A

A dictionary containing repeated data is appended to the file. This method results is a significant reduction in size, but don’t forget that the dictionary used to compress the data has to be present in the file in order for the image to be reproduced. This will increase the size of the file.

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

Encryption

A

Process of scambling data so that it cannot be understood if intercepted in order to keep it secure during transmisson.

17
Q

Two types of caesar ciphers

A

-Shift ( All letters are shifted )
-Substitution ( Letters are randomly replaced )

18
Q

Disadvantage of caesar ciphers

A

Can be easily cracked

19
Q

Vernam cipher Method

A
  1. Aligning the characters of the plaintext and the key
  2. Converting each character to binary (using an information coding system)
  3. Applying a logical XOR operation to the two bit patterns
  4. Converting the result back to a character
20
Q

Vernam Cipher

A

Example of a one-time pad cipher. This means that each key should only ever be used once. Additionally, the Vernam cipher requires the key to be random and at least as long as the plaintext that is to be encrypted.

21
Q
A