ITHACA, N.Y. — All weekend, Cornell University’s residential advisers knocked on dorm rooms to inquire how students were coping.

On Monday and Tuesday, the start of a stressful exam week before spring break, professors interrupted classes to tell students they cared for them not just academically, but personally. Both days, the university president, Dr. David J. Skorton, took out a full-page ad in the campus paper, The Cornell Daily Sun, saying: “Your well-being is the foundation on which your success is built. If you learn anything at Cornell, please learn to ask for help.”

The university is on high alert about the mental health of its students after the apparent suicides of three of them in less than a month in the deep gorges rending the campus. The deaths, two on successive days last week, have cast a pall over the university and revived talk of Cornell’s reputation — unsupported, say officials — as a high-stress “suicide school.”

“I think everybody’s kind of shaken. I know I am,” said Nicole Wagner, a 19-year-old freshman from Newport Beach, Calif. “I wanted to go home.”