Chapter 1-4 Flashcards
1
Q
How many postive number can N bits represent
A
2^n - 1
2
Q
How many numbers can we represent with sign magnitude
A
2^N -1
3
Q
Decimal > any base
A
Divide by base wanted
Find remainder (base x decimal )
Continue until 0
Remainders from bottom to top is answer
4
Q
Binary to decimal
A
Write top to bottom
X2^0 up from decimal or x 2 ^-1 under decimal
5
Q
Binary to hex
A
Groups of 4, w leading zero
6
Q
Binary > octal
A
Groups of 3 leading zeros