Library books and items bought in stores are 2 different applications that make use of barcodes.
4. Although all of them could be true, this one is most acurate :)
The answer to this problem is Linux
Answer: No, because all you need is WiFi for both devices and a messaging app to do it for free like iMessage.
Explanation: Please correct me if I am wrong! :)