An experimental study in computer programming class