Section 3 Chapter 14 - Bits, bytes and binary Flashcards

1
Q

Bit

A

Either a 1 or a 0

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

Byte

A

A set of eight bits

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

Nibble

A

A set of four bits

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

Kilobyte

A

1000 bytes

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

Kibibyte

A

1024 bytes

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

Symbol for megabyte

A

M

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

Symbol for mebibyte

A

Mi

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

ASCII

A

A code for representing characters. 7 bits are used to represent a total of 128 different characters.

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

ASCII “0”

A

48

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

ASCII “A”

A

65

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

ASCII “a”

A

97

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

Why ASCII cannot be used for arithmetic

A

Because the codes for the numbers characters are not equal to the numbers actual value

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

How many bits in an ASCII character

A

Originally 7 but now sometimes 8

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

Unicode

A

A code for representing all worldly characters

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

Advantage of unicode

A

Now all languages operate under one system and there is no incompatibility. All characters are represented.

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

Disadvantage of unicode

A

Each character requires 4 bytes instead of 1

17
Q

Why computers need to verify data that they recieve

A

Because bits can change during transmission due to inteference

18
Q

Parity bit

A

A bit used to check if the other transmitted bits are correct

19
Q

How parity bits work

A

They make the total number of 1s and 0s either odd or even

20
Q

Majority voting

A

Every bit is sent three times and the computer receiving decides that the majority bit is the correct one.
If there are two 1s and one 0 the receiver will interpret this as a 1

21
Q

Checksum

A

A mathematical algorithm that is applied to a packet of data. A number is generated with this algorithm and sent with the packet. The receiver then uses this same algorithm to determine the number. If the numbers don’t match then the packet must be sent again

22
Q

Check digit

A

An extra digit at the end of a series of digits used to check for mistakes in input or transmission. The digit is calculated by applying some mathematical algorithm to the packet of data it is associated with.

23
Q

How the ISBN check digit works

A

12 digits + 1 check digit
Each digit is given alternating weights of 1 and 3
These numbers are summed
The remainder when divided by 10 is taken
This number is taken away from 10
This number is the check digit

24
Q

Historical use of kilo, mega…

A

Used where kibi, mebi… should have been used

25
Q

Why unicode was introduced

A

To have a coding system that can represent all characters for every country and have different countries use compatible coding systems.

26
Q

How many bytes in a unicode character

A

2 in UTF-16

4 in UTF-32

27
Q

Disadvantage of majority voting

A

The data is sent three times