Find the IUPAC name of the above structure.
This question was asked in my Chemistry exam. I could not figure out whether it is a ketone or an ester. My attempts:
1.If i consider the whole compound as an ester then part to the left of C-O-C is the acid part and the part to the right is the alcohol part. Thus the IUPAC name is:
Ethyl 4,5-dibromoheptan-2-one-6-oate
2.If the consider the part to the left of C-O-C as ketone and the part to the right as ester then IUPAC name comes out to be:
4,5-dibromopentan-2-one Ethyl Methanoate
Is any of my attempts correct and if not then why not?