Civil Engineering Mechanical Engineering Chemical Engineering Networking Database Questions Computer Science Basic Electronics Digital Electronics Electronic Devices Circuit Simulation Electrical Enigneering Engineering Mechanics Technical Drawing

# C Programming - Bitwise Operators - Discussion

@ : Home > C Programming > Bitwise Operators > General Questions - Discussion

"Act well your part; there all honor lies."
- Alexander Pope
1.

In which numbering system can the binary number 1011011111000101 be easily converted to?

 [A]. Decimal system [B]. Hexadecimal system [C]. Octal system [D]. No need to convert

Explanation:

Hexadecimal system is better, because each 4-digit binary represents one Hexadecimal digit.

 Vinod said: (Fri, Jun 4, 2010 12:24:37 PM) how to hexadecimal system better then decimal system

 Srinivasan said: (Sun, Sep 19, 2010 11:46:43 AM) ```Binary : 1011 0111 1100 0101 Decimal(4digts): 11 7 12 5 (For Manual use) Hexadecimal : B 7 C 5``` Binary (1011011111000101) = Hexadecimal (B7C5) Here I converted binary to hexadecimal easily. Try to decimal.

 Ranjeet Jaiswal said: (Fri, Dec 17, 2010 12:12:26 AM) Binary : 1 011 011 111 000 101 Decimal(3digts) : 1 3 3 7 0 5 Octal : 1 3 3 7 0 5 Binary (1011011111000101) = Octal (133705) Here I converted binary to Octal easily. Am I right or wrong ?

 Niziak said: (Sat, Jan 1, 2011 04:32:00 PM) Question is stereotype. Convesion to octal is more easy for human but not more common for programmers

 Sudhakar said: (Tue, Sep 13, 2011 02:14:40 PM) Hello Ranjith you are right but binary to hexa-decimal is conversion is easy when comparing octal. Because it calculation by 4 digits. For the same example (1011 0111 1100 0101)2 = (B7C5)16.

 Rajeshtn said: (Mon, Oct 3, 2011 02:24:51 PM) I feel this is more of a mathematical question than a programming question. Since this is a 32 bit number, there is no need to convert at all. I feel the question is quite vague where answer could be true depending on the context in which the person who answers perceives the question

 Nayak said: (Thu, Nov 3, 2011 02:10:40 PM) Niziak you follow the two steps first u convert into decimal and then to octal do u think this one is easy.......

 Rupali said: (Sun, Jul 8, 2012 09:41:47 AM) Is this explanation correct "Hexadecimal system is better, because each 4-digit binary represents one Hexadecimal digit. ". Because, even I can say that each 3-digit binary number represents one octal digit. I can't understand how the hexadecimal is easy?why octal is hard? Can anyone can explain it?

 Cmsullad said: (Sat, Jul 28, 2012 12:31:53 PM) In hexadecimal only four letters required to represent, hence it is easy. Note, in octal it is represented with six digits ?

 Madhu said: (Wed, Aug 29, 2012 08:58:14 AM) thankyou

 Sailusha said: (Wed, Aug 29, 2012 02:53:34 PM) Please tell me how to write 15 table by using bitwise operators?