πŸ’‘ Activity – Solutions

πŸ’‘ Activity – Solutions


1️⃣ Octal β†’ Decimal

  • a) 100β‚ˆ = 64₁₀
  • b) 512β‚ˆ = 330₁₀

2️⃣ Decimal β†’ Octal

  • a) 64₁₀ = 100β‚ˆ
  • b) 330₁₀ = 512β‚ˆ

3️⃣ Octal β†’ Binary (direct)

  • a) 100β‚ˆ β†’ 1|0|0 β†’ 001 000 000 β†’ 0100 0000β‚‚ (padded to a full byte)
  • b) 512β‚ˆ β†’ 5|1|2 β†’ 101 001 010 β†’ 0001 0100 1010β‚‚ (padded to 12 bits)

4️⃣ Binary β†’ Octal (direct)

  • a) 0100 0000β‚‚ β†’ group 010|000|000 β†’ 4 0 0 β†’ 100β‚ˆ
  • b) 0001 0100 1010β‚‚ β†’ group 000|101|001|010 β†’ 0 5 1 2 β†’ 512β‚ˆ (drop leading 0) 


Complete and Continue  
Discussion

6 comments