answersLogoWhite

0


Best Answer

With computers it is often bit (binary digit) patterns that matter and with octal or hexadecimal numbers it is easy to convert them to binary as each digit is represented by an exact number of binary digits (3 for octal, 4 for hexadecimal) without any waste.

Using *nix access permissions as an example, the basic permissions are split into 3 groups (Owner, Group, World), each with 3 possible permissions (Read, Write and eXecute). These are stored as a bit pattern: if set the permission is granted, if not set permission is not granted. A file with rwxr-x--x (rwx for owner, r-x for group and --x for world) is stored in binary as 111101001 which can be represented in octal easily by reading it in groups of 3 bits: 111101001 → 111 101 001 = 0751, or in hexadecimal by splitting it into groups of 4 bits: 111101001 → 1 1110 1001 = 0x1e9; but to convert it to decimal requires: 256 + 128 + 64 + 32 + 8 + 1 = 489.

Similarly, going the other way: what permissions are represented by 420?

420 to binary:
420 ÷ 2 = 210 r 0
210 ÷ 2 = 105 r 0
105 ÷ 2 = 52 r 1
52 ÷ 2 = 26 r 0
26 ÷ 2 = 13 r 0
13 ÷ 2 = 6 r 1
6 ÷ 2 = 3 r 0
3 ÷ 2 = 1 r 1
1 ÷ 2 = 0 r 1
→ 420 = 110100100 in binary = rw-r--r--

420 in octal is 0644 and in hexadecimal is 0x1a4

0644 to binary: 110 100 100 → 110100100 as before [much quicker and easier]
0x1a4 to binary: 1 1010 0100 → 110100100 again.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why are octal or hexadecimal number systems used as shortcut notations?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is binary and hexadecimal?

They are number systems based on bases of 2 and 16, respectively.


What are the advantages of hexa decimal number system?

Computers do much of their processing in binary. Hexadecimal is used as a kind of shortcut (easier to read for humans): each hexadecimal digit represents four binary digits.


Why is a hexadecimal number system called as an alpha numericnumber system?

Number systems with a base larger than ten use alphabetical characters to extend the set of "digits". The number systems are then alphanumeric.


Can the number 10 represent a hexadecimal number?

Yes, the hexadecimal number 16.


Why do you use octal and hexadecimal number system as shortcut notation?

Memory dump which are in binary numbers would have many numbers of 0s and 1s. working with these numbers would be very difficult. Hence two number system hexadecimal and octal number system is used because these numbers are inter convertible with binary numbers by the concept of bits.


What is hexadecimal number for11101011000111010 can be written in hexadecimal as?

D63A


Where is Hexadecimal commonly used?

Hexadecimal is commonly used in comoputing to represent a memory byte.


What are number systems use in computer to store data and perform calculations?

Binary number system ,which has only two digits 0 and 1.


What letter is used to represent the number 11 in hexadecimal?

The number 11, (in hexadecimal) is the letter 'b'


In the hexadecimal numbering system what represents the number 11?

The decimal number 11 is equal to the hexadecimal number B.


What is 1976 in hexadecimal?

The decimal number 1976 is represented in hexadecimal as 7B8.


What is 999910 in hexadecimal?

The value in hexadecimal of the decimal number 999910 is F41E6.