Data Representation Flashcards

(25 cards)

1
Q

Explain why the Vernam cipher is a better choice.

A

Vernam cipher if implemented correctly is unbreakable / harder to crack

statistical analysis of ciphertext reveals nothing about plaintext;

More possible keys;

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

What is Caesar cipher a wrong choice

A

Caesar cipher can be easily cracked;

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

Explain the key difference between lossless and lossy compression methods.

A

lossless data compression can be reversed / The original data cannot be recovered if lossy compression has been used

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

Explain why dictionary-based compression is not very effective for compressing small amounts of text for transmission.

A

For small pieces of text there is little repetition (and so the compressed text will be similar in size to the original);

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

Describe how MIDI is used to represent digital music.

A

Music represented as sequence of MIDI duration , pitch or volume
MIDI messages are usually two or three bytes long
Bit rate is 31,250 bits per second;

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

State two advantages of using MIDI instead of sampled sound.

A

More compact representation;
No data lost about musical notes
The MIDI file can be directly output to control an instrument / a device;

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

Give two reasons why cockpit voice recorders store data using solid-state memory instead of using a traditional hard disk drive.

A

No corruption of data due to magnetic fields;

Faster write speed so more data could be recorded;

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

What is a pixel?

A

A picture element/the smallest illuminable element of a display/smallest addressable part of an image;

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

What does a resolution of 1024 × 1024 mean?

A

Display is made up of 1024 pixels wide/ and 1024 pixels high

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

How many colours can this computer system display?

A

256;

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

Explain why the amount of storage space taken up by the vector graphics representation of the image is significantly smaller than the space taken up by the bitmap representation.

A

Bitmap images store the colour of each pixel
images can contain lots of pixels;
It takes only a small amount of memory to store the properties of an object;
(Large) images can be composed of relatively few objects

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

What is meant by the resolution of a bitmapped graphic image?

A

number of pixels per cm

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

What is meant by the colour depth of a bitmapped graphic image?

A

The number of bits used to represent (the colour / greyscale value);

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

An image has 10 x 10 pixels. It is stored in an image format that is limited to 16 colours.
Calculate the image size in bytes.

A

1010;4÷8

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

Instead of using bitmapped graphics, images may be represented in a computer’s main memory using vector graphics.

State one advantage bit map compared to vector graphics

A

Does not deteriorate , bested used for photogrraphs

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

Give one advantage of vector graphics over bit-mapped graphics.

A

Can take up much less (memory) space
Image is more accurate; smooth edges

17
Q

What is an even parity and an odd parity bit

A

in even the total number of 1s in
the transmitted data even.
in odd the total number of 1s in
the transmitted data odd.

. If the value of the received parity bit
conforms to the type of parity (odd or even) in use, then the received data is treated as
correct. Otherwise, the computer will request that the sender re-transmits the data.

18
Q

What is majority voting , advanage and disadvantage

A

each bit of the data is transmitted multiple times. When the
data is received, the most commonly occurring value is taken to be correct.

+ majority voting doesn’t just detect the error but also corrects the error, meaning no need for retransmission

  • volume of data being transmitted is
    increased with the repetition of bits.
19
Q

What is an ascii code and a uni code and what is the difference

A

ASCII makes use of 7 bits to represent 128 2^7 different characters
including A to Z, a to z, 0 to 9 and various symbols.
Unicode was introduced in 1991 to allow the representation of a wide variety of alphabets
by computers. The standard uses anywhere from 8 to 48 bits (1 to 6 bytes) per character,
allowing it to represent a much wider range of different characters than ASCII.

20
Q

What is a parity bit checker advnatgae and disadvantage

A

A parity bit is a single bit added to a transmission that can be used to check for errors in the transmitted data.
+ Can detect error only if an odd
number of bits are changed.
- Whether using odd or even parity, if an even number of bits are changed during transmission, the error is not detected.

21
Q

What is check sum advantage and disadvantage

A

An algorithm is used to determine the value of a checksum based on the data being transmitted. A simple algorithm that could be applied is the modulo function,Once received, the recipient can remove the checksum and apply the same algorithm as
was used when sending the data to ensure that the checksum matches the transmitted
data. If the two do not match, the recipient cannot correct the error itself so must request
that the sender re-transmits the data.

22
Q

What is check digit , advanatge and disadvanatge

A

nly a single digit is added to the transmitted
data. This reduces the number of different algorithms

23
Q

disadvantage of midi

A

cannot be used for storing speeech

24
Q

What is RLE

A

nly a single digit is added to the transmitted
data. This reduces the number of different algorithm

25
Can verman cipher be cracked
All ciphers can be crackable but not within reasonable time fram