I think you might be misreading the question. They are probably talking about the polarity of the bond that is at the end of the hydrocarbon. In that case, the alcohol would have the terminal hydrocarbon carbon bonded to an oxygen (a quite polar bond) while the carbonyl would have it connected to another carbon (not very polar). So while the actual carbonyl group is polar, they are not asking about the group polarity, but rather of the polarity of the bond *to* the group.
I could be wrong of course. What exactly is the question you are having trouble with?