NVIDIA Interview Question

calculate all 1s in a 7 bit binary number.