Scattering by a one-dimensional potential V=V(x) which is constant outside (-a, a) (a>0) is investigated. Exact expressions for the transmission and reflection coefficients are obtained in terms of f0(a), f1(a), f'O(a) and f'1(a), where f0 and f1 are the solutions in (-a, a) satisfying the boundary conditions f0(-a)=1, f0'(-a)=0, f1(-a)=0 and f1'(-a)=1. These expressions are used to show that the first-order WKB approximation conserves particles. Numerical results are obtained from these expressions for the transmission and reflection probabilities by (i) using the WKB formulae and (ii) solving the time-independent Schrodinger equation numerically in (-a, a). The time T for the centre of a wavepacket to traverse the interval (-a, a) is also obtained in terms of f0(a), f1(a), f0'(a) and f1'(a), and some of its properties studied. In particular, it is shown that T takes the classical form in the classical limit.