-
Course
- Core Tech
Math For Programmers
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.
What you'll learn
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.
Table of contents
- Overview | 1m 41s
- How Data is Stored | 5m 44s
- Memory, Locations and Words | 2m 40s
- How Many Unique Values can you Store? | 4m 57s
- Powers | 3m 58s
- Interpreting Bit Patterns as Boolean, Integer, or Floating Point | 4m 5s
- Mapping High Level Data Types | 6m 12s
- Demo: Characters as Integers | 3m 10s
- Summary | 58s
About the author
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.
More Courses by Simon