I had a friend in high school who was generally above average in intelligence, but who would have near-panic attacks on tests, especially timed tests. It's like his brain would completely shut down. He was fine in everyday situations, with the same kind of tasks to do.
