Nomenclature of organic molecules with more than one functional group I need some help naming compounds with more than one functional group based on their priority order. Here are some examples:

A 4-membered carbon chain with an aldehyde at one end and a ketone right next to the aldehyde
A 4-membered carbon chain with an aldehyde at one end, and the ketone and aldehyde having 1 carbon in between.
A 5-membered carbon chain with a $\ce{C=C}$ double bond at carbon number 2  and a $\ce{C#C}$ triple bond at $\ce{C}_4$ (maybe it is the reverse)

I think that for the one with a double bond and a triple bond, the triple bond gets higher priority and so it would be pent-4-en-2-yne but I am not sure about it.
There are some priority rules about naming compounds with more than 1 functional group.


Aldehyde has higher priority than ketone (I don't know why but I think it is because of aldehyde always take place at the end of carbon chain)
Alkene has higher priority than alkyne, because -ene suffix comes before -yne


So the answer for your question is:


2-oxobutanal
3-oxobutanal
pent-1-en-4-yne