logic gates "sample" - Search