In this article a study of the specific heat, energy fluctuation andentropy of 1D, 2D, 3D harmonic and 1D anharmonic oscillators is presented.The effect on the thermodynamic properties of considering a finite number ofthe quantum states, involved in evaluating the partiton function, is analyzed. Inthe case of the anharmonic oscillator we calculate the contribution of theanharmonicity to these properties and compare ( or contrast) with theircounterparts in the harmonic case.