This is a quiz app to drill simple bit manipulation operations to get an inuitive understanding of how they work. It was designed to work well on mobile devices so it can be used in spare moments.
If you are unfamiliar with bitwise operations, you should read up on them some before getting started. Here are some good resources:
- n - new problem
- r,c - clear answer
- tab, alt-tab - cycle forward and backwards through answer slots
- [nums] - input answer (hints are shown below answer options when they're not obvious)
- enter - submit, continue after correct answer
Since this is designed for people new to bitwise operations, the operands are capped at 16 (2^4) to keep things simple. Also, the bitwise NOT (complement) operator uses a one's complement implementation instead of javascript's two's complement implementation since it is easier to understand. See the bitwise operator MDN article for more info on javascript's implementation.
- track given problems to prevent repeats too soon
- show answer option
- increment difficulty
- link to explanations? inline?
- toggle base 2/10 in operands and answer to make more difficult
- difficulty controls / options
MIT