Peripheral, hardware, software, device - part 1

Type the correct number which matches the phrase to complete the following sentences:

A) Software ____, for example, an operating system. A -- 1. include all the devices except the computer, usually used for input/output
B) Hardware _____, for example, the CPU. B -- 2. encompasses all the physical, mechanical and electrical parts of a computer
C) Peripherals ____, for example, the keyboard and mouse. C -- 3. includes all the machines, but does not include the cables
D) A device ____, for example, a printer. D -- 4. is the programs which make the computer work