Hi William:
Speaking extemporaneously is a skill many teachers have developed quite well - and in a situation when that skill is called into action, they're ready.
When instructors are in class sessions that last for say, 3, 4, or 5 hours at a time, obviously a more comprehensive back up plan will be needed.
Regards, Barry