My cat sneezed, farted and during the fat squirted out some poop... has ne one elses cat done this?

my cat which i know has worms (tape worms i think...yes yes hes going to the vet in the morning) was sitting in the LR earlier sneezed and at the same time as he was sneezing he kinda pooped on the carpet...lovely i know...could this be from the worms?
4 answers 4