Which figure of speech is used in this text?
The hum of the computer concerned Omar. Was the problem with the power supply or the hard drive?

 - simile
 - onomatopoeia
The text uses onomatopoeia, a word that expresses a sound.
Hum represents the sound the computer was making.