what do dots, dashes, caps on wires indicate?
I think these patterns are printed out so that one can differentiate the individual wires at the two ends of the cable.  It's probably cheaper than using multiple colors.  If you look carefully, you'll see that many lamp cords have different texturing on one of the wires for that reason.