C Programming - Bitwise Operators - Discussion
Discussion Forum : Bitwise Operators - General Questions (Q.No. 1)
1.
In which numbering system can the binary number 1011011111000101 be easily converted to?
Answer: Option
Explanation:
Hexadecimal system is better, because each 4-digit binary represents one Hexadecimal digit.
Discussion:
18 comments Page 1 of 2.
Vinod said:
2 decades ago
how to hexadecimal system better then decimal system
Srinivasan said:
1 decade ago
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:
1 decade ago
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 ?
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:
1 decade ago
Question is stereotype. Convesion to octal is more easy for human but not more common for programmers
Sudhakar said:
1 decade ago
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.
Because it calculation by 4 digits. For the same example
(1011 0111 1100 0101)2 = (B7C5)16.
RajeshTN said:
1 decade ago
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:
1 decade ago
Niziak you follow the two steps first u convert into decimal and then to octal do u think this one is easy.......
Rupali said:
1 decade ago
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?
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:
1 decade ago
In hexadecimal only four letters required to represent, hence it is easy. Note, in octal it is represented with six digits ?
Madhu said:
1 decade ago
thankyou
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers