Cover of Code by Charles Petzold - Business and Economics Book

From "Code"

Author: Charles Petzold
Publisher: Microsoft Press
Year: 2000
Category: Computers

🎧 Free Preview Complete

You've listened to your free 10-minute preview.
Sign up free to continue listening to the full summary.

🎧 Listen to Summary

Free 10-min Preview
0:00
Speed:
10:00 free remaining
Chapter 8: Alternatives to Ten
Key Insight 1 from this chapter

The Concept of Number Bases and the Octal System

Key Insight

Number systems are fundamentally linked to the quantity of items used for counting, such as human fingers. The prevalent decimal (base ten) system, using symbols 0-9, is favored because most humans have ten fingers. This leads to the perception that the symbol '10' inherently represents ten units. However, this value is arbitrary; if humans possessed a different number of fingers, '10' would denote a different quantity, demonstrating that the numerical representation of a value is dependent on the chosen base.

The octal (base eight) number system is introduced as an alternative, conceptualized for beings with eight counting digits (e.g., four fingers per hand). In octal, counting progresses from 0 to 7, and the number following 7 is 10EIGHT, which represents eight in decimal (8TEN). No specific symbols for 8 or 9 exist in octal. To distinguish from decimal, octal numbers can be pronounced digit by digit (e.g., 'one zero' for 10EIGHT) or denoted with a subscript, such as 12EIGHT to represent 10TEN (ten human fingers).

The structure of octal numbers involves each digit's position corresponding to a power of eight. For example, 3725EIGHT is converted to decimal by calculating (3 x 8^3) + (7 x 8^2) + (2 x 8^1) + (5 x 8^0), yielding 2005TEN. Arithmetic operations in octal, like addition and multiplication, follow similar column-based methods as decimal, but utilize base-eight specific tables. For instance, 5EIGHT + 7EIGHT = 14EIGHT, and 3EIGHT x 3EIGHT = 11EIGHT (equivalent to 9TEN). The quaternary (base four) system, where 10FOUR represents four, is also briefly presented as another example of a base-dependent system.

📚 Continue Your Learning Journey — No Payment Required

Access the complete Code summary with audio narration, key takeaways, and actionable insights from Charles Petzold.