Binary Math Flashcards

1
Q

What is an octet?

A

8 bits = 1 Octet = 1 byte

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

How to convert a decimal into a binary number?

A

Subtract it into the 128 64 32 16 8 4 2 1 range.

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

Convert 42 into binary.

A

128 = 0 64 = 0 32 = 1 16=0 8=1 4=0 2=1 1=0 So: 00101010

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

Convert 10111011 into decimal.

A

128+0+32+16+8+0+2+1=187 IF THERE IS A 1 as the last binary digit the decimal is always ODD if a 0 then EVEN decimal.

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

What is the highest the first octet can be of an IPv4 Class C address?

A

223 as that is the maximum value for a Class C IP address.

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