ASHEVILLE, N.C.  In the small trailer her family rented over the summer, 9-year-old Charity Crowell picked out the green and purple outfit she would wear on the first day of school. She vowed to try harder and bring her grades back up from the C’s she got last spring  a dismal semester when her parents lost their jobs and car and the family was evicted and migrated through friends’ houses and a motel.

Charity is one child in a national surge of homeless schoolchildren that is driven by relentless unemployment and foreclosures. The rise, to more than one million students without stable housing by last spring, has tested budget-battered school districts as they try to carry out their responsibilities  and the federal mandate  to salvage education for children whose lives are filled with insecurity and turmoil.

The instability can be ruinous to schooling, educators say, adding multiple moves and lost class time to the inherent distress of homelessness. And so in accord with federal law, the Buncombe County district, where Charity attends, provides special bus service to shelters, motels, doubled-up houses, trailer parks and RV campgrounds to help children stay in their familiar schools as the families move about.

Still, Charity said of her last semester, “I couldn’t go to sleep, I was worried about all the stuff,” and she often nodded off in class.