The initial-boundary value problem for a convection-diffusion equation ∂u ∂t + a ∂u ∂x = ∂ ∂x k(u) ∂u ∂x , (x, t) ∈ Q T , u(x, 0) = u 0 (x), 0 ≤ x ≤ l, u(0, t) = μ 1 (t), u(l, t) = μ 2 (t), 0 ≤ t ≤ T is considered. The difference scheme, approximating this problem, is constructed. It is shown that for traveling wave solutions the scheme is exact (EDS). The monotonicity of the scheme is also taken into consideration. Presented numerical experiments illustrate the theoretical results investigated in the paper.