Binary to Octal & Hexadecimal Conversion in Hindi

Binary to Octal

किसी भी binary number को octal मे convert करने के लिए उस number को सबसे पहले right से left की तरफ तीन तीन की grouping करते है अगर किसी group मे सिर्फ एक या दो digit ही होते है तो उसके आगे 0 का use करके तीन digit कर दिया जाता है, इसके बाद सभी groups को decimal मे convert किया जाता है जो भी value मिलती है उन्हे left से right की तरफ लिख लिया जाता है, यही उस binary number का octal होता है।

 

Example: Convert binary number 10101 to octal 25

Group binary digits in 3s (right to left): 10101 = 010  101

Convert each group to decimal: 010 = 2,   101 = 5

After combine all decimal values (left to right): 25

So, 10101 (binary) = 25 (octal)

 

Binary to Hexa-decimal

किसी भी binary number को hexadecimal मे convert करने के लिए उस number को सबसे पहले right से left की तरफ चार चार की grouping करते है अगर किसी group मे सिर्फ एक दो या तीन digit ही होते है तो उसके आगे 0 का use करके चार digit कर दिया जाता है, इसके बाद सभी groups को decimal मे convert किया जाता है जो भी value मिलती है उन्हे left से right की तरफ लिख लिया जाता है, यही उस binary number का hexadecimal होता है।

 

Example: Convert binary number 101111 to hexadecimal

Group binary digits in 4s (right to left): 101111 = 0010  1111

Convert each group to decimal: 0010 = 2,   1111 = 15

After combine all decimal values (left to right): 2F (in hexadecimal F = 15)

So, 101111 (binary) = 2F (hexadecimal)

 

 

Add a comment...

  • All Posts
  • Artificial Intelligence
  • Computer Fundamentals
  • Computer Networks
  • Data Analytics
  • Data Science
  • DBMS
  • Deep Learning
  • Digital Electronics
  • DSA with Python
  • Excel
  • Exercise
  • Git & Github
  • Machine Learning
  • Matplotlib
  • Natural Language Processing
  • NumPy
  • Operating System
  • Pandas-s
  • Power BI
  • Python Tutorial
  • Scikit-learn
  • Seaborn
  • SQL & MySQL
computer networks

Table of Contents All Chapters 1. OSI Model      1.1. Physical Layer      1.2. Data Link Layer  ...

computer networks

Table of Contents All Chapters 1. Topology 2. Types of Topology      2.1. Point to Point Topology    ...

computer networks

Table of Contents All Chapters 1. Data Communication 2. Types of Data Communication      2.1. Simplex      2.2....

digital electronics number system

Table of Contents All Chapters 1. Logic Gate 2. AND Gate      2.1. AND Gate Truth Table 3. OR...

Edit Template

Sign up to track your learning

Login to continue your learning tracking

To reset your password, please enter your email address or username below.

Scroll to Top