What is the meaning of Upper_deck?

The topmost full-length deck of a ship.

To perform the upper decker prank in the cistern of (a toilet).

Source: wiktionary.org