SlideShare a Scribd company logo
1 of 3
Octal
• Eight digits: 0, 1, 2, 3, 4, 5, 6, 7
• Octal is base 8
• Positional numeral system
– The position of the symbol specifies the multiplier (as a power of 8)
• Counting
– Go through all the symbols in one position, increment the symbol in
the next highest position, repeat.
Octal
Octal Dec
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
Octal Dec
10 8
11 9
12 10
13 11
14 12
15 13
16 14
17 15
Octal Dec
20 16
21 17
22 18
23 19
24 20
25 21
26 22
27 23
Octal
• Number: 15678
Position 3 2 1 0
Multiplier 83 = 512 82 = 64 81 = 8 80 = 1

183
  5 82
  6 81
  7 80
 
512 320 48 7
 887

More Related Content

More from irdginfo

8 elementary sorts-selection
8 elementary sorts-selection8 elementary sorts-selection
8 elementary sorts-selectionirdginfo
 
7 searching injava-binary
7 searching injava-binary7 searching injava-binary
7 searching injava-binaryirdginfo
 
6 arrays injava
6 arrays injava6 arrays injava
6 arrays injavairdginfo
 
5 data structures-hashtable
5 data structures-hashtable5 data structures-hashtable
5 data structures-hashtableirdginfo
 
5 data structures-tree
5 data structures-tree5 data structures-tree
5 data structures-treeirdginfo
 
5 data structures-stack
5 data structures-stack5 data structures-stack
5 data structures-stackirdginfo
 
5 data structures-arraysandlinkedlist
5 data structures-arraysandlinkedlist5 data structures-arraysandlinkedlist
5 data structures-arraysandlinkedlistirdginfo
 
4 character encoding-unicode
4 character encoding-unicode4 character encoding-unicode
4 character encoding-unicodeirdginfo
 
4 character encoding-ascii
4 character encoding-ascii4 character encoding-ascii
4 character encoding-asciiirdginfo
 
4 character encoding
4 character encoding4 character encoding
4 character encodingirdginfo
 
3 number systems-floatingpoint
3 number systems-floatingpoint3 number systems-floatingpoint
3 number systems-floatingpointirdginfo
 
2 number systems-scientificnotation
2 number systems-scientificnotation2 number systems-scientificnotation
2 number systems-scientificnotationirdginfo
 
1 number systems-hex
1 number systems-hex1 number systems-hex
1 number systems-hexirdginfo
 
1 number systems-unsignedsignedintegers
1 number systems-unsignedsignedintegers1 number systems-unsignedsignedintegers
1 number systems-unsignedsignedintegersirdginfo
 
1 number systems-binary
1 number systems-binary1 number systems-binary
1 number systems-binaryirdginfo
 

More from irdginfo (15)

8 elementary sorts-selection
8 elementary sorts-selection8 elementary sorts-selection
8 elementary sorts-selection
 
7 searching injava-binary
7 searching injava-binary7 searching injava-binary
7 searching injava-binary
 
6 arrays injava
6 arrays injava6 arrays injava
6 arrays injava
 
5 data structures-hashtable
5 data structures-hashtable5 data structures-hashtable
5 data structures-hashtable
 
5 data structures-tree
5 data structures-tree5 data structures-tree
5 data structures-tree
 
5 data structures-stack
5 data structures-stack5 data structures-stack
5 data structures-stack
 
5 data structures-arraysandlinkedlist
5 data structures-arraysandlinkedlist5 data structures-arraysandlinkedlist
5 data structures-arraysandlinkedlist
 
4 character encoding-unicode
4 character encoding-unicode4 character encoding-unicode
4 character encoding-unicode
 
4 character encoding-ascii
4 character encoding-ascii4 character encoding-ascii
4 character encoding-ascii
 
4 character encoding
4 character encoding4 character encoding
4 character encoding
 
3 number systems-floatingpoint
3 number systems-floatingpoint3 number systems-floatingpoint
3 number systems-floatingpoint
 
2 number systems-scientificnotation
2 number systems-scientificnotation2 number systems-scientificnotation
2 number systems-scientificnotation
 
1 number systems-hex
1 number systems-hex1 number systems-hex
1 number systems-hex
 
1 number systems-unsignedsignedintegers
1 number systems-unsignedsignedintegers1 number systems-unsignedsignedintegers
1 number systems-unsignedsignedintegers
 
1 number systems-binary
1 number systems-binary1 number systems-binary
1 number systems-binary
 

1 number systems-octal

  • 1. Octal • Eight digits: 0, 1, 2, 3, 4, 5, 6, 7 • Octal is base 8 • Positional numeral system – The position of the symbol specifies the multiplier (as a power of 8) • Counting – Go through all the symbols in one position, increment the symbol in the next highest position, repeat.
  • 2. Octal Octal Dec 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 Octal Dec 10 8 11 9 12 10 13 11 14 12 15 13 16 14 17 15 Octal Dec 20 16 21 17 22 18 23 19 24 20 25 21 26 22 27 23
  • 3. Octal • Number: 15678 Position 3 2 1 0 Multiplier 83 = 512 82 = 64 81 = 8 80 = 1  183   5 82   6 81   7 80   512 320 48 7  887