Why hexadecimal notation is preferred to octal in computing?
-
-
Answer:
Because hex "converts" without effort to binary, while octal does not! 0x3B = "3" + "B" = "0011" + "1011" => 00111011 bin. A 2 digits hex code is equivalent to one "byte" of 8 bits A 4 digits converts straight to a word of 16 bits. It is also a question of history: Unix used to have words of 3 bits, hence "octal", but hardware has changed a bit since! :-)
Maha at Yahoo! Answers Visit the source
Other answers
JR answered your question here: "A 2 digits hex code is equivalent to one "byte" of 8 bits" So it's more convenient for representing the data sizes that most computers use. But his first sentence is wrong. Octal converts to binary just as effortlessly as hex, it's just 3 bits at a time instead of 4. e.g. the octal value 7531 is in binary 111 101 011 001
oops
The standard computer word sizes are powers of 2 - 8, 16, 32, 64 bits. A hexadecimal value is a multiple of 4 bits, so it fits neatly into computer words. An octal value is a multiple of 3 bits thus does not neatly fit into computer words. Special routines are needed to handle octal values that are greater than the computer word size.
Growl
Related Q & A:
- What is cloud computing?Best solution by Server Fault
- What are the octal permissions of the directories /usr/lib?Best solution by Stack Overflow
- Where can I learn all about computing and computers?Best solution by Quora
- How do you convert an IP address to hexadecimal?Best solution by ncalculators.com
- Are preferred stocks more or less risky than convertible preferred stock?Best solution by finance.zacks.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.