It appears to have 10 pins so likely a set of 8 for the segments and two more for the digit commons. You can experiment with a 3V battery to see if it's Common Anode or Common Cathode and what each of of the pins connects to.
If it is indeed a common anode, then yes you need to put at least 1 pin to 3 volts and another one to GND.You can find out what pin(s) is common by tying one pin to 3 volts and testing every other pin to GND.Make a note of what pin makes what segment light up.Because of the number of digits, segments and pins, i'm guessing that you will find a common for the first digit plus dot, another for the second one, and 8 segments/dot.Do not connect it to your Arduino pins untill you have figured out which pin does what.And if you don't have anything but 5 volts, use a resistor while testing so you won't blow up segments.Just try to keep your cool and test every possible way to connect the display.And again: make notes on every step you take.
and about the programming thing ? i saw a program somewhere while searching i guess it's a hard thing to do not as easy as the single digit at all !!