The output of a two input NOR gate is 1 when:
A is 1 and B is 0
A is 0 and B is 1
Both a and b are 0
Both a and b are 1
The presence of fish by the other fish can be detected by:
Magnetic field
Electric field
Gravitational field
All of above