Binary Flashcards

1
Q

What are the ones and zeros called?

A

Bits

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

What is P and A?

A

Presence and Absence

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

What can bits be used to represent?

A

Numbers, words, images and sounds

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

What is the general rule with bits?

A

In general with n bits we can represent 2^n symbols

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

What are bytes?

A

A string of 8 bits (2^8)

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

How many bits are required to represent our alphabet?

A

7 bits (2^7=128)

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

What is ASCII?

A

American standard code for information interchange

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

In ASCII with 7 bit, how can you identify a lowercase letter?

A

There is a 1 on the third bit

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

How many symbols does a hexadecimal system have?

A

16

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

How many bits are required in a hexadecimal system?

A

4 bits (2^4)

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

How many bytes are in 1KB?

A

1024 (2^10) bytes

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

How many KB are in 1MB?

A

1024(2^10)KB

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

How many symbols does the denary system have?

A

10 symbols

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

How does the denary system work?

A

Each place value to the left is ten times the previous place value

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

How many symbols does the binary system have?

A

2

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

How does the binary system work?

A

Each place value to the left is two times the previous place value

17
Q

How do you show it is a Denary number?

A

Using the subscript of 10

18
Q

What’s the method for converting denary to binary?

A

Take away the highest bit and work down

19
Q

What’s the method for subtracting binary numbers?

A

If a number is borrowed to make “10” then the subtraction equals 1

20
Q

What is ten’s compliment method?

A

Subtract the smallest value from the next highest power of ten and then add the original larger value. Then ignore the first digit

21
Q

What is two’s compliment method?

A
  1. Flip every number in the second value
  2. Add 1 to get twos compliment
  3. Add twos compliment to the first number
  4. Disregard the leading number
22
Q

How do you represent negative values with twos comp?

A

Flip the digits and add 1

23
Q

How can you tell its a negative value?

A

It begins with a 1

24
Q

How do binary fractions work?

A

Its the bit to the negative power (keep halfing it)

25
What happens with decimals due to a fixed number of bits?
You are left with remainders
26
What are the limitations of fixed point?
By using integer and fractional parts of a real number its limiting
27
What is the sign of FPN?
The sign at the front of the standard form
28
What is the Mantissa of FPN?
The number in the standard form?
29
What is the Exponent of FPN?
The power of the standard form
30
How is the Exponent affected in the binary FPN?
Binary instead is used for the power eg.111=7
31
What does 1 as the sign represent in an 8 bit FPN?
-1
32
How does excess 4 notation effect three bit exponent?
Shifts it by 4 positions
33
What base is octal?
Base 8
34
What base is hexadecimal?
Base 16
35
How do you convert binary to octal?
1. Count to 7 using binary 2. Split the binary into 3 bit segments from the right 3. Count this and then multiply by the corresponding octal
36
How do you convert octal to binary?
Convert each octal into a 3 bit binary number
37
How many digits can you count to with 1 digit in hex?
15
38
How many bits are needed to count to 15?
4
39
How do you convert binary to hex?
Same as octal just use 4 bit segments instead