In electrical and mechanical trades and manufacturing, each of a pair of mating connectors or fasteners is conventionally assigned the designation male or female. The assignment is by direct analogy with genitalia and sexual intercourse; the part bearing one or more protrusions, or which fits inside the other, being designated male and the part containing the corresponding indentations or fitting outside the other being female.
IEEE STD 100 and ANSI Y32.16 define "plug" and "jack" by location or motion, rather than gender. A connector in a fixed location is a jack, and a moveable connector is a plug. The distinction is relative, so a portable radio is considered stationary compared to the cable from the headphones; the radio has a jack, and the headphone cable has a plug. It is common practice to use female connectors for jacks, so the informal gender-based usage often agrees with the functional description of the technical standards. This is not always the case, so it is best to use "male" and "female" for gender, and "plug" and "jack" for function.
In low-voltage use, such as for data communications, this is less important, and male or female connectors are used based on other engineering factors such as convenience of use or ease of manufacturing. For example, the common "patch cables" used for Ethernet hookups (and the similar cords used for telephones) typically have plugs on both ends, to connect to jacks on equipment or mounted in walls. A device called a gender changer may be used to join two connectors of the same gender, for example, to extend one video cable with another.
The gender of a connector is determined by the structure of its primary functional components — i.e., the conductors of an electrical connector, or the load-bearing parts of a fastener — and not by secondary features such as covers, shields or handles that may be installed for environmental protection, safe operation, etc.
Some audio multicore cables are fitted with hermaphroditic multipin quick-disconnect connectors for ease of use in the field. One style of this audio signal cable is fitted on both ends with connectors that are each populated half with pins and half with sockets. The advantage to the user is that it doesn't matter which end connects to the stage and which to the audio mixer, facilitating faster set up times. Another style of connector uses hybrid male/female pins with a receiving slot fitted in the center of each two-tine pin, and relies on 90-degree rotation of the pin axes to mate. The connector housings themselves are sexed male and female.