timing diagram of and gate - Search