Answer (D) is correct.
The simple moving-average method is a smoothing technique that uses
the experience of the past N periods (through time period t) to forecast a
value for the next period. Thus, the average includes each new
observation and discards the oldest observation. The forecast formula for
the next period (for time period t+1) is the sum of the last N observations
divided by N.