Results 1 to 9 of 9

Thread: convert it to binary and octal every one help me

  1. #1
    aqigee is offline Senior Member+
    Last Online
    2nd January 2024 @ 12:58 AM
    Join Date
    23 Sep 2012
    Location
    Bahawalpur
    Age
    30
    Gender
    Male
    Posts
    279
    Threads
    27
    Credits
    1,174
    Thanked
    12

    Default convert it to binary and octal every one help me

    slam all ITD members

    plz help me

    iss no ko hexadecimal se binary or octal ma convert krna ha

    Plz solve kren or method b btyaen kis trh krna

    (0.5A3F2B)16

    (?)2 or (?)8

    Note

    plz wohi log solve kren jo jantay jain k point wali value to kesay convert krna ha

    Simple to wesay b ho jati hain

  2. #2
    aqigee is offline Senior Member+
    Last Online
    2nd January 2024 @ 12:58 AM
    Join Date
    23 Sep 2012
    Location
    Bahawalpur
    Age
    30
    Gender
    Male
    Posts
    279
    Threads
    27
    Credits
    1,174
    Thanked
    12

    Default

    kya yahan koi b aesa ni ha jisko no conversion ati ho????

  3. #3
    Join Date
    22 Oct 2009
    Location
    ~*Dream*World*~
    Gender
    Male
    Posts
    21,935
    Threads
    299
    Credits
    1,349
    Thanked
    1701

    Default

    moved from c++
    ~* W@R T!ll D3@t|-| *~
    ~* I'll Win Not Immediately But Definitely *~

  4. #4
    moon_6432000's Avatar
    moon_6432000 is offline Senior Member+
    Last Online
    1st January 2024 @ 08:06 AM
    Join Date
    18 Jul 2008
    Location
    Kamra, Attock
    Age
    38
    Gender
    Male
    Posts
    530
    Threads
    13
    Credits
    129
    Thanked
    25

    Default

    Binary k 4 digits 1 Hex digit k equal hota hae.

    Binary 0000 . 0101 1010 0011 1111 0010 1011
    HEX Value 0 . 5 A 3 F 2 B

    Decimal 0 . 352526366710663
    Last edited by moon_6432000; 5th June 2013 at 02:37 PM.

  5. #5
    aqigee is offline Senior Member+
    Last Online
    2nd January 2024 @ 12:58 AM
    Join Date
    23 Sep 2012
    Location
    Bahawalpur
    Age
    30
    Gender
    Male
    Posts
    279
    Threads
    27
    Credits
    1,174
    Thanked
    12

    Default

    binary to smjh aa gye

    decimal ka ni pta chla
    Kesay convert jya

  6. #6
    moon_6432000's Avatar
    moon_6432000 is offline Senior Member+
    Last Online
    1st January 2024 @ 08:06 AM
    Join Date
    18 Jul 2008
    Location
    Kamra, Attock
    Age
    38
    Gender
    Male
    Posts
    530
    Threads
    13
    Credits
    129
    Thanked
    25

    Default

    man try karta hon app ko tafseel se samjane ki.

  7. #7
    Sahil_Jaan's Avatar
    Sahil_Jaan is offline V.I.P
    Last Online
    13th April 2024 @ 08:40 PM
    Join Date
    05 Jan 2008
    Gender
    Male
    Posts
    14,710
    Threads
    673
    Credits
    11,234
    Thanked
    1925

    Default

    converting Binary to octal
    Second Method

    Binary may be converted to and from hexadecimal somewhat more easily. This is because the radix of the hexadecimal system (16) is a power of the radix of the binary system (2). More specifically, 16 = 24, so it takes four digits of binary to represent one digit of hexadecimal.

    The following table shows each hexadecimal digit along with the equivalent decimal value and four-digit binary sequence:
    Hex Dec Binary
    0 0 0000
    1 1 0001
    2 2 0010
    3 3 0011
    Hex Dec Binary
    4 4 0100
    5 5 0101
    6 6 0110
    7 7 0111
    Hex Dec Binary
    8 8 1000
    9 9 1001
    A 10 1010
    B 11 1011
    Hex Dec Binary
    C 12 1100
    D 13 1101
    E 14 1110
    F 15 1111

    To convert a binary number into its hexadecimal equivalent, divide it into groups of four bits. If the number of bits isn't a multiple of four, simply insert extra 0 bits at the left (called padding). For example:

    10100102 = 0101 0010 grouped with padding = 5216
    110111012 = 1101 1101 grouped = DD16
    Binary is also easily converted to the octal numeral system, since octal uses a radix of 8, which is a power of two (namely, 23, so it takes exactly three binary digits to represent an octal digit). The correspondence between octal and binary numerals is the same as for the first eight digits of hexadecimal in the table above. Binary 000 is equivalent to the octal digit 0, binary 111 is equivalent to octal 7, and so forth.

    Octal Binary
    0 000
    1 001
    2 010
    3 011
    4 100
    5 101
    6 110
    7 111
    from binary to octal:

    1011002 = 101 1002 grouped = 548
    100112 = 010 0112 grouped with padding = 238

  8. #8
    moon_6432000's Avatar
    moon_6432000 is offline Senior Member+
    Last Online
    1st January 2024 @ 08:06 AM
    Join Date
    18 Jul 2008
    Location
    Kamra, Attock
    Age
    38
    Gender
    Male
    Posts
    530
    Threads
    13
    Credits
    129
    Thanked
    25

    Default

    Plz is ko check karo. Hex to decimal kese convert hota hae
    Name:  Hex to Decimal.JPG
Views: 86
Size:  25.9 KB

  9. #9
    aqigee is offline Senior Member+
    Last Online
    2nd January 2024 @ 12:58 AM
    Join Date
    23 Sep 2012
    Location
    Bahawalpur
    Age
    30
    Gender
    Male
    Posts
    279
    Threads
    27
    Credits
    1,174
    Thanked
    12

    Default

    thanks dear smjh aa gye

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •