Powering the arduino uno or Mega

Hi,

which 5V are you talking about? if you are referring to the 5V that is labelled on the board. if I am not wrong, those are actually 5V out.

What people usually do is to power the their arduino using USB or through an ac-dc power adapter (3.5mm) type?