If we convert binary 10 to decimal, we get: 1 * 2 1 + 0 * 2 0 = 1 * 2 + 0 = 2. Since it is a base-2 system, it has only 2 digits, 0 and 1. This is a binary joke binary being a base-2 system. Those who understand binary and those who don’t. There are 10 types of people in this world. When you get to a number higher than 7, you also add another column, so you count like 6, 7, 10, 11, 12, and so on.Ģ. A base-8 system means it has 8 digits (0, 1, 2, 3, 4, 5, 6, and 7). Octal (from the Latin root oct- meaning eight) is a base-8 number system commonly used in programming. When you get to a number that is higher than the highest digit, you add another column to the left, so you count like 8, 9, 10, 11, 12, and so on. That means a base-10 number system 10 digits (0, 1, 2, 3, 4, 5, 6, 7, 8, and 9) and is where it gets its name from (decimal, from Latin decimus, means tenth). A number system has as many digits as its base number. The joke here is that Octal 31 (which abbreviated looks like October 31 st, Halloween) is equal to Decimal 25 (which abbreviated looks like December 25 th, Christmas).ĭecimal and octal are two number systems with different bases.ĭecimal is the base-10 number system that everyone is familiar with. Why do programmers always mix up Halloween and Christmas? Because Oct 31 = Dec 25. (UPDATE, binary jokes are now my favorite.) 1. He was kind enough to explain the punchlines of the following programmer jokes, for those of us who are dazed and confused. Not a programmer? Thanks to our very own Development Manager, Christian, you can be in on the jokes, too. Ahhhh.programmer humor! Hilarious to coders and completely baffling to the rest of us.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |