The display is only sensible if the binary number is between DCBA=0000 (0) and DCBA=1001 (9); this is called Binary Coded Decimal or BCD for short. If the number is larger than 9 you get a strange output on the display. Try this out by moving your mouse over the truth table.
The inputs
/
,
and
are usually connected to 5v
[pin 3],
/
[pin 4] and
[pin 5] to 5v.
[pins 9-15] to abcdefg on the common anode 7-segment display.