Hand written is unnecessary, just ban/confiscate phones and restrict internet access if the test needs a computer.
good, this will make using local llms impossible on said computer