A novel frequency encoded all optical logic gates are proposed exploiting multiphoton processes in non linear optical medium. In the frequency encoding of the information the '0' is represented by a frequency ω and '1' is represented by another frequency 2 ω. The gates proposed are NOT, OR, AND, NAND and NOR among which NAND and NOR are universal. Using these gates one can generate other important gates and logical function generating all optical devices. Two main three-photon processes, second harmonic generation (SHG) and parametric light generation (PLG) are used to implement the gates and the corresponding appropriate non linear material is LiB 3 O 5 (LBO) which has wide operating and transparency range in the wavelength 350-3,200 nm. The source of optical frequency encoded signal may be derived from an external cavity diode laser generating a wavelength 1,560 nm for ω ('0' state of information) and its second harmonic 780 nm for 2 ω ('1' state of information).