← Back to list

Conversion’s in Number System… ✨

1. Decimal to Binary (Base 2)

Syed Samid Saud · 2024-10-09 11:00 · 0 claps · 0.7 min read
#number-system #decimal-numbers #binary-number #hexadecimal #octal
Open on Medium ↗

Conversion’s in Number System… ✨

1. Decimal to Binary (Base 2)

  1. Divide 45 by 2 and write down the remainders
  • 45 ÷ 2 = 22 — remainder = 1
  • 22 ÷ 2 = 11 — remainder = 0
  • 11 ÷ 2 = 5 — remainder = 1
  • 5 ÷ 2 = 2 — remainder = 1
  • 2 ÷ 2 = 1 — remainder = 0
  • 1 ÷ 2 = 0 — remainder = 1
  • 45 in binary = 101101.

2. Decimal to Octal (Base 8)

  • 45 ÷ 8 = 5 — remainder = 5
  • 5 ÷ 8 = 0 — remainder = 5
  • 45 in octal = 55.

3. Decimal to Hexadecimal (base 16)

  • 45 ÷ 16 = 2 — remainder = 13
  • 2 ÷ 16 = 0 — remainder = 2

45 in hexadecimal is = 2D.


메타데이터
post_id
aaa513274b09
slug
conversions-in-number-system-aaa513274b09
url
https://medium.com/@samidsyed1720/conversions-in-number-system-aaa513274b09
canonical_url
https://medium.com/@samidsyed1720/conversions-in-number-system-aaa513274b09
author_url
https://medium.com/@samidsyed1720
status
ok
fetched_at
2026-07-22 14:22:45