An exclamation of surprise typically expressing fear or dismay.
Shaggy sees the ghost coming toward him, shouts “Zoiks”, and runs the other direction.
Zoiks: define #2
To described something in the superlative form.
All was said was “zoiks” as the beautiful girl walked by.