A scanner and a floppy disk are respectively an input device and a storage device.
A scanner is a device used to convert a physical document or image into a digital format. It works by using a light source to capture an image and then digitize it. This means that it takes information from the physical world and converts it into a form that a computer can understand and process, making it an input device.
On the other hand, a floppy disk is a type of removable storage device used to store and transfer data. It works by using magnetic storage to store data on a disk that can be easily removed and used in another computer. This means that it takes information from the computer and stores it in a physical form that can be accessed later, making it a storage device.