All courses / Data Structures and Algorithms for Game Devs / Bits and bytes
Predict the output: binary and hex
Predict lesson, about 10 min, +15 XP
A debugger, a hex editor and a color picker all show you numbers in base 2 or base 16, and none of them explains what it shows. Converting in your head, quickly and without mistakes, is a skill that grows with practice. Here are five short programs to work out on paper before you check.
Keep these two rows in front of you:
Read the rest of this lesson and run the code in your browser.