Hovnanian Enterprises Inc. (NYSE: HOV) swung to an unexpected second quarter profit of 2 cents per share compared with a loss of 69 cents per share a year earlier as revenue climbed. Shares of the homebuilder rose 28 cents to $1.98.