Dipole moments , static electric polarizabilities ␣, and hyperpolarizabilities  of formaldehyde, thioformaldehyde, urea, formamide, and thioformamide have been evaluated in the DFT and post-HF approximations. Within the DFT, the family of HCTH and hybrid functionals (B3LYP, B97-1) have been adopted. The qualitative and quantitative performance of both functional types have been examined by confrontation with the CCSD(T) method. The DFT model appears to be adequate for dipole moments and polarizabilities, while the hyperpolarizabilities are exaggerated, especially  yyy (too negative) and  zzz (too positive) components. The replacement of oxygen by sulfur reduces the DFT hyperpolarizability, which contradicts an increase predicted with the post-HF approach. HCTH dipole moments in majority of cases are in better agreement with the CCSD(T) estimates than are the hybrid functionals. On the other hand, the hybrid functionals perform slightly better for polarizability and hyperpolarizability evaluations. The effects of basis set size with augcc-pVXZ (X ϭ D, T, Q) on the electric properties have also been studied. The sensitivity of the electric properties to the basis set effects increases from the dipole moment to the hyperpolarizability. The axial ␣ zz and  zzz components display smaller sensitivity to the basis set extension. The carbonyl/thiocarbonyl containing molecules are characterized by negative/positive sign of hyperpolarizability vector projection into the dipole moment direction.