Potentiometer

i am using a 10k pot... voltage source i am using is the one in the arduino... 5V port...
I would also like to know if something is faulty... voltage source isnt faulty chked it with a multimeter... any voltage i give should give a variation between 0- 1024 rite??