

Depends what the grade structure is like, in my one college CS class homework could probably have been GPT’d (didn’t exist yet) but tests were 75% of your grade and were handwritten in a proctored hall. Mostly they involved pseudocode and showing knowledge of data structures and algorithms rather than specific coding requirements. That couldn’t be GPT’d, at least not with competent proctors and a time limit, so you couldn’t pass without some competence even if the specific coding syntax went over your head.

Supernote is an eNotebook and is writing focused rather than book focused, but it uses a stripped down fork of android and you can easily side load other android apps onto it including e.g. F-droid. You can use it without an account and with no network connectivity (loading content via USB), or your choice of cloud providers, including recently self-hosted storage.
I mostly read library books so unfortunately I have to go through Kindle, but you can use the Kindle app on the device and it works pretty well. Not as many features as a dedicated device, but the basics work great.
Major caveat: it’s not backlit so you need a book light/lamp/headlamp, which is a big pain.