SEATTLE -- In the days leading up to this semester's final exam in Computer Programming 1 at the University of Washington, students spent hours studying over their laptops, while their teacher was slaving over a hot oven.

"I just love this," said Stuart Reges. "I think Toll House should hire me."

For the past two days when he hasn't been teaching his class, Reges has been home baking handmade chocolate chip cookies.

"This recipe calls for 25 pounds of flour, 27 pounds of sugar, 7 dozen eggs and 54 sticks of butter," he said from his North Seattle kitchen.

Stuart has been baking since he was a boy in middle school. He carried his craft to Stanford in 1991 where, as a young lecturer, he baked cookies for the class. There were about 20 students back then. When he got to UW, he had ended the tradition.

"I mean they're gigantic classes here," he said. "I was like, I can't make cookies for a class like this!"

But he can. And on Wednesday he did.

Inspired by one of his old Stanford students who recently called him and asked for the recipe, Reges started making cookies for his class once again.

Just before Wednesday's exam, Reges delivered more than 1,000 cookies to the 960 students in his class. Every single one of them made by him, from scratch.

"It's definitely weird to see something like this in such a huge class," said junior Philip Walczak.

"It's really cool, a nice little gesture," said freshman Jacob Gross. "It's the end of the quarter, here's a little treat!"

Students say while the course was hard, the cookies were soft and chewy. Proof that even when it comes to computers, some "cookies" should never be deleted.

"These are the good cookies," said Reges. "The ones we really like."

And if you think Reges has created his own "Cookie Monster" by baking for so many students every few months, you'd be right. But he says he has no plans to stop.