I asked this sentence to one of my friends and apparently this sentence is missing the article "die" before "Katze". Also if you want to ask "Do you like cats?" in a general way, it's "Magst du Katzen?"
This is wrong... it does not say: Magst du die Katze....
Why the translation contains an article ("the cat") while there isn't any in the original text?
This is correct if it concerns eating cat