Answer:
The white notes E -> F and B -> C are a semitone apart. They do not require accidentals when present in any key in which those particular notes are not altered in the key signature, but do require accidentals if the corresponding notes in the key signature automatically raise or lower them by a semitone accordingly.