If you have an undergraduate degree in a field other than computer science (e.g., mathematics), you may be able to snag a teaching assistantship in another department. You'll have to do your own detective work to find such positions, however.