I don't know what the "default" position would be - that is, the position if nothing is said. Andrew may be right. However, the sensible course is to agree, in writing, before you start, exactly who owns the copyright to anything you take during the course. Then there's no chance of dispute.
Jeremy