Today, we continued from last class and learned how to convert bases
Homework:
1. Turn 1111010(binary) into octal
2. Turn 846(octal) to decimal
3. Set X to a number in binary which satisfies the following equation:
62(octal) + X - 83(decimal) = E4(hex)
Homework Answers: 1. 172(octal) 2. Null(8 in octal, can't be converted) This should teach you to not copy-paste the top comment's answer 3. 100000101(binary)
1.172 (Octal)
2.null (This is unconvertable because the highest digit in octal is 7, while this number contains an 8. Though if it is 846 decimal to octal then it is 1516, and if it is 746 decimal to octal then it is 486.)
3.100000110 (Binary)
172 base 8
550 base 10
100000101 binary
172 base 8
550 base 10
100000101 base 2
172
550
10000101
172 (base 8)
550 (base 10)
100000101 (binary)
172 (octal )
550(base 10)
100000101 (binary)
If you still haven't joined the LoL discord server yet, here's the link to it. I highly suggest joining it https://discord.gg/5eMEjavX