Binary + Hex Bases (P1) Flashcards

1
Q

What base is binary, and what does this mean for when we say how many integers can be represented in a piece of binary?

A

Binary is base 2. This means for example, if we look at a byte (which is 8 bits), we would know that we can represent 2^8 integers in this byte.

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

What base is hex, and what does this mean for when we say how many integers can be represented in a piece of hex?

A

Base 16, same shi with binary but now the base is 16

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