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.
Course info
Rating
(414)
Level
Intermediate
Updated
August 26, 2013
Duration
5h 16m
Table of contents
Types of Data
33m 25s
Integers
58m 15s
Description
Course info
Rating
(414)
Level
Intermediate
Updated
August 26, 2013
Duration
5h 16m
Description

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.

About the author
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 from the author
C# Concurrent Collections
Advanced
3h 32m
15 May 2015
C# Equality and Comparisons
Intermediate
4h 51m
10 Sep 2014
C# Collections Fundamentals
Intermediate
5h 56m
8 Apr 2014