3b - Coding Text Flashcards

(7 cards)

1
Q

What is a parity bit?

A

A parity bit is an extra bit added to a binary number to ensure that the total number of 1 bits is even or odd.

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

How is a parity bit used during data transmission of a single character?

A
  1. The total number of 1 bits is calculated before transmission.
  2. A 0 or 1 bit is added to the 7-bit code.
  3. The total number of 1 bits must compute to an even number.
  4. The number of 1 bits is re-calculated after received.
  5. An odd number of 1 bits indicates an error.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Why can’t an 8-bit representation of a number be stored in UNICODE?

A

UNICODE is 16-bit, so eight extra 0’s will be needed.

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

What is meant by a character code?

A

A character code uses a unique number/code to represent each different character.

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

How are alphabetic characters represented in a computer system?

A

Each character is stored as a unique code.

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

What are two differences between Unicode and ASCII?

A
  • Unicode uses more bits for each character
  • ASCII uses fewer bits for each character
  • Unicode can represent a wider range of characters
  • ASCII can represent a smaller range of characters
  • Unicode uses 16/32 bits, ASCII uses 7 bits (or 8 bits).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the key difference between lossless and lossy compression methods?

A

Lossless compression allows for full recovery of the original data, while lossy compression does not allow for recovery and degrades the data.

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