HELP I'M BEING TIMED!!!!

Write a brief answer for each of the following.

How did the United States know it was going to be attacked by Japan?