This course covers the maths behind how your computer stores and manipulates data. You'll learn how to read binary and hexadecimal, how both integers and floating point numbers are stored and the limitations of using them. Advice on best practices and how to work effectively with boolean values and bitwise operators.
Have you ever wondered exactly why displaying the contents of memory often gives strange-looking numbers like 0x38FF that contain letters? Or puzzled over a time when your code added two floating point numbers but the result wasn't quite correct? If so, then this is the course for you. It aims to teach you the mathematics behind how computers store and manipulate numbers and booleans. You'll learn, amongst other things, how to read binary and hexadecimal numbers, and why floating point numbers are almost always stored with small errors and how to estimate how big those errors are. You'll find out how to simplify complex logical expressions, or how to use logical operators and bitwise flags to very efficiently store and manipulate sets of true/false properties. The course also features lots of advice on best practices for working with numerical and boolean data. Underpinning all this, you'll learn how to see your data the way a computer sees it. And that, when your job involves writing or debugging code that manipulates millions of bytes of data, is a very useful skill to have.
Simon is a senior developer with over 20 years programming experience, particularly covering C++ and the .NET Framework. He believes knowledge is to be shared and has written or co-written more than a dozen books for professional programmers.