Number bases Flashcards
1
Q
What are the steps to add numbers in a different base?
A
- Align the numbers by their least significant digits (rightmost digits).
- Add digits starting from the rightmost column.
- Carry over to the next column if the sum exceeds the base.
- Repeat for each column until you reach the leftmost digits.
2
Q
What are the steps to subtract numbers in a different base?
A
- Align the numbers by their least significant digits.
- Subtract digits starting from the rightmost column.
- Borrow from the next column if needed.
- Repeat for each column until you finish.
3
Q
How do you multiply numbers in a different base?
A
- Multiply each digit of the second number by each digit of the first number.
- Write down partial products, shifted according to their position.
- Add the partial products using the addition method in that base.
4
Q
How do you divide numbers in a different base?
A
- Divide the digits of the dividend by the divisor, starting from the left.
- Write down the quotient for each step.
- Subtract the product of the divisor and the current quotient from the dividend.
- Bring down the next digit and repeat until done.
5
Q
What are the steps to convert a number from one base to another?
A
- Convert to Base 10: Multiply each digit by the base raised to the power of its position, then sum all these products.
- Convert from Base 10: Divide the base 10 number by the new base, record the remainder, repeat with the quotient until it’s zero, and read the remainders in reverse order.
5
Q
How do you convert fractional parts from one base to another?
A
- Convert the whole number part as usual.
- Multiply the fractional part by the new base.
- Record the integer part and use the fractional part for the next multiplication.
- Repeat until the fraction is zero or reaches a repeating pattern.