My recommendation is to do everything you're told, but only in a technical sense. But here's the thing: don't try anything like, "Well, you didn't
say I couldn't..." That is bullshit, and will not fly as amusing outside of poorly written allegories involving magic lamps. What you need to do is fulfill both the letter
and the spirit of the assignment in a way that is ridiculous. Because I have an ego only slightly smaller than VY Canis Majoris, let me tell you about an example that took advantage of this very forum!
Now, I was taking a class called Human Sexuality, which was basically filler for general education requirements, and it was at least tangentially related to my Biology major thanks to a few chapters on anatomy. Beyond this, due to the enormous enrollment (I mean, it's a class about sex taught at a college, what do you
think is going to happen), it was designed for the lowest common denominator. Our first paper assignment was to discuss how sexuality is portrayed in popular culture, by means of an example of our choice.
So, I chose Dwarf Fortress, as I was pretty enamored of it at the time. You can probably find the thread (and within it the exact text of the paper) if you search for The Making of Gimli. But the important thing is that I didn't just pick an absurd topic, I ran with it and actually fulfilled the assignment's requirements, first explaining how sexuality in Dwarf Fortress (what little there is) works, and then quietly invoking
Death of the Author to use that information to analyze how it shapes the community's views on sexual relationships, and what assumptions went into making the system that exists. Which is to say that I discussed the portrayal of sex in Dwarf Fortress (technically fulfilling the assignment) and, more importantly, explored the potential meaning of that portrayal (the actual goal of the assignment), even though Dwarf Fortress was a ridiculous topic.
Was I trolling? Yeah, pretty much. But if, in the process, I actually do what the professor wanted me to do (and earn an A in the process), then mission fucking accomplished for both of us. And I still had fun doing the mental gymnastics necessary to come to the conclusions I did.
Now, if annoying people is your
primary goal, I can't help you there. And if I could, I wouldn't - it's not very fun for me, and it wouldn't be very productive for you. Since farting loudly was one of your examples, you'll forgive me if I assume you're still quite young, but even if you're not at a stage in your education where you actually need any of these people to help you out, it's not a good habit to get into. What you really don't want to do is, without thinking, let one rip and start giggling while a professor gives the first lecture of the semester in college, and then later it turns out you needed a letter of recommendation.