What is the name for evoking an answer that's a trick on the responder?

Mister Mxyzptlk was a trickster who tormented Superman. Although the rules eventually changed, the only way that Superman could send Mister Mxyzptlk back to the fifth dimension was to trick him into saying his name (Mxyzptlk) backwards (Kltpzyxm - "kel-tip-zix-um"). Superman was usually successful. Tricking someone into saying something inadvertently is a common strategy of several childhood jokes. "What are the first letters of the words Iggy's cat uses paper?" "Uh, I, c, u, p." "No, you don't!" A recent question on ELU used a variation on the scheme and was promptly sent into purgatory. Is there a name for this kind of verbal trick?


How about trick question? From Cambridge:

trick question: a question that makes you believe you should answer it in a particular way, when the real question is hidden or there is no right answer

If a trick question is not a question that "evokes an answer that's a trick on the responder," I don't know what would be.