Four strokes.

Piston goes down, produces no power. Piston goes down, produces power. Repeat as desired.

Two strokes

Piston goes down, produces power. Repeat as desired.

Single stroke.

Piston goes down, produces power. Piston goes up, produces more power.