Semiconducting nanoparticles offer a versatile platform for various logic devices. Wide band gap semiconductors modified with molecular species are materials with unique optical and electronic properties. The most intriguing property of such systems is photoelectrochemical photocurrent switching (PEPS) effect. The polarity of photocurrent generated within these materials depends on many variables (light, electrode polarization, redox processes). Materials showing the PEPS effect can be used for construction of simple logic gates and other devices.