According to the current version of Nomenclature of Organic Chemistry – IUPAC Recommendations and Preferred Names 2013 (Blue Book), the first relevant criterion to be considered in choosing a principal chain is the length of the chain.
When there is a choice for the principal chain, the following criteria are applied, in the order listed, until a decision is reached:
P-44.4.1 If the criteria of P-44.1 through P-44.3, where applicable, do not effect a choice of a senior parent structure, the following criteria are applied successively until there are no alternatives remaining. (…)
The senior ring, ring system, or principal chain:
(a) has the greater number of multiple bonds (P-188.8.131.52);
(b) has the greater number of double bonds (P-184.108.40.206);
(h) has the lower locant for an attached group expressed as a suffix (P-220.127.116.11);
With regard to numbering of locants within the same compound class, multiple bonds have seniority over simple substituent groups (e.g. methyl, ethyl, etc.) that are used for naming of branched alkanes. When there is a choice for the locants of multiple bonds, low locants are given first to double bonds:
When several structural features appear in cyclic and acyclic compounds, low locants are assigned to them in the following decreasing order of seniority:
(i) low locants are given to hydro/dehydro prefixes (…) and ‘ene’ and ‘yne’ endings;
(ii) low locants are given first to multiple bonds as a set and then to double bonds (…);
(f) detachable alphabetized prefixes, all considered together in a series of increasing numerical order;
Note that Rule e takes precedence over Rule f.
P-18.104.22.168 The presence of one or more double or triple bonds in an otherwise saturated parent hydride (…) is denoted by changing the ending ‘ane’ of the name of a saturated parent hydride to ‘ene’ or ‘yne’. Locants as low as possible are given to multiple bonds as a set, even though this may at times give ‘yne’ endings lower locants than ‘ene’ endings. If a choice remains, preference for low locants is given to the double bonds. In names, the ending ‘ene’ always precedes ‘yne’, with elision of the final letter ‘e’ in ‘ene’. Only the lower locant for a multiple bond is cited, except when the numerical difference between the two locants is greater than one, in which case the higher locant is enclosed in parentheses.
Therefore, the preferred IUPAC names (PINs) for the examples given in the question are 3-ethylpent-1-en-4-yne and 3,3-diethynylpenta-1,4-diene, respectively.