Apple interview question

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