Which device can be used to store charge?

Transistor
Diode
Capacitor
Resistor

The correct answer is C. Capacitor.

A capacitor is an electronic component that stores electrical energy in an electric field. It is made up of two conductive plates separated by an insulator. When a voltage is applied to the capacitor, an electric field is created between the plates. This electric field stores the charge.

A transistor is a semiconductor device used to amplify and switch electronic signals and electrical power. It is composed of semiconductor material with at least three terminals for connection to an external circuit. A voltage or current applied to one pair of the transistor’s terminals changes the current through another pair of terminals. Because the controlled (output) power can be higher than the controlling (input) power, a transistor can amplify a signal. Today, some transistors are packaged individually, but many more are found embedded in integrated circuits.

A diode is a semiconductor device that allows current to flow in one direction only. It is made up of a p-type semiconductor material and an n-type semiconductor material. When a voltage is applied to the diode, the current flows from the p-type material to the n-type material.

A resistor is an electrical component that resists the flow of current. It is made up of a material that has a high resistance to the flow of electrons. The resistance of a resistor is measured in ohms.