Explanation:
According to Bronsted-Lowry an acid is defined as the specie which is able to donate hydrogen ions when dissolved in water.
For example, [tex]HCl \rightarrow H^{+} + Cl^{-}[/tex]
On the other hand, bases are the species which are able to donate hydroxide ions when dissolved in water.
For example, [tex]NaOH \rightarrow Na^{+} + OH^{-}[/tex]
A specie which is able to accept a hydrogen atom and also able to donate a hydroxide ion will act as both acid and a base.
For example, [tex]CH_{3}CH_{2}OH[/tex] is able to donate a hydroxide ion and simultaneously can accept a hydrogen ion.
In [tex]CH_3CH_2CH_2CH_3[/tex], the hydrogen atoms are strongly held together by the carbon atoms due to the small electronegativity difference between carbon and hydrogen atom. Hence, it will be a weak acid.
On the other hand, [tex]CH_3CO_2CH_3[/tex] can loose a hydrogen atom or it can also gain a hydroxyl group. This is due to the electronegativity difference between oxygen and hydrogen atom.
Thus, we can conclude that following compounds are classified as follows.