Apple Interview Question

1. How is a floating value stored? 2. difference between mutex and semaphore