Concept: A device that can both send data into a computer and receive data from it is both an input and an output device.Explanation:A microphone is an input device only.A printer is an output device only.A speaker is an output device only.A modem (written here as "modern") can both send and receive data, so it acts as both an input and an output device.Answer: B. modem (modern)