It's fairly simple in most situations. If it doesn't involve a computer, it's handwritten in class. If it does involve a computer, it's a temporarily offline computer. We have figured out solutions to these problems already.
You forgot “no homework that counts, or a prison- or monastery-like environment where you have no access to any of these technologies for the length of academic term”. No, humans have not ever had a similar problem before, and also some of the solutions to various problems that we have figured out in our past are no longer considered reasonable today.