How to Count (Programming for Mere Mortals Book 1)
Format: PDF / Kindle (mobi) / ePub
"Programming for Mere Mortals" is a series of books designed to introduce the concepts of programming from the ground up to a reader who has never written a line of code.
Unlike most programming books which aim to teach you a particular language or operating system, this series focuses on the core fundamentals that are common to programming any computer.
In a laid-back, conversational tone, "How to Count" introduces you to math topics that are essential to becoming a successful programmer, including:
- Numeric bases (decimal, binary, hexadecimal)
- Signed vs. unsigned numbers
- Floating point and fixed point arithmetic
This short, easily understood book will quickly get you thinking like a programmer.
Steven Frank has been a professional programmer since 1994, and co-founded the well-known Mac software company Panic, Inc.
that precision? Conclusion You’ve learned an incredible amount about computers and how they count over these pages. Give yourself a pat on the back! It’s OK if you don’t fully understand everything here on the first reading. It will make more and more sense as you continue to learn about programming, and you can always refer back here for a refresher. It may be hard for you to understand at this point what all this math has to do with what you no doubt want to accomplish: putting windows
data transfer speed, such as how fast data goes through a computer network. Units for data transfer Earlier, I talked about how it’s convenient for computers to speak binary, because 1 and 0 can easily be represented as the presence or absence of electricity on a wire. If you simplify the concept greatly, a “network” is nothing more than an electrical wire between one computer and another. Computer #1 can put electricity on the wire to transmit a “1” to Computer #2, and turn off the
not always agree on how many bits made up a byte. By talking strictly about bits, the issue became moot to the hardware engineers designing the network and was left for the programmers writing the communications code to deal with. Note that a lowercase “b” is used to indicate bits, rather than the capital “B” we use to indicate bytes. Be very careful not to mix these up, as the difference can be quite significant. In measures of data transfer speed, the unit prefixes are usually assumed to mean
31.40000000 Moved right 1 place 314.0000000 Moved right 2 places 3,140.000000 Moved right 3 places 31,400.00000 Moved right 4 places 314,000.0000 Moved right 5 places 3,140,000.000 Moved right 6 places 31,400,000.00 Moved right 7 places 314,000,000.0 Moved right 8 places 3,1400,000,000. Moved right 9 places If the exponent is negative, just move the decimal point to the left instead. Now that we’ve established what an exponent and a significand are, let’s get back to floating point.
since 1997, slowly but steadily growing from two people to over a dozen. Our humble company has won many accolades including, more than once, the coveted Apple Design Award. As for myself, I was fortunate enough to be born just a few years prior to the introduction of the Apple II, widely regarded as the first viable off-the-shelf personal computer. These were very simple computers compared to the ones we keep in our homes and offices today. I consider myself lucky to have been able to learn the