Typhoon1244 said:
I thought I was a pretty bright guy, but my F/O asked me a question last week that has me stumped: why is it that the last digit of any squawk can't be an "8" or a "9?"
Yeah, yeah, I know: those numbers aren't even in the transponder. But why not? Is it a technological, historical, or regulatory issue?
The transponder code is a Base 8 number, and it's based on the development of the primative system of automatically identifying friends (from foes) using radar.
Typically we deal with a Base 10 (decimal) numbering system, where there are 10 possible values for each digit in a number (0-9). Most of us are also more or less familiar with the Base 2 (binary) system where there are 2 possible values for each digit (0 & 1). You may not be aware that you are also quite versed in Base 60 and Base 24 systems - - 60 seconds make up a single minute, 60 minutes in an hour, 24 hours in a day.
What you might not realize right away is that Base 8 is a convenient shorthand for long numbers expressed in Base 2. It capitalizes on the computer-friendly, or prior to modern day computers, electronics-friendly binary numbering while using a more decimal-like naming convention.
If you'll remember back to your kindergaten days, you might recall the PLACES of digits have significance. Having a 3 in the first place means you have 3 units. The same number in the next position to the left means you have 3 TENS. The next place over is for TEN-SQUARED's, or Hundreds. And so on.
In the Base 8 system, the places have different meanings. The first place is units, the next is EIGHTS, the next is EIGHT-SQUARED's (64 in the decimal convention), and the next is EIGHT-CUBED's (decimal equivalent: 512). A significant advantage of the Base 8 system in electronics is it lends itself to convenient translation to Binary.
Here is a table that expresses the same values in Decimal, Binary, Base 8 and Base 16:
Code:
BASE BASE BASE BASE
10 2 8 16
======================================
0 0 0 0 0 0 0
1 0 0 0 1 1 1
2 0 0 1 0 2 2
3 0 0 1 1 3 3
4 0 1 0 0 4 4
5 0 1 0 1 5 5
6 0 1 1 0 6 6
7 0 1 1 1 7 7
8 1 0 0 0 10 8
9 1 0 0 1 11 9
10 1 0 1 0 12 A
11 1 0 1 1 13 B
12 1 1 0 0 14 C
13 1 1 0 1 15 D
14 1 1 1 0 16 E
15 1 1 1 1 17 F
You may notice a simple pattern, a direct comparison of Base 10 and Base 8 numbers through the number 7. Considering the simplicity of the electronic circuitry required to connect 4 ON/OFF switches (simplistic but applicable comparison), Base 8 is a logical choice for a rudimentary electronic device.
So, when you're squawking 1200, you're really squawking 1 x 512, plus 2 x 64, plus 0 X 8, plus 0 x 1...
In decimal that would be 640...
In binary that would be 0001001000000000
Decimal would be easiest for you and me to enter, Binary would be easiest for a technician to build, and Base 8 is a pleasant compromise.
Be grateful they didn't choose to use Hexidecimal (Base 16, where the values are 0-9 and A-F)!
