Complex sentence: The "gender" of a connector is determined by its physical appearance: if pins protrude from the base of the connector, the connector is male; otherwise, if the connector has holes to accept the pins, the connector is female.
Split into simpler sentences: The "gender" of a connector is determined by its physical appearance. If the connector has holes to accept the pins, the connector is female.