4.5.5 FoDR (Information coding systems) Flashcards

(15 cards)

1
Q

What is ASCII?

A

a character encoding system that uses 7 bits to represent 128 characters, including English letters, digits, and some control characters.

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

What is Unicode?

A

Unicode is a universal character encoding system that uses up to 32 bits to represent over 1.1 million characters from nearly all written languages and symbol sets.

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

Why was Unicode introduced?

A

to allow consistent encoding of characters from all languages, overcoming tHohe limitations of ASCII which could only represent English characters.

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

How is Unicode better than ASCII?

A

Unicode can represent a much wider range of characters, making it suitable for global communication and multilingual software.

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

How does parity bit checking work

A

An extra bit is added to make the total number of 1s either even (even parity) or odd (odd parity).
The receiver checks the number of 1s to see if a single-bit error occurred.

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

What are the drwabacks for parity bit checking

A

Parity can detect if an error has happened but cannot locate the error or detect multiple errors reliably.

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

How does majority voting work, and give an example

A

Each bit is repeated an odd number of times (usually three) before transmission. The receiver selects the most frequent value as the correct bit.
For example, if “110” is sent as “111 111 000”, the receiver will choose “110” because it appears most frequently.

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

What are the drawbacks of Majority Voting

A
  • it cannot detect multiple errors reliably
  • it increases the volume of data transmitted, which slows down transmission.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How do checksums work

A

A checksum is added to data to detect errors during transmission.
It’s generated by applying an algorithm (checksum function) to the data block, producing a value that is transmitted with the data.
The receiver recalculates the checksum and compares it with the transmitted value. If they don’t match, an error is detected.

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

What are the 2 main checksum methods

A

Longitudinal Parity Check (XOR method)
Sum Complement (Binary Addition method)

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

Explain how longitudinal parity check works

A

The data is divided into sets, and the XOR of each set is calculated.
The result is appended as the checksum.
The receiver XORs the received data and checksum. If the result is 0, the data is correct; if 1, there’s an error.

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

Explain how Sum complement check works

A

The sets of bits are added as unsigned binary numbers
The checksum is the two’s complement of the result.
The receiver adds the data and checksum and checks if the result is 0.
If there’s a 1 in the result, it indicates an error.

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

What are the disadvantages of the Checksum error checks

A
  • cannot identify which bit is corrupted
  • Errors in multiple bits within the same set goes undetected
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How does check digit checking work

A

Check digits are calculated using algorithms The check digit is derived from the other digits in the number. When entered, the system recalculates the check digit and compares it to the original. If they don’t match, an error has occurred.

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

What are the disadvantages of check digits

A
  • Cannot identify which digit is incorrect
  • Multiple errors can go undetected
How well did you know this?
1
Not at all
2
3
4
5
Perfectly