This is one of the quizzes I use in my curriculum. I always follow quizzes up with a lab where they actually see the math in action. Here I'm checking for understanding to make sure they watched the video and understand the overall principle. Instead of just having them do the math, I try to show some real world examples in the quiz itself. After they complete the quiz, students complete a lab where they turn on multiple outputs at the same time using Binary decimal values in the robot commands on a real robot.