A waveform is an identifiable sequence of samples.
If the computer program picked four numbers
between
(30000, -20000, 16000, and -5000 in the example
below), and repeated that sequence, the result might look like this:

Assuming a sampling rate of 44100 samples per second:
A ``waveform'' is a single iteration of this sequence (100 samples long, 0.002 seconds long). Repetition of this sequence produces a sound.