Coding Text Flashcards

(13 cards)

1
Q

What is a spare bit used for?

A

Either a parity bit or to give an extra 128 characters.

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

What is ASCII?

A

A 7 bit encoding system, each character represented by a unique number.

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

What is Unicode?

A

Unicode is a 8,16 or 32 bits system which represents a wider range of characters.

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

What are two advantages of Unicode?

A

-Universal standard for character encoding
-Supports many languages

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

What are two disadvantages of Unicode?

A

-Unicode uses more space and memory.
-More bits are needed for non ASCII characters

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

What is a parity bit?

A

A bit used for error detection, and computers use either odd or even parity and data checked at both sending and receiving ends.

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

Using odd parity what 8 bit of code is sent for 00110000?

A

100110000

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

Explain how even parity works

A

The even parity system is sent a code where it ensures if there is an even number of 1s, if even parity bit is 0 else if odd parity set to 1. Once receiver receives transmission it counts 1s, if it is even data accepted else transmission sent again.

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

Explain how odd parity works

A

The odd parity system is sent a code to which it ensures there is an even number of 1s. If it is even the parity is set to 1 else if odd parity set to 0. Once reciever recieves transmission it counts 1s if odd it is accepted otherwise transmission is sent again.

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

What is Majority Voting?

A

1) Each bit is transmitted 3 times
2) If set of 3 doesn’t have the same values majority voting will show and correct errors.E.g 010-1 is the error therefore transmission should be 000 according to majority vote.

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

What are disadvantages of Majority voting?

A

Not 100% foolproof and less efficient

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

What are majority voting advantages?

A

It identifies and corrects the errors

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

What is Check digit?

A

A digit is added to end of data to check if data is accurate. Check digits used with barcodes and books.

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