The optical properties of silicon dioxide and gallium arsenide nanoparticles and the four component particles based on them were calculated by the molecular dynamics method. The complex dielectric permittiv ity, infrared and Raman spectra, refractive index, and absorption coefficient of these nano particles were deter mined. The temperature dependences of the infrared and Raman spectra and the number of the optically active electrons in the nanoparticles composed of a semiconductor and/or a dielectric were investigated.