Binary numbers Flashcards

1
Q

How do you convert a decimal into a normalised floating point number?

A
  1. Multiply the number by positive or negative powers of 2 until it’s between -1 and 1, and record what you multiplied it by
  2. Convert the new number into decimal using -1, 2^-1, 2^-2, up to 2^-9
  3. Write the result of Step 2 in front of the result of Step 1
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the advantages and disadvantages of using fixed-point binary numbers?

A

Advantages: Processing is faster, absolute error is consistent

Disadvantages: Limited range and precision due to fixed binary point location

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

What are the advantages and disadvantages of using floating-point binary numbers?

A

Advantages: Superior range and precision due to flexibility of binary point

Disadvantages: Absolute error varies

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

How do parity bits work?

A

A parity bit, also known as a check bit, is a single bit that can be appended to a binary string. It is set to either 1 or 0 to make the total number of 1-bits either even (“even parity”) or odd (“odd parity”).

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

How does majority voting work?

A

When using majority voting, each bit of the data is transmitted multiple times. When the data is received, the most commonly occurring value is taken to be correct. The advantage of majority voting is that data can be corrected

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