3.2 - Bits, Bytes, Binary Flashcards

1
Q

What are the prefixes for bytes in order?

A

Kilo (kB) - 1,000
Mega (MB) - 1,000,000
Giga (GB) - 1,000,000,000
Tera (TB) - 1,000,000,000,000

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

What were the new prefixes invented in 1988 to avoid confusion with older incorrect prefixes?

A

Kibi (KiB) - 2^10 = 1024
Mebi (MiB) - 2^20 = 1,048,576
Gibi (GiB) - 2^30 = 1,073,741,824
Tebi (TiB) - 2^40 = 1,099,511,627,776

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

How many bits was ACSII?

A

7 bit character set
2^7 = 128

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

How many bits is Unicode?

A

16 / 32 bits

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

What are 4 reasons for transmission errors?

A
  • electrical interference
  • power surges
  • synchronisation problems
  • wear and tear on the cables or connectors
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What techniques are there to detects errors in transmission?

A
  • parity bits
  • majority voting
  • check digits
  • check sum
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How are parity bits used?

A

One bit is used as a ‘parity bit’
This is set to either a 1 or 0 to make the number of 1’s and 0’s even or odd
When data is transmitted the parity bit is set at the transmitting end and checked at the receiving end

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

What is majority voting?

A

If a bit is flipped erroneously, the receiver computer uses the majority rule and assumes the 2 bits that haven’t changed are correct

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

What is check digit?

A

An additional digit at the end of a string of other numbers designed to check for mistakes in input or transmission
The digit is calculated with the modulo 10 system

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

How does the modulo 10 system work for products with ISBN’s?

A

Multiply the ISBN with the weight
Add the numbers from the multiplication
Find the remainder of this divided by 10
Then minus this from 10 and this number should be the check digit

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

How do check sums work?

A

A total sum of all the bytes transmitted is calculated using an algorithm
This is often sent with the data
The receiving computer calculates the same thing and compares the number to see if they’re the same or there has been a error in transmission
Used for credit cards

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

What are ASCII and Unicode?

A

Character sets

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

What are ASCII and Unicode?

A

Character sets

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