do alkenes have priority over alkynes?
Actually, alkenes and alkynes have the same priority. In a molecule with both alkene and alkyne, name to give the lowest possible number to whichever comes earlier on the carbon chain. If both are equidistant on the carbon chain, the priority goes to the alkene because -en- comes before -yn- alphabetically.