Determination of programming status, e.g. threshold voltage, overprogramming or underprogramming, retention